1 2add_definitions( 3 -D__WINESRC__ 4 -D_WINE) 5 6include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine) 7spec2def(msvidc32.dll msvidc32.spec) 8 9list(APPEND SOURCE 10 msvideo1.c 11 ${CMAKE_CURRENT_BINARY_DIR}/msvidc32.def) 12 13add_library(msvidc32 MODULE ${SOURCE} rsrc.rc) 14set_module_type(msvidc32 win32dll) 15target_link_libraries(msvidc32 wine) 16add_importlibs(msvidc32 user32 msvcrt kernel32 ntdll) 17add_cd_file(TARGET msvidc32 DESTINATION reactos/system32 FOR all) 18