Sign in
fuchsia
/
third_party
/
github.com
/
Kitware
/
CMake
/
a0d8556bf7600a11e7ead052d926ab5884256d09
/
.
/
Tests
/
RunCMake
/
VS10Project
/
VsControlFlowGuardLinkSetting.cmake
blob: 31e69acd3770f74b034ce80143327fafb6baa9ab [
file
] [
log
] [
blame
]
enable_language
(
CXX
)
# Add the Control Flow Guard compiler and linker option
add_compile_options
(
"/guard:cf"
)
string
(
APPEND CMAKE_SHARED_LINKER_FLAGS
" /guard:cf"
)
add_library
(
ControlFlowGuardProject
SHARED foo
.
cpp
)