DefaultCXX.cmake 640 B

123456789101112
  1. include("${CMAKE_CURRENT_LIST_DIR}/Default.cmake")
  2. set_config_specific_property("OUTPUT_DIRECTORY" "${CMAKE_SOURCE_DIR}$<$<NOT:$<STREQUAL:${CMAKE_VS_PLATFORM_NAME},Win32>>:/${CMAKE_VS_PLATFORM_NAME}>/${PROPS_CONFIG}")
  3. if(MSVC)
  4. create_property_reader("DEFAULT_CXX_EXCEPTION_HANDLING")
  5. create_property_reader("DEFAULT_CXX_DEBUG_INFORMATION_FORMAT")
  6. set_target_properties("${PROPS_TARGET}" PROPERTIES MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
  7. set_config_specific_property("DEFAULT_CXX_EXCEPTION_HANDLING" "/EHsc")
  8. set_config_specific_property("DEFAULT_CXX_DEBUG_INFORMATION_FORMAT" "/Zi")
  9. endif()