reactos/base/services/eventlog/CMakeLists.txt
Jérôme Gardou 91f3191275 [CMAKE]
- refactor a bit add_cd_file for more flexibility. Add FOR argument for specifying target cd images.

svn path=/branches/cmake-bringup/; revision=51749
2011-05-14 20:54:46 +00:00

23 lines
562 B
CMake

include_directories(${REACTOS_BINARY_DIR}/include/reactos/idl)
set_unicode()
list(APPEND SOURCE
eventlog.c
eventsource.c
logport.c
eventlog.rc
rpc.c
file.c)
add_executable(eventlog ${CMAKE_CURRENT_BINARY_DIR}/eventlog_eventlog.h.gch ${SOURCE})
target_link_libraries(eventlog eventlogrpc ${PSEH_LIB})
add_pch(eventlog ${CMAKE_CURRENT_SOURCE_DIR}/eventlog.h ${SOURCE})
set_module_type(eventlog win32cui)
add_importlibs(eventlog advapi32 rpcrt4 msvcrt kernel32 ntdll)
add_cd_file(TARGET eventlog DESTINATION reactos/system32 FOR all)