[CMAKE]
[reactos.git] / dll / win32 / mmdrv / CMakeLists.txt
1
2 set_unicode()
3
4 add_definitions(-DNDEBUG)
5
6 spec2def(mmdrv ${CMAKE_CURRENT_SOURCE_DIR}/mmdrv.spec ${CMAKE_CURRENT_BINARY_DIR}/mmdrv.def)
7
8 add_library(mmdrv SHARED
9 entry.c
10 mme.c
11 kernel.c
12 session.c
13 common.c
14 wave.c
15 wave_io.c)
16
17 set_entrypoint(mmdrv 0)
18
19 target_link_libraries(mmdrv ${CMAKE_CURRENT_BINARY_DIR}/mmdrv.def)
20
21 add_importlibs(mmdrv winmm user32 kernel32 ntdll)
22 add_dependencies(mmdrv mmdrv_def psdk buildno_header)
23 add_cab_target(mmdrv 1)