Skip to content

Commit ca8a64a

Browse files
authored
[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.
1 parent 22957e4 commit ca8a64a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,7 @@ else()
576576
target_link_options(
577577
${PROJECT_NAME}
578578
PRIVATE
579+
/PROFILE
579580
/wholearchive:$<TARGET_FILE:zip>
580581
)
581582
endif()

0 commit comments

Comments
 (0)