[WINMM_WINETEST]
[reactos.git] / rostests / winetests / winmm / CMakeLists.txt
1
2 add_definitions(-D__ROS_LONG64__)
3
4 list(APPEND SOURCE
5 capture.c
6 mci.c
7 mixer.c
8 mmio.c
9 timer.c
10 testlist.c
11 wave.c)
12
13 add_executable(winmm_winetest ${SOURCE})
14 target_link_libraries(winmm_winetest wine dxguid)
15 set_module_type(winmm_winetest win32cui)
16 add_importlibs(winmm_winetest winmm user32 msvcrt kernel32 ntdll)
17 add_cd_file(TARGET winmm_winetest DESTINATION reactos/bin FOR all)
18
19 if(NOT MSVC)
20 add_target_compile_flags(winmm_winetest "-Wno-format -Wno-unused-but-set-variable")
21 endif()