mirror of
https://github.com/reactos/reactos.git
synced 2024-11-18 13:01:40 +00:00
907025a018
This takes care of adding the relvant include directory and the _ATL_NO_EXCEPTIONS define, if needed
8 lines
310 B
CMake
8 lines
310 B
CMake
|
|
add_library(atl_classes INTERFACE)
|
|
|
|
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>")
|