mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00

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>")
|