1 2add_library(atl_classes INTERFACE) 3if(DBG) 4 #target_compile_definitions(atl_classes INTERFACE _DEBUG) # HACK & FIXME: CORE-17505 5endif() 6 7target_include_directories(atl_classes INTERFACE 8 $<$<COMPILE_LANGUAGE:CXX>:${CMAKE_CURRENT_SOURCE_DIR}>) 9 10target_compile_definitions(atl_classes INTERFACE 11 "$<$<AND:$<COMPILE_LANGUAGE:CXX>,$<NOT:$<BOOL:$<TARGET_PROPERTY:WITH_CXX_EXCEPTIONS>>>>:_ATL_NO_EXCEPTIONS>") 12 13target_link_libraries(atl_classes INTERFACE pseh) 14