af63b39d947c3b57646f375759ba568777443a48
[reactos.git] / modules / rostests / winetests / kernel32 / CMakeLists.txt
1
2 include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
3 remove_definitions(-DWINVER=0x502 -D_WIN32_IE=0x600 -D_WIN32_WINNT=0x502)
4
5 list(APPEND SOURCE
6 actctx.c
7 atom.c
8 change.c
9 codepage.c
10 comm.c
11 console.c
12 cpu.c
13 debugger.c
14 directory.c
15 drive.c
16 environ.c
17 fiber.c
18 file.c
19 format_msg.c
20 #generated.c
21 heap.c
22 loader.c
23 locale.c
24 mailslot.c
25 module.c
26 path.c
27 pipe.c
28 process.c
29 profile.c
30 resource.c
31 sync.c
32 thread.c
33 time.c
34 timer.c
35 toolhelp.c
36 version.c
37 virtual.c
38 volume.c
39 testlist.c)
40
41 add_executable(kernel32_winetest ${SOURCE} resource.rc)
42
43 if(USE_CLANG_CL OR (NOT MSVC))
44 add_target_compile_flags(kernel32_winetest "-Wno-format")
45 endif()
46
47 set_module_type(kernel32_winetest win32cui)
48 add_importlibs(kernel32_winetest user32 advapi32 msvcrt kernel32 ntdll)
49 add_rostests_file(TARGET kernel32_winetest)