[CMAKE]
[reactos.git] / dll / win32 / beepmidi / CMakeLists.txt
1
2 set_unicode()
3
4 spec2def(beepmidi ${CMAKE_CURRENT_SOURCE_DIR}/beepmidi.spec ${CMAKE_CURRENT_BINARY_DIR}/beepmidi.def)
5
6 add_library(beepmidi SHARED beepmidi.c)
7
8 set_entrypoint(beepmidi 0)
9
10 target_link_libraries(beepmidi ${CMAKE_CURRENT_BINARY_DIR}/beepmidi.def)
11
12 add_importlibs(beepmidi winmm kernel32 ntdll)
13 add_dependencies(beepmidi beepmidi_def psdk)
14 add_cab_target(beepmidi 1)