2012-10-22 23:55:51 +00:00
|
|
|
|
|
|
|
include_directories(
|
|
|
|
${REACTOS_SOURCE_DIR}/include/reactos/subsys
|
2012-10-23 22:31:36 +00:00
|
|
|
${REACTOS_SOURCE_DIR}/win32ss/include
|
2012-10-22 23:55:51 +00:00
|
|
|
${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
|
|
|
|
tuiconsole.c
|
|
|
|
consrv.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/consrv.def)
|
|
|
|
|
|
|
|
add_library(consrv SHARED ${SOURCE})
|
|
|
|
|
2012-10-23 22:31:36 +00:00
|
|
|
target_link_libraries(consrv win32ksys ${PSEH_LIB}) # win32ksys because of NtUser...()
|
2012-10-22 23:55:51 +00:00
|
|
|
|
2012-10-23 22:31:36 +00:00
|
|
|
set_module_type(consrv win32dll)
|
2012-10-22 23:55:51 +00:00
|
|
|
|
2012-10-23 22:31:36 +00:00
|
|
|
add_importlibs(consrv psapi msvcrt kernel32 ntdll csrsrv)
|
|
|
|
add_delay_importlibs(consrv user32 gdi32 advapi32)
|
2012-10-22 23:55:51 +00:00
|
|
|
|
|
|
|
add_dependencies(consrv bugcodes)
|
|
|
|
add_cd_file(TARGET consrv DESTINATION reactos/system32 FOR all)
|