2020-09-18 09:08:58 +00:00
|
|
|
|
|
|
|
add_library(atl_classes INTERFACE)
|
2021-03-10 13:59:13 +00:00
|
|
|
if(DBG)
|
2021-03-11 11:26:45 +00:00
|
|
|
#target_compile_definitions(atl_classes INTERFACE _DEBUG) # HACK & FIXME: CORE-17505
|
2021-03-10 23:38:04 +00:00
|
|
|
endif()
|
2020-09-18 09:08:58 +00: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 15:28:52 +00:00
|
|
|
|
|
|
|
target_link_libraries(atl_classes INTERFACE pseh)
|