Skip to content

Commit

Permalink
[CMake] Add /PROFILE to MSVC link flags (#134)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pjcollins authored Feb 13, 2024
1 parent 22957e4 commit ca8a64a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,7 @@ else()
target_link_options(
${PROJECT_NAME}
PRIVATE
/PROFILE
/wholearchive:$<TARGET_FILE:zip>
)
endif()
Expand Down

0 comments on commit ca8a64a

Please sign in to comment.