reactos/dll/cpl/console/CMakeLists.txt
Jérôme Gardou 4ee1da42f1 [CMAKE]
- rewrite spec2def macro because
1. cmake gracefully handles def files as source files
2. cmake gracefully handles autogenerated files as source
3. it did not take into account the fact that all shared libraries haven't the .dll extension

svn path=/branches/cmake-bringup/; revision=49358
2010-10-30 16:08:19 +00:00

28 lines
495 B
CMake

set_unicode()
spec2def(console.dll console.spec)
list(APPEND SOURCE
console.c
options.c
font.c
layout.c
colors.c
console.rc
${CMAKE_CURRENT_BINARY_DIR}/console.def)
add_library(console SHARED ${CMAKE_CURRENT_BINARY_DIR}/console_console.h.gch ${SOURCE})
set_module_type(console win32dll)
add_importlibs(console
msvcrt
user32
gdi32
comctl32
kernel32)
add_pch(console ${CMAKE_CURRENT_SOURCE_DIR}/console.h ${SOURCE})
add_cab_target(console 1)