mirror of
https://github.com/reactos/reactos.git
synced 2024-09-15 23:28:15 +00:00
1827b99497
- Add consrv to compilation. It compiles now \o/ - Convert the used console-csrss structures to the new ones. [CSR] - Continue to move some structures, and temporary activate a symbol. [WIN32CSR] - Clean a header. svn path=/branches/ros-csrss/; revision=57602
34 lines
781 B
CMake
34 lines
781 B
CMake
|
|
include_directories(
|
|
${REACTOS_SOURCE_DIR}/include/reactos/subsys
|
|
${REACTOS_SOURCE_DIR}/win32ss/include
|
|
${REACTOS_SOURCE_DIR}/dll/cpl/console)
|
|
|
|
spec2def(consrv.dll consrv.spec)
|
|
|
|
list(APPEND SOURCE
|
|
alias.c
|
|
coninput.c
|
|
conoutput.c
|
|
console.c
|
|
guiconsole.c
|
|
handle.c
|
|
init.c
|
|
lineinput.c
|
|
server.c
|
|
tuiconsole.c
|
|
consrv.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/consrv.def)
|
|
|
|
add_library(consrv SHARED ${SOURCE})
|
|
|
|
target_link_libraries(consrv win32ksys ${PSEH_LIB}) # win32ksys because of NtUser...()
|
|
|
|
set_module_type(consrv win32dll)
|
|
|
|
add_importlibs(consrv psapi msvcrt kernel32 ntdll csrsrv)
|
|
add_delay_importlibs(consrv user32 gdi32 advapi32)
|
|
|
|
add_dependencies(consrv bugcodes)
|
|
add_cd_file(TARGET consrv DESTINATION reactos/system32 FOR all)
|