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 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 27if(ARCH STREQUAL "i386") 28 list(APPEND SOURCE 29 exception.c 30 generated.c) 31endif() 32 33add_executable(ntdll_winetest ${SOURCE} testlist.c) 34 35if(USE_CLANG_CL OR (NOT MSVC)) 36 target_compile_options(ntdll_winetest PRIVATE "-Wno-format") 37endif() 38 39set_module_type(ntdll_winetest win32cui) 40add_importlibs(ntdll_winetest user32 ole32 advapi32 msvcrt kernel32 ntdll) 41add_pch(ntdll_winetest precomp.h SOURCE) 42add_rostests_file(TARGET ntdll_winetest) 43