1 2include_directories( 3 ${REACTOS_SOURCE_DIR}/win32ss/user/winsrv/concfg) 4 5spec2def(console.dll console.spec) 6 7list(APPEND SOURCE 8 console.c 9 options.c 10 font.c 11 layout.c 12 colors.c 13 utils.c 14 console.h) 15 16add_rc_deps(console.rc ${CMAKE_CURRENT_SOURCE_DIR}/res/terminal.ico) 17 18add_library(console MODULE 19 ${SOURCE} 20 console.rc 21 ${CMAKE_CURRENT_BINARY_DIR}/console.def) 22 23set_module_type(console cpl UNICODE) 24set_target_properties(console PROPERTIES SUFFIX ".dll") 25 26target_link_libraries(console concfg) 27add_importlibs(console advapi32 user32 gdi32 comctl32 msvcrt kernel32 ntdll) 28add_pch(console console.h SOURCE) 29add_cd_file(TARGET console DESTINATION reactos/system32 FOR all) 30