mirror of
https://github.com/reactos/reactos.git
synced 2024-09-22 18:45:51 +00:00
887046a6ee
- build msvc importlibs explicitly from def file - circumvent lack of pseh lib in MSVC. - fix advapi32.def svn path=/branches/cmake-bringup/; revision=49409
22 lines
512 B
CMake
22 lines
512 B
CMake
|
|
include_directories(${REACTOS_BINARY_DIR}/include/reactos/idl)
|
|
|
|
set_unicode()
|
|
|
|
list(APPEND SOURCE
|
|
eventlog.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_server ${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_cab_target(eventlog 1) |