[NTDLL_WINETEST] Sync with Wine Staging 3.3. CORE-14434
[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 exception.c
12 file.c
13 info.c
14 large_int.c
15 om.c
16 path.c
17 pipe.c
18 port.c
19 process.c
20 reg.c
21 rtl.c
22 rtlbitmap.c
23 rtlstr.c
24 string.c
25 time.c
26 precomp.h)
27
28 if(ARCH STREQUAL "i386")
29 list(APPEND SOURCE generated.c)
30 endif()
31
32 add_executable(ntdll_winetest ${SOURCE} testlist.c)
33
34 if(USE_CLANG_CL OR (NOT MSVC))
35 add_target_compile_flags(ntdll_winetest "-Wno-format")
36 endif()
37
38 set_module_type(ntdll_winetest win32cui)
39 add_importlibs(ntdll_winetest user32 ole32 advapi32 msvcrt kernel32 ntdll)
40 add_pch(ntdll_winetest precomp.h SOURCE)
41 add_rostests_file(TARGET ntdll_winetest)