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})
|
2017-12-03 22:30:10 +00:00
|
|
|
|
|
|
|
if(USE_CLANG_CL OR (NOT MSVC))
|
|
|
|
add_target_compile_flags(winmm_winetest "-Wno-format")
|
|
|
|
endif()
|
|
|
|
|
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)
|
2017-06-04 01:49:55 +00:00
|
|
|
add_importlibs(winmm_winetest winmm user32 advapi32 ole32 msvcrt kernel32)
|
2017-01-13 09:24:15 +00:00
|
|
|
add_rostests_file(TARGET winmm_winetest)
|