* Sync with recent trunk (r52637).
[reactos.git] / base / services / eventlog / CMakeLists.txt
1
2 include_directories(${REACTOS_BINARY_DIR}/include/reactos/idl)
3
4 set_unicode()
5
6 list(APPEND SOURCE
7 eventlog.c
8 eventsource.c
9 logport.c
10 eventlog.rc
11 rpc.c
12 file.c)
13
14 add_executable(eventlog ${SOURCE})
15
16 target_link_libraries(eventlog eventlogrpc ${PSEH_LIB})
17
18 set_module_type(eventlog win32cui)
19 add_importlibs(eventlog advapi32 rpcrt4 msvcrt kernel32 ntdll)
20 add_pch(eventlog eventlog.h)
21 add_cd_file(TARGET eventlog DESTINATION reactos/system32 FOR all)