mirror of
https://github.com/reactos/reactos.git
synced 2024-10-09 10:48:55 +00:00
53eba1ba5f
- Further separate properties of the GUI terminal front-end and those independent of the UI. - Fix some console initialization steps. svn path=/branches/ros-csrss/; revision=58605
34 lines
778 B
CMake
34 lines
778 B
CMake
|
|
include_directories(
|
|
${REACTOS_SOURCE_DIR}/include/reactos/subsys
|
|
${REACTOS_SOURCE_DIR}/win32ss/include)
|
|
|
|
spec2def(consrv.dll consrv.spec)
|
|
|
|
list(APPEND SOURCE
|
|
alias.c
|
|
coninput.c
|
|
conoutput.c
|
|
console.c
|
|
guiconsole.c
|
|
guisettings.c
|
|
handle.c
|
|
init.c
|
|
lineinput.c
|
|
settings.c
|
|
tuiconsole.c
|
|
consrv.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/consrv.def)
|
|
|
|
add_library(consrv SHARED ${SOURCE})
|
|
|
|
target_link_libraries(consrv win32ksys ${PSEH_LIB} uuid) # win32ksys because of NtUser...()
|
|
|
|
set_module_type(consrv win32dll UNICODE)
|
|
|
|
add_importlibs(consrv psapi msvcrt kernel32 ntdll csrsrv)
|
|
add_delay_importlibs(consrv user32 gdi32 advapi32 ole32)
|
|
|
|
add_dependencies(consrv bugcodes)
|
|
add_cd_file(TARGET consrv DESTINATION reactos/system32 FOR all)
|