[CMAKE]
[reactos.git] / dll / directx / dmusic / CMakeLists.txt
1
2 set_unicode()
3
4 add_definitions(-D__WINESRC__)
5 remove_definitions(-D_WIN32_WINNT=0x502)
6 add_definitions(-D_WIN32_WINNT=0x600)
7 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
8
9 spec2def(dmusic.dll dmusic.spec)
10
11 add_library(dmusic SHARED
12 buffer.c
13 clock.c
14 collection.c
15 dmusic.c
16 dmusic_main.c
17 download.c
18 downloadedinstrument.c
19 instrument.c
20 port.c
21 regsvr.c
22 version.rc
23 ${CMAKE_CURRENT_BINARY_DIR}/dmusic.def)
24
25 set_entrypoint(dmusic 0)
26
27 target_link_libraries(dmusic
28 dxguid
29 uuid
30 wine)
31
32 add_importlibs(dmusic
33 user32
34 advapi32
35 ole32
36 dsound
37 kernel32
38 ntdll)
39
40 add_dependencies(dmusic psdk buildno_header)