https://git.reactos.org/?p=reactos.git;a=commitdiff;h=0f60294c56ca6a25236fd…
commit 0f60294c56ca6a25236fdf3c01ff80d9c4d68860
Author: Mark Jansen <mark.jansen(a)reactos.org>
AuthorDate: Tue Apr 16 22:49:55 2019 +0200
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Thu Apr 18 19:21:38 2019 +0200
[APPHELP_APITEST] Disable exceptions in atl when compiling without exceptions
---
modules/rostests/apitests/apphelp/CMakeLists.txt | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/modules/rostests/apitests/apphelp/CMakeLists.txt
b/modules/rostests/apitests/apphelp/CMakeLists.txt
index 40da34c905..5a17d8cbfe 100644
--- a/modules/rostests/apitests/apphelp/CMakeLists.txt
+++ b/modules/rostests/apitests/apphelp/CMakeLists.txt
@@ -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