mirror of
https://github.com/reactos/reactos.git
synced 2024-11-28 22:13:34 +08:00
30 lines
705 B
CMake
30 lines
705 B
CMake
|
|
include_directories(
|
|
${REACTOS_SOURCE_DIR}/win32ss/user/winsrv/concfg)
|
|
|
|
spec2def(console.dll console.spec)
|
|
|
|
list(APPEND SOURCE
|
|
console.c
|
|
options.c
|
|
font.c
|
|
layout.c
|
|
colors.c
|
|
utils.c
|
|
console.h)
|
|
|
|
add_rc_deps(console.rc ${CMAKE_CURRENT_SOURCE_DIR}/res/terminal.ico)
|
|
|
|
add_library(console SHARED
|
|
${SOURCE}
|
|
console.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/console.def)
|
|
|
|
set_module_type(console cpl UNICODE)
|
|
set_target_properties(console PROPERTIES SUFFIX ".dll")
|
|
|
|
target_link_libraries(console concfg)
|
|
add_importlibs(console advapi32 user32 gdi32 comctl32 msvcrt kernel32 ntdll)
|
|
add_pch(console console.h SOURCE)
|
|
add_cd_file(TARGET console DESTINATION reactos/system32 FOR all)
|