xref: /reactos/dll/win32/faultrep/CMakeLists.txt (revision 7eead935)
1
2add_definitions(-D__WINESRC__)
3include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
4spec2def(faultrep.dll faultrep.spec ADD_IMPORTLIB)
5
6list(APPEND SOURCE
7    faultrep.c
8    ${CMAKE_CURRENT_BINARY_DIR}/faultrep_stubs.c
9    ${CMAKE_CURRENT_BINARY_DIR}/faultrep.def)
10
11add_library(faultrep MODULE ${SOURCE})
12set_module_type(faultrep win32dll)
13target_link_libraries(faultrep wine)
14add_importlibs(faultrep advapi32 msvcrt kernel32 ntdll)
15add_cd_file(TARGET faultrep DESTINATION reactos/system32 FOR all)
16