[BRANCHES]
[reactos.git] / rostests / winetests / ntdll / CMakeLists.txt
1
2 remove_definitions(-DWINVER=0x502 -D_WIN32_IE=0x600 -D_WIN32_WINNT=0x502)
3
4 add_definitions(-D__WINESRC__)
5
6 list(APPEND SOURCE
7 atom.c
8 change.c
9 directory.c
10 env.c
11 error.c
12 exception.c
13 file.c
14 generated.c
15 info.c
16 large_int.c
17 om.c
18 path.c
19 pipe.c
20 port.c
21 reg.c
22 rtl.c
23 rtlbitmap.c
24 rtlstr.c
25 string.c
26 time.c
27 testlist.c)
28
29 add_executable(ntdll_winetest ${SOURCE})
30 set_module_type(ntdll_winetest win32cui)
31 add_importlibs(ntdll_winetest user32 msvcrt kernel32 ntdll)
32 add_cd_file(TARGET ntdll_winetest DESTINATION reactos/bin FOR all)
33 if(NOT MSVC)
34 allow_warnings(ntdll_winetest)
35 add_target_compile_flags(ntdll_winetest "-Wno-format")
36 endif()