mirror of
https://github.com/reactos/reactos.git
synced 2024-10-24 23:11:33 +00:00
ddb3d908c9
svn path=/branches/shell-experiments/; revision=62286
27 lines
661 B
CMake
27 lines
661 B
CMake
|
|
include_directories(
|
|
${REACTOS_SOURCE_DIR}/include/reactos/idl
|
|
${CMAKE_CURRENT_BINARY_DIR})
|
|
|
|
add_rpc_files(server ${REACTOS_SOURCE_DIR}/include/reactos/idl/eventlogrpc.idl)
|
|
|
|
list(APPEND SOURCE
|
|
eventlog.c
|
|
eventsource.c
|
|
logport.c
|
|
rpc.c
|
|
file.c
|
|
eventlog.h
|
|
${CMAKE_CURRENT_BINARY_DIR}/eventlogrpc_s.c)
|
|
|
|
add_executable(eventlog ${SOURCE} eventlog.rc)
|
|
|
|
if(NOT MSVC)
|
|
target_link_libraries(eventlog ${PSEH_LIB})
|
|
endif()
|
|
|
|
set_module_type(eventlog win32cui UNICODE)
|
|
add_importlibs(eventlog advapi32 rpcrt4 msvcrt kernel32 ntdll)
|
|
add_pch(eventlog eventlog.h SOURCE)
|
|
add_cd_file(TARGET eventlog DESTINATION reactos/system32 FOR all)
|