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