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