[CMAKE]
[reactos.git] / dll / directx / msdmo / CMakeLists.txt
1
2 set_unicode()
3
4 add_definitions(-D__WINESRC__)
5 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
6
7 spec2def(msdmo ${CMAKE_CURRENT_SOURCE_DIR}/msdmo.spec ${CMAKE_CURRENT_BINARY_DIR}/msdmo.def)
8
9 add_library(msdmo SHARED
10 dmoreg.c
11 dmort.c
12 rsrc.rc)
13
14 set_entrypoint(msdmo 0)
15
16 target_link_libraries(msdmo
17 ${CMAKE_CURRENT_BINARY_DIR}/msdmo.def
18 uuid
19 wine)
20
21 add_importlibs(msdmo
22 user32
23 advapi32
24 ole32
25 kernel32
26 ntdll)
27
28 add_dependencies(msdmo msdmo_def psdk buildno_header)