[CMAKE]
[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 ${CMAKE_CURRENT_BINARY_DIR}/eventlog_eventlog.h.gch ${SOURCE})
15
16 target_link_libraries(eventlog eventlogrpc ${PSEH_LIB})
17
18 add_pch(eventlog ${CMAKE_CURRENT_SOURCE_DIR}/eventlog.h ${SOURCE})
19
20 set_module_type(eventlog win32cui)
21 add_importlibs(eventlog advapi32 rpcrt4 msvcrt kernel32 ntdll)
22 add_cab_target(eventlog 1)