Files
jami-daemon/CMake/DefaultCXX.cmake
Ming Rui Zhang 7d2e5506cf project: use cmake to generate ring-daemon vcxproj
Change-Id: Ib1d736c241849415eaef957c9e6565e78cda45f1
2019-12-31 15:36:16 -05:00

16 lines
789 B
CMake

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_DEBUG_RUNTIME_LIBRARY")
create_property_reader("DEFAULT_CXX_RUNTIME_LIBRARY")
create_property_reader("DEFAULT_CXX_EXCEPTION_HANDLING")
create_property_reader("DEFAULT_CXX_DEBUG_INFORMATION_FORMAT")
set_config_specific_property("DEFAULT_CXX_DEBUG_RUNTIME_LIBRARY" "/MDd")
set_config_specific_property("DEFAULT_CXX_RUNTIME_LIBRARY" "/MD")
set_config_specific_property("DEFAULT_CXX_EXCEPTION_HANDLING" "/EHsc")
set_config_specific_property("DEFAULT_CXX_DEBUG_INFORMATION_FORMAT" "/Zi")
endif()