From ca8a64a1d2794dac66ae784a80be2029ccb5fe60 Mon Sep 17 00:00:00 2001 From: Peter Collins Date: Tue, 13 Feb 2024 01:14:08 -0800 Subject: [PATCH] [CMake] Add /PROFILE to MSVC link flags (#134) Context: https://eng.ms/docs/products/apiscan/howto/preparinginput/binaries/creating_vulcan_ready_files Adds the /PROFILE flag to appease API Scan and produce "vulcan ready" files. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index d75d7b3..f1d5c5d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -576,6 +576,7 @@ else() target_link_options( ${PROJECT_NAME} PRIVATE + /PROFILE /wholearchive:$ ) endif()