1
2include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
3add_definitions(-D__WINESRC__ -DWINETEST_USE_DBGSTR_LONGLONG)
4
5list(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
28if(ARCH STREQUAL "i386")
29    list(APPEND SOURCE generated.c)
30endif()
31
32add_executable(ntdll_winetest ${SOURCE} testlist.c)
33
34if(USE_CLANG_CL OR (NOT MSVC))
35    add_target_compile_flags(ntdll_winetest "-Wno-format")
36endif()
37
38set_module_type(ntdll_winetest win32cui)
39add_importlibs(ntdll_winetest user32 ole32 advapi32 msvcrt kernel32 ntdll)
40add_pch(ntdll_winetest precomp.h SOURCE)
41add_rostests_file(TARGET ntdll_winetest)
42