2022-08-05 01:59:19 -04:00
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/Default.cmake")
|
|
|
|
|
|
|
|
set_config_specific_property("OUTPUT_DIRECTORY" "${CMAKE_SOURCE_DIR}$<$<NOT:$<STREQUAL:${CMAKE_VS_PLATFORM_NAME},Win32>>:/${CMAKE_VS_PLATFORM_NAME}>/${PROPS_CONFIG}")
|
|
|
|
|
|
|
|
if(MSVC)
|
|
|
|
create_property_reader("DEFAULT_CXX_EXCEPTION_HANDLING")
|
|
|
|
create_property_reader("DEFAULT_CXX_DEBUG_INFORMATION_FORMAT")
|
|
|
|
|
|
|
|
set_target_properties("${PROPS_TARGET}" PROPERTIES MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
|
|
|
|
set_config_specific_property("DEFAULT_CXX_EXCEPTION_HANDLING" "/EHsc")
|
2024-02-02 00:11:31 -05:00
|
|
|
if (CMAKE_C_COMPILER_LAUNCHER MATCHES "ccache|sccache")
|
|
|
|
set_config_specific_property("DEFAULT_CXX_DEBUG_INFORMATION_FORMAT" "/Z7")
|
|
|
|
else()
|
|
|
|
set_config_specific_property("DEFAULT_CXX_DEBUG_INFORMATION_FORMAT" "/Zi")
|
|
|
|
endif()
|
2022-08-05 01:59:19 -04:00
|
|
|
endif()
|