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