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