[CRT] Remove useless #undef abort from process.h
[reactos.git] / modules / rostests / winetests / ntdll / CMakeLists.txt
1
2 include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
3 add_definitions(-D__WINESRC__ -DWINETEST_USE_DBGSTR_LONGLONG)
4
5 list(APPEND SOURCE
6 atom.c
7 change.c
8 directory.c
9 env.c
10 error.c
11 file.c
12 info.c
13 large_int.c
14 om.c
15 path.c
16 pipe.c
17 port.c
18 process.c
19 reg.c
20 rtl.c
21 rtlbitmap.c
22 rtlstr.c
23 string.c
24 time.c
25 precomp.h)
26
27 if(ARCH STREQUAL "i386")
28 list(APPEND SOURCE
29 exception.c
30 generated.c)
31 endif()
32
33 add_executable(ntdll_winetest ${SOURCE} testlist.c)
34
35 if(USE_CLANG_CL OR (NOT MSVC))
36 add_target_compile_flags(ntdll_winetest "-Wno-format")
37 endif()
38
39 set_module_type(ntdll_winetest win32cui)
40 add_importlibs(ntdll_winetest user32 ole32 advapi32 msvcrt kernel32 ntdll)
41 add_pch(ntdll_winetest precomp.h SOURCE)
42 add_rostests_file(TARGET ntdll_winetest)