2010-12-07 11:40:10 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
capture.c
|
2019-12-07 12:07:44 +00:00
|
|
|
generated.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
|
|
|
|
2022-05-25 22:37:23 +00:00
|
|
|
if(CMAKE_C_COMPILER_ID STREQUAL "GNU" OR CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
2020-04-16 12:59:38 +00:00
|
|
|
target_compile_options(winmm_winetest PRIVATE "-Wno-format")
|
2017-12-03 22:30:10 +00:00
|
|
|
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)
|