[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 spec2def(faultrep ${CMAKE_CURRENT_SOURCE_DIR}/faultrep.spec ${CMAKE_CURRENT_BINARY_DIR}/faultrep.def)
7
8 add_library(faultrep SHARED faultrep.c)
9
10 set_module_type(faultrep win32dll)
11
12 target_link_libraries(faultrep
13 ${CMAKE_CURRENT_BINARY_DIR}/faultrep.def
14 wine)
15
16 add_importlibs(faultrep advapi32 kernel32 ntdll)
17 add_dependencies(faultrep faultrep_def)
18 add_livecd_target(faultrep reactos/system32)