3a7637259ef8d1619fff0455c8523630500feea2
[reactos.git] / dll / directx / wine / msdmo / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
4 spec2def(msdmo.dll msdmo.spec)
5
6 list(APPEND SOURCE
7 dmoreg.c
8 dmort.c
9 precomp.h)
10
11 add_library(msdmo SHARED
12 ${SOURCE}
13 stubs.c
14 rsrc.rc
15 ${CMAKE_CURRENT_BINARY_DIR}/msdmo.def)
16
17 set_module_type(msdmo win32dll)
18 target_link_libraries(msdmo uuid wine mediaobj_guid)
19 add_importlibs(msdmo user32 advapi32 ole32 msvcrt kernel32 ntdll)
20 add_pch(msdmo precomp.h SOURCE)
21 add_cd_file(TARGET msdmo DESTINATION reactos/system32 FOR all)