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