2010-12-07 11:40:10 +00:00
|
|
|
|
2013-07-19 23:42:18 +00:00
|
|
|
add_definitions(-D__ROS_LONG64__)
|
2010-12-07 11:40:10 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
capture.c
|
|
|
|
mci.c
|
|
|
|
mixer.c
|
|
|
|
mmio.c
|
|
|
|
timer.c
|
|
|
|
testlist.c
|
|
|
|
wave.c)
|
|
|
|
|
|
|
|
add_executable(winmm_winetest ${SOURCE})
|
|
|
|
target_link_libraries(winmm_winetest wine dxguid)
|
|
|
|
set_module_type(winmm_winetest win32cui)
|
|
|
|
add_importlibs(winmm_winetest winmm user32 msvcrt kernel32 ntdll)
|
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-05-31 16:00:05 +00:00
|
|
|
add_target_compile_flags(winmm_winetest "-Wno-format -Wno-unused-but-set-variable")
|
2011-09-04 17:33:34 +00:00
|
|
|
endif()
|