list(APPEND LLVM_COMPILE_DEFINITIONS _HAS_EXCEPTIONS=0)
list(APPEND LLVM_COMPILE_FLAGS "/EHs-c-")
endif()
- if (CLANG_CL)
- # FIXME: Remove this once clang-cl supports SEH
- list(APPEND LLVM_COMPILE_DEFINITIONS "GTEST_HAS_SEH=0")
- endif()
endif()
# LLVM_REQUIRES_RTTI is an internal flag that individual
set(component ${name})
endif()
+ set(full_name ${name}${CMAKE_EXECUTABLE_SUFFIX})
+ set(full_dest ${dest}${CMAKE_EXECUTABLE_SUFFIX})
+
install(SCRIPT ${INSTALL_SYMLINK}
- CODE "install_symlink(${name} ${dest})"
+ CODE "install_symlink(${full_name} ${full_dest} bin)"
COMPONENT ${component})
if (NOT CMAKE_CONFIGURATION_TYPES AND NOT ARG_ALWAYS_GENERATE)