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