mirror of
https://github.com/reactos/reactos.git
synced 2024-10-19 07:28:18 +00:00
9967600abf
- Finish to do the replacements HeapAlloc --> RtlAllocateHeap and Co. - Finish to UNICODify consrv (it happens that it has been almost done already). - Modify the way we start BlueScreen driver (in TUI mode): instead of using the SCM which, at that moment, is starting (and is not ready to answer to start/stop services requests), use the NT apis to start the driver (in the same way the SCM performs driver starting). - Add a note on HAVE_WMEMSET. svn path=/branches/ros-csrss/; revision=58169
33 lines
776 B
CMake
33 lines
776 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
|
|
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 UNICODE)
|
|
|
|
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)
|