2010-12-07 11:40:10 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
capture.c
|
2015-03-20 18:22:14 +00:00
|
|
|
joystick.c
|
2010-12-07 11:40:10 +00:00
|
|
|
mci.c
|
2015-03-20 18:22:14 +00:00
|
|
|
mcicda.c
|
|
|
|
midi.c
|
2010-12-07 11:40:10 +00:00
|
|
|
mixer.c
|
|
|
|
mmio.c
|
|
|
|
timer.c
|
|
|
|
testlist.c
|
|
|
|
wave.c)
|
|
|
|
|
|
|
|
add_executable(winmm_winetest ${SOURCE})
|
2014-10-17 23:29:24 +00:00
|
|
|
target_link_libraries(winmm_winetest dxguid)
|
2010-12-07 11:40:10 +00:00
|
|
|
set_module_type(winmm_winetest win32cui)
|
2015-03-20 18:22:14 +00:00
|
|
|
add_importlibs(winmm_winetest winmm user32 advapi32 msvcrt kernel32)
|
2011-05-14 20:55:36 +00:00
|
|
|
add_cd_file(TARGET winmm_winetest DESTINATION reactos/bin FOR all)
|
2011-09-04 17:33:34 +00:00
|
|
|
|
|
|
|
if(NOT MSVC)
|
2014-09-11 11:04:28 +00:00
|
|
|
add_target_compile_flags(winmm_winetest "-Wno-format")
|
|
|
|
if(NOT CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
|
|
|
add_target_compile_flags(winmm_winetest "-Wno-unused-but-set-variable")
|
|
|
|
endif()
|
2011-09-04 17:33:34 +00:00
|
|
|
endif()
|