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