1 2add_definitions(-D__WINESRC__) 3 4include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine) 5 6spec2def(faultrep ${CMAKE_CURRENT_SOURCE_DIR}/faultrep.spec ${CMAKE_CURRENT_BINARY_DIR}/faultrep.def) 7 8add_library(faultrep SHARED faultrep.c) 9 10set_module_type(faultrep win32dll) 11 12target_link_libraries(faultrep 13 ${CMAKE_CURRENT_BINARY_DIR}/faultrep.def 14 wine) 15 16add_importlibs(faultrep advapi32 kernel32 ntdll) 17add_dependencies(faultrep faultrep_def) 18add_cab_target(faultrep 1) 19