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 precomp.h) 10 11add_library(msdmo SHARED 12 ${SOURCE} 13 stubs.c 14 rsrc.rc 15 ${CMAKE_CURRENT_BINARY_DIR}/msdmo.def) 16 17set_module_type(msdmo win32dll) 18target_link_libraries(msdmo uuid wine mediaobj_guid) 19add_importlibs(msdmo user32 advapi32 ole32 msvcrt kernel32 ntdll) 20add_pch(msdmo precomp.h SOURCE) 21add_cd_file(TARGET msdmo DESTINATION reactos/system32 FOR all) 22