1 2add_definitions(-D__WINESRC__) 3include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine) 4spec2def(msisys.ocx msisys.ocx.spec) 5 6list(APPEND SOURCE 7 msisys.c 8 ${CMAKE_CURRENT_BINARY_DIR}/msisys.def) 9 10add_library(msisys MODULE ${SOURCE}) 11set_module_type(msisys win32ocx) 12target_link_libraries(msisys wine) 13add_importlibs(msisys msvcrt kernel32 ntdll) 14add_cd_file(TARGET msisys DESTINATION reactos/system32 FOR all) 15