For example, update usages of vcpkg_configure_cmakethis for all the portfiles:
|
vcpkg_configure_cmake( |
|
SOURCE_PATH ${SOURCE_PATH}/sdk/core/azure-core/ |
|
PREFER_NINJA |
|
OPTIONS |
|
${FEATURE_OPTIONS} |
|
-DWARNINGS_AS_ERRORS=OFF |
|
) |
For the deprecated function, can you update it as the new function vcpkg_cmake_configure() automatically?
Please see the reference here https://github.com/microsoft/vcpkg/blob/master/docs/maintainers/vcpkg_configure_cmake.md
Other related functions are also deprecated, such as vcpkg_install_cmake, vcpkg_fixup_cmake_targets().
We prefer to use the new functions in new ports.
Originally posted by @NancyLi1013 in microsoft/vcpkg#17143 (comment)
cc @antkmsft
For example, update usages of
vcpkg_configure_cmakethis for all the portfiles:azure-sdk-for-cpp/sdk/core/azure-core/vcpkg/portfile.cmake
Lines 18 to 24 in cf071db
For the deprecated function, can you update it as the new function
vcpkg_cmake_configure()automatically?Please see the reference here https://github.com/microsoft/vcpkg/blob/master/docs/maintainers/vcpkg_configure_cmake.md
Other related functions are also deprecated, such as
vcpkg_install_cmake,vcpkg_fixup_cmake_targets().We prefer to use the new functions in new ports.
Originally posted by @NancyLi1013 in microsoft/vcpkg#17143 (comment)
cc @antkmsft