reactos/win32ss/user/consrv/CMakeLists.txt

34 lines
781 B
CMake
Raw Normal View History

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)