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