mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00

- Improve the unicode situation. - Apply a consistent formatting. - Improve the unicode modules we have so far. - Get rid of some rbuildism. - Overall improvements. svn path=/branches/cmake-bringup/; revision=48964
31 lines
615 B
CMake
31 lines
615 B
CMake
|
|
add_definitions(-D_WINE)
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
spec2def(winmm ${CMAKE_CURRENT_SOURCE_DIR}/winmm.spec ${CMAKE_CURRENT_BINARY_DIR}/winmm.def)
|
|
|
|
set_rc_compiler()
|
|
|
|
add_library(winmm SHARED
|
|
driver.c
|
|
joystick.c
|
|
lolvldrv.c
|
|
mci.c
|
|
mmio.c
|
|
playsound.c
|
|
registry.c
|
|
time.c
|
|
winmm.c
|
|
winmm_res.rc)
|
|
|
|
set_module_type(winmm win32dll)
|
|
|
|
target_link_libraries(winmm
|
|
${CMAKE_CURRENT_BINARY_DIR}/winmm.def
|
|
wine
|
|
pseh)
|
|
|
|
add_importlibs(winmm advapi32 user32 msvcrt kernel32 ntdll)
|
|
add_dependencies(winmm winmm_def psdk)
|
|
|
|
add_subdirectory(midimap)
|