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