2020-09-18 11:08:58 +02:00
|
|
|
|
|
|
|
add_library(atl_classes INTERFACE)
|
2021-03-10 22:59:13 +09:00
|
|
|
if(DBG)
|
2021-03-11 20:26:45 +09:00
|
|
|
#target_compile_definitions(atl_classes INTERFACE _DEBUG) # HACK & FIXME: CORE-17505
|
2021-03-11 00:38:04 +01:00
|
|
|
endif()
|
2020-09-18 11:08:58 +02:00
|
|
|
|
|
|
|
target_include_directories(atl_classes INTERFACE
|
|
|
|
$<$<COMPILE_LANGUAGE:CXX>:${CMAKE_CURRENT_SOURCE_DIR}>)
|
|
|
|
|
|
|
|
target_compile_definitions(atl_classes INTERFACE
|
|
|
|
"$<$<AND:$<COMPILE_LANGUAGE:CXX>,$<NOT:$<BOOL:$<TARGET_PROPERTY:WITH_CXX_EXCEPTIONS>>>>:_ATL_NO_EXCEPTIONS>")
|
2021-04-22 17:28:52 +02:00
|
|
|
|
|
|
|
target_link_libraries(atl_classes INTERFACE pseh)
|