2011-05-16 13:12:07 +00:00
|
|
|
|
2013-03-30 20:40:08 +00:00
|
|
|
include_directories(
|
2015-03-24 23:58:44 +00:00
|
|
|
${REACTOS_SOURCE_DIR}/win32ss/user/winsrv/concfg)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
spec2def(console.dll console.spec)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
console.c
|
|
|
|
options.c
|
|
|
|
font.c
|
|
|
|
layout.c
|
|
|
|
colors.c
|
2017-05-03 20:35:12 +00:00
|
|
|
utils.c
|
2014-02-09 12:26:28 +00:00
|
|
|
console.h)
|
|
|
|
|
2015-09-27 18:30:39 +00:00
|
|
|
add_rc_deps(console.rc ${CMAKE_CURRENT_SOURCE_DIR}/res/terminal.ico)
|
|
|
|
|
2014-02-09 12:26:28 +00:00
|
|
|
add_library(console SHARED
|
|
|
|
${SOURCE}
|
2011-05-16 13:12:07 +00:00
|
|
|
console.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/console.def)
|
|
|
|
|
2014-04-12 14:23:36 +00:00
|
|
|
set_module_type(console cpl UNICODE)
|
|
|
|
set_target_properties(console PROPERTIES SUFFIX ".dll")
|
2015-03-24 23:58:44 +00:00
|
|
|
|
|
|
|
target_link_libraries(console concfg)
|
|
|
|
add_importlibs(console advapi32 user32 gdi32 comctl32 msvcrt kernel32 ntdll)
|
2014-02-09 12:26:28 +00:00
|
|
|
add_pch(console console.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET console DESTINATION reactos/system32 FOR all)
|