mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 01:14:15 +00:00
[CMAKE] Introduce the atl_classes interface library
This takes care of adding the relvant include directory and the _ATL_NO_EXCEPTIONS define, if needed
This commit is contained in:
parent
8b28f8d9ba
commit
907025a018
36 changed files with 62 additions and 172 deletions
|
@ -1,4 +1,5 @@
|
|||
|
||||
add_subdirectory(atl)
|
||||
add_subdirectory(cmlib)
|
||||
add_subdirectory(inflib)
|
||||
|
||||
|
|
8
sdk/lib/atl/CMakeLists.txt
Normal file
8
sdk/lib/atl/CMakeLists.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
|
||||
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>")
|
Loading…
Add table
Add a link
Reference in a new issue