mirror of
https://github.com/reactos/reactos.git
synced 2024-09-22 02:30:33 +00:00
91f3191275
- refactor a bit add_cd_file for more flexibility. Add FOR argument for specifying target cd images. svn path=/branches/cmake-bringup/; revision=51749
23 lines
562 B
CMake
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)
|