5d2e4205dc0d035c1e6bae3f4012a34f78c4d954
[reactos.git] / rostests / winetests / user32 / CMakeLists.txt
1
2 add_definitions(
3 -D__ROS_LONG64__)
4
5 list(APPEND SOURCE
6 broadcast.c
7 class.c
8 clipboard.c
9 combo.c
10 cursoricon.c
11 dce.c
12 dde.c
13 dialog.c
14 edit.c
15 generated.c
16 input.c
17 listbox.c
18 menu.c
19 monitor.c
20 msg.c
21 resource.c
22 scroll.c
23 static.c
24 sysparams.c
25 text.c
26 uitools.c
27 win.c
28 winstation.c
29 wsprintf.c
30 testlist.c)
31
32 add_executable(user32_winetest
33 ${SOURCE}
34 resource.rc)
35
36 target_link_libraries(user32_winetest wine)
37 set_module_type(user32_winetest win32cui)
38 add_importlibs(user32_winetest user32 gdi32 advapi32 msvcrt kernel32 ntdll)
39 add_cd_file(TARGET user32_winetest DESTINATION reactos/bin FOR all)
40
41 if(NOT MSVC)
42 # FIXME: http://www.cmake.org/Bug/view.php?id=12998
43 #add_target_compile_flags(user32_winetest "-Wno-format")
44 #allow_warnings(user32_winetest)
45 set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-Wno-format")
46 endif()