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