reactos/dll/win32/winmm/CMakeLists.txt
Amine Khaldi 0281bf63e6 [CMAKE]
- 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
2010-10-02 16:09:32 +00:00

32 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)