[APPHELP_APITEST] Disable exceptions in atl when compiling without exceptions
authorMark Jansen <mark.jansen@reactos.org>
Tue, 16 Apr 2019 20:49:55 +0000 (22:49 +0200)
committerMark Jansen <mark.jansen@reactos.org>
Thu, 18 Apr 2019 17:21:38 +0000 (19:21 +0200)
modules/rostests/apitests/apphelp/CMakeLists.txt

index 40da34c..5a17d8c 100644 (file)
@@ -1,5 +1,12 @@
 project(appcompat)
-add_definitions(-D__ROS_LONG64__ -DWINETEST_USE_DBGSTR_LONGLONG -DUNICODE -D_UNICODE)
+
+add_definitions(
+    -D__ROS_LONG64__
+    -DWINETEST_USE_DBGSTR_LONGLONG
+    -DUNICODE
+    -D_UNICODE
+    -D_ATL_NO_EXCEPTIONS)
+
 set_cpp(WITH_RUNTIME)
 
 include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/atl