1 2add_definitions(-D__WINESRC__) 3include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine) 4spec2def(softpub.dll softpub.spec) 5 6add_library(softpub MODULE 7 softpub.rc 8 ${CMAKE_CURRENT_BINARY_DIR}/softpub.def) 9 10set_module_type(softpub win32dll ENTRYPOINT 0 ) 11target_link_libraries(softpub wine) 12add_importlibs(softpub wintrust) 13add_cd_file(TARGET softpub DESTINATION reactos/system32 FOR all) 14