302698a5f579c2a9fd55a496b5c6f7fc936f354e
[reactos.git] / dll / win32 / mciwave / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 add_definitions(-D_DLL -D__USE_CRTIMP)
4 add_definitions(-D_WINE)
5
6 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
7
8 spec2def(mciwave ${CMAKE_CURRENT_SOURCE_DIR}/mciwave.spec ${CMAKE_CURRENT_BINARY_DIR}/mciwave.def)
9
10 add_library(mciwave SHARED mciwave.c)
11
12 set_entrypoint(mciwave 0)
13
14 target_link_libraries(mciwave
15 ${CMAKE_CURRENT_BINARY_DIR}/mciwave.def
16 wine)
17
18 add_importlibs(mciwave winmm user32 msvcrt kernel32 ntdll)
19 add_dependencies(mciwave mciwave_def psdk buildno_header)
20 add_livecd_target(mciwave reactos/system32)