[CMAKE]
[reactos.git] / dll / win32 / winmm / midimap / CMakeLists.txt
1
2 add_definitions(-DUNICODE -D_UNICODE)
3
4 spec2def(midimap ${CMAKE_CURRENT_SOURCE_DIR}/midimap.spec ${CMAKE_CURRENT_BINARY_DIR}/midimap.def)
5
6 add_library(midimap SHARED midimap.c midimap.rc)
7
8 set_entrypoint(midimap 0)
9
10 target_link_libraries(midimap
11 ${CMAKE_CURRENT_BINARY_DIR}/midimap.def
12 wine)
13
14 add_importlibs(midimap kernel32 uuid ntdll advapi32 user32 winmm)
15 add_dependencies(midimap midimap_def psdk)
16 add_cab_target(midimap 1)