1 2add_library(atl_classes INTERFACE) 3 4target_include_directories(atl_classes INTERFACE 5 $<$<COMPILE_LANGUAGE:CXX>:${CMAKE_CURRENT_SOURCE_DIR}>) 6 7target_compile_definitions(atl_classes INTERFACE 8 "$<$<AND:$<COMPILE_LANGUAGE:CXX>,$<NOT:$<BOOL:$<TARGET_PROPERTY:WITH_CXX_EXCEPTIONS>>>>:_ATL_NO_EXCEPTIONS>") 9