[SHELL-EXPERIMENTS]
[reactos.git] / base / services / eventlog / CMakeLists.txt
1
2 include_directories(
3 ${REACTOS_SOURCE_DIR}/include/reactos/idl
4 ${CMAKE_CURRENT_BINARY_DIR})
5
6 add_rpc_files(server ${REACTOS_SOURCE_DIR}/include/reactos/idl/eventlogrpc.idl)
7
8 list(APPEND SOURCE
9 eventlog.c
10 eventsource.c
11 logport.c
12 rpc.c
13 file.c
14 eventlog.h
15 ${CMAKE_CURRENT_BINARY_DIR}/eventlogrpc_s.c)
16
17 add_executable(eventlog ${SOURCE} eventlog.rc)
18
19 if(NOT MSVC)
20 target_link_libraries(eventlog ${PSEH_LIB})
21 endif()
22
23 set_module_type(eventlog win32cui UNICODE)
24 add_importlibs(eventlog advapi32 rpcrt4 msvcrt kernel32 ntdll)
25 add_pch(eventlog eventlog.h SOURCE)
26 add_cd_file(TARGET eventlog DESTINATION reactos/system32 FOR all)