mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 00:45:24 +00:00

We are not ready for enabling ATLASSERT. Enabling ATL assertions takes time to realize. CORE-17505 - Disable ATLASSERT by undefining _DEBUG. - Revert currently non-fixable codes.
11 lines
415 B
CMake
11 lines
415 B
CMake
|
|
add_library(atl_classes INTERFACE)
|
|
if(DBG)
|
|
#target_compile_definitions(atl_classes INTERFACE _DEBUG) # HACK & FIXME: CORE-17505
|
|
endif()
|
|
|
|
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>")
|