mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
32 lines
544 B
CMake
32 lines
544 B
CMake
|
|
set_unicode()
|
|
|
|
add_definitions(-D__WINESRC__)
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
spec2def(msdmo.dll msdmo.spec)
|
|
|
|
add_library(msdmo SHARED
|
|
dmoreg.c
|
|
dmort.c
|
|
stubs.c
|
|
rsrc.rc
|
|
#${REACTOS_BINARY_DIR}/include/dxsdk/mediaobj_i.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/msdmo.def)
|
|
|
|
set_entrypoint(msdmo 0)
|
|
|
|
target_link_libraries(msdmo
|
|
uuid
|
|
wine)
|
|
|
|
add_importlibs(msdmo
|
|
user32
|
|
advapi32
|
|
ole32
|
|
kernel32
|
|
ntdll)
|
|
|
|
add_dependencies(msdmo dxsdk psdk buildno_header)
|
|
|
|
add_cab_target(msdmo 1)
|