vcpkg/scripts/cmake
Max Khon 7534d241b0
[vcpkg] z_vcpkg_get_cmake_vars(): Use build-type-specific cache variable if VCPKG_BUILD_TYPE is defined (#22461)
* z_vcpkg_get_cmake_vars(): Use build-type-specific cache variable
if VCPKG_BUILD_TYPE is defined

Some ports (e.g. gettext) execute debug and release builds manually
(with different options). If a globally cached copy of cmake vars file
is used, the second build type has no cmake vars defined (e.g. CFLAGS is empty)
because generated and globally cached cmake vars file includes only cmake vars
for the first build type

* Apply suggestions from code review

Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>

Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>
2022-01-11 15:28:43 -08:00
..
execute_process.cmake [rollup:2021-07-06] Rollup PR (#18838) 2021-07-14 12:45:18 -07:00
vcpkg_acquire_msys.cmake [tensorflow-common] remove single quotes from vcpkg flags (#21869) 2021-12-17 13:22:50 -05:00
vcpkg_add_to_path.cmake [scripts-audit] vcpkg_fixup_pkgconfig (#19658) 2021-09-27 13:27:44 -07:00
vcpkg_apply_patches.cmake [docs] link to new functions in deprecated warnings (#17179) 2021-05-09 10:47:21 -07:00
vcpkg_backup_restore_env_vars.cmake [scripts-audit] Make buildsystem (#20165) 2021-10-20 14:12:58 -07:00
vcpkg_build_cmake.cmake [scripts-audit] CMake buildsystem (#20885) 2021-11-05 16:55:14 -07:00
vcpkg_build_make.cmake [vcpkg|scripts] correctly restore env vars (#22313) 2022-01-04 20:00:21 -08:00
vcpkg_build_msbuild.cmake [scripts-audit] simple msbuild-buildsystem changes (#17779) 2021-05-17 11:08:42 -07:00
vcpkg_build_ninja.cmake [rollup] Rollup PR 2021-07-16 (#19001) 2021-07-20 10:24:58 -07:00
vcpkg_build_nmake.cmake Pass native install dir to nmake (#22095) 2021-12-20 11:34:01 -05:00
vcpkg_build_qmake.cmake [qmake] Check build type for debug/release (#21650) 2021-11-26 01:16:15 -08:00
vcpkg_buildpath_length_warning.cmake [scripts-audit] vcpkg_buildpath_length_warning (#16191) 2021-02-15 12:26:56 -08:00
vcpkg_check_features.cmake [scripts-audit] Rollup PR 2021-02-26 (#16440) 2021-02-28 13:17:19 -08:00
vcpkg_check_linkage.cmake [rollup] 2021-07-26 (#19157) 2021-07-29 09:47:35 -07:00
vcpkg_clean_executables_in_bin.cmake [rollup] 2021-07-26 (#19157) 2021-07-29 09:47:35 -07:00
vcpkg_clean_msbuild.cmake [rollup:2021-07-06] Rollup PR (#18838) 2021-07-14 12:45:18 -07:00
vcpkg_common_definitions.cmake [vcpkg_copy_tools] support copying .app bundles (#20210) 2021-10-04 12:40:14 -07:00
vcpkg_common_functions.cmake [scripts audit] ports.cmake (#16257) 2021-02-18 14:27:41 -08:00
vcpkg_configure_cmake.cmake [scripts-audit] CMake buildsystem (#20885) 2021-11-05 16:55:14 -07:00
vcpkg_configure_gn.cmake [vcpkg-gn] New port vcpkg-gn (#21498) 2021-11-29 11:42:39 -08:00
vcpkg_configure_make.cmake [vcpkg] Always use an autotools build triplet (#18130) 2021-11-03 21:29:29 -07:00
vcpkg_configure_meson.cmake [meson] fix windows linker detection (#22032) 2021-12-16 22:47:16 -08:00
vcpkg_configure_qmake.cmake [scripts-audit] QMake buildsystem (#20322) 2021-11-05 16:55:23 -07:00
vcpkg_copy_pdbs.cmake [vcpkg-cmake] Fix vcpkg_copy_pdbs false alarm (#19369) 2021-08-10 10:00:29 -07:00
vcpkg_copy_tool_dependencies.cmake [vcpkg] Revise appdeploy and copy_tool_dependencies (#21092) 2021-11-14 08:48:05 -08:00
vcpkg_copy_tools.cmake [Docs] vcpkg_copy_tools cleans only copied tools (#20940) 2021-10-26 23:44:43 -07:00
vcpkg_download_distfile.cmake [vcpkg_download_distfile] Fix the parameter mismatch issues of some internal functions and fix the recursive call (step 3) (#20585) 2021-11-25 23:21:00 -08:00
vcpkg_execute_build_process.cmake [vcpkg_execute_build_process] Catch ld signal 9 (#22417) 2022-01-11 14:29:24 -08:00
vcpkg_execute_in_download_mode.cmake [rollup:2021-07-06] Rollup PR (#18838) 2021-07-14 12:45:18 -07:00
vcpkg_execute_required_process_repeat.cmake [rollup:2021-07-06] Rollup PR (#18838) 2021-07-14 12:45:18 -07:00
vcpkg_execute_required_process.cmake [rollup:2021-07-06] Rollup PR (#18838) 2021-07-14 12:45:18 -07:00
vcpkg_extract_source_archive_ex.cmake [rollup:2021-07-06] Rollup PR (#18838) 2021-07-14 12:45:18 -07:00
vcpkg_extract_source_archive.cmake [rollup:2021-07-06] Rollup PR (#18838) 2021-07-14 12:45:18 -07:00
vcpkg_fail_port_install.cmake [vcpkg_fail_port_install] add a warning about extra args when ALWAYS is passed (#20314) 2021-12-28 14:43:05 -08:00
vcpkg_find_acquire_program.cmake [tensorflow] update to 2.7, including bazel latest 4.x update (#22022) 2021-12-15 10:09:54 -08:00
vcpkg_find_fortran.cmake [rollup:2021-08-09] Rollup PR (#19469) 2021-08-16 13:42:31 -07:00
vcpkg_fixup_cmake_targets.cmake [vcpkg-cmake-config] Fix parsing of NO_PREFIX_CORRECTION (#21062) 2021-11-08 21:29:35 -08:00
vcpkg_fixup_pkgconfig.cmake [scripts-audit] vcpkg_fixup_pkgconfig (#19658) 2021-09-27 13:27:44 -07:00
vcpkg_from_bitbucket.cmake CMake command docs say to use 0 for missing SHA512 (#18611) 2021-07-16 00:17:19 -07:00
vcpkg_from_git.cmake Fix working directory for archiving from git. (#21166) 2021-11-25 23:22:17 -08:00
vcpkg_from_github.cmake [docs] document that vcpkg_from_github works with Gitea (#21318) 2021-11-22 15:14:23 -08:00
vcpkg_from_gitlab.cmake CMake command docs say to use 0 for missing SHA512 (#18611) 2021-07-16 00:17:19 -07:00
vcpkg_from_sourceforge.cmake CMake command docs say to use 0 for missing SHA512 (#18611) 2021-07-16 00:17:19 -07:00
vcpkg_get_program_files_platform_bitness.cmake [rollup] Rollup PR 2021-07-16 (#19001) 2021-07-20 10:24:58 -07:00
vcpkg_get_windows_sdk.cmake [rollup] Rollup PR 2021-07-16 (#19001) 2021-07-20 10:24:58 -07:00
vcpkg_host_path_list.cmake [vcpkg_host_path_list] add SET subcommand (#20879) 2021-11-03 21:42:05 -07:00
vcpkg_install_cmake.cmake [scripts-audit] CMake buildsystem (#20885) 2021-11-05 16:55:14 -07:00
vcpkg_install_gn.cmake [vcpkg-gn] New port vcpkg-gn (#21498) 2021-11-29 11:42:39 -08:00
vcpkg_install_make.cmake [scripts-audit] Make buildsystem (#20165) 2021-10-20 14:12:58 -07:00
vcpkg_install_meson.cmake [script audit] Meson buildsystem (#21026) 2021-11-08 12:27:18 -08:00
vcpkg_install_msbuild.cmake [vcpkg/msbuild] parellel build (#19718) 2021-09-30 16:39:14 -07:00
vcpkg_install_nmake.cmake [scripts-audit] nmake buildsystem (#20987) 2021-11-05 16:55:01 -07:00
vcpkg_install_qmake.cmake [scripts-audit] QMake buildsystem (#20322) 2021-11-05 16:55:23 -07:00
vcpkg_list.cmake [rollup] Rollup PR 2021-07-16 (#19001) 2021-07-20 10:24:58 -07:00
vcpkg_minimum_required.cmake [vcpkg_minimum_required] fix, add unit tests (#19257) 2021-07-30 12:57:07 -07:00
vcpkg_replace_string.cmake [rollup] Rollup PR 2021-07-16 (#19001) 2021-07-20 10:24:58 -07:00
vcpkg_test_cmake.cmake [scripts audit] ports.cmake (#16257) 2021-02-18 14:27:41 -08:00
z_vcpkg_apply_patches.cmake [scripts-audit] Rollup 2021-05-21 (#18112) 2021-05-26 13:40:48 -07:00
z_vcpkg_escape_regex_control_characters.cmake [scripts-audit] Rollup 2021-05-21 (#18112) 2021-05-26 13:40:48 -07:00
z_vcpkg_forward_output_variable.cmake [rollup:2021-07-06] Rollup PR (#18838) 2021-07-14 12:45:18 -07:00
z_vcpkg_function_arguments.cmake [rollup] Rollup PR 2021-07-16 (#19001) 2021-07-20 10:24:58 -07:00
z_vcpkg_get_cmake_vars.cmake [vcpkg] z_vcpkg_get_cmake_vars(): Use build-type-specific cache variable if VCPKG_BUILD_TYPE is defined (#22461) 2022-01-11 15:28:43 -08:00
z_vcpkg_prettify_command_line.cmake [z_vcpkg_prettify_command_line] write to output variable (#16195) 2021-02-12 17:53:17 -08:00