5e0d8480412fdf04a70bb7de8e0208b96810807f
[reactos.git] / rostests / winetests / msvcrt / CMakeLists.txt
1
2 add_definitions(-D__msvcrt_ulong=ULONG)
3
4 list(APPEND SOURCE
5 cpp.c
6 data.c
7 dir.c
8 environ.c
9 file.c
10 headers.c
11 heap.c
12 locale.c
13 misc.c
14 printf.c
15 scanf.c
16 signal.c
17 string.c
18 testlist.c
19 time.c)
20
21 add_executable(msvcrt_winetest ${SOURCE})
22
23 set_module_type(msvcrt_winetest win32cui)
24 add_importlibs(msvcrt_winetest msvcrt kernel32)
25
26 if(MSVC)
27 target_link_libraries(msvcrt_winetest oldnames)
28 add_importlibs(msvcrt_winetest ntdll)
29 else()
30 add_target_compile_flags(msvcrt_winetest "-Wno-format")
31 endif()
32
33 add_cd_file(TARGET msvcrt_winetest DESTINATION reactos/bin FOR all)