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