[CMAKE]
[reactos.git] / dll / cpl / console / CMakeLists.txt
1
2 set_unicode()
3
4 spec2def(console ${CMAKE_CURRENT_SOURCE_DIR}/console.spec ${CMAKE_CURRENT_BINARY_DIR}/console.def)
5
6 list(APPEND SOURCE
7 console.c
8 options.c
9 font.c
10 layout.c
11 colors.c
12 console.rc)
13
14 add_library(console SHARED ${CMAKE_CURRENT_BINARY_DIR}/console_console.h.gch ${SOURCE})
15
16 set_module_type(console win32dll)
17
18 target_link_libraries(console ${CMAKE_CURRENT_BINARY_DIR}/console.def)
19
20 add_importlibs(console
21 msvcrt
22 user32
23 gdi32
24 comctl32
25 kernel32)
26
27 add_pch(console ${CMAKE_CURRENT_SOURCE_DIR}/console.h ${SOURCE})
28 add_dependencies(console console_def)