Author: akhaldi
Date: Thu Sep 2 22:38:36 2010
New Revision: 48689
URL:
http://svn.reactos.org/svn/reactos?rev=48689&view=rev
Log:
[CMAKE]
- Add ftfd driver to build.
Added:
branches/cmake-bringup/drivers/video/CMakeLists.txt (with props)
branches/cmake-bringup/drivers/video/font/CMakeLists.txt (with props)
branches/cmake-bringup/drivers/video/font/ftfd/CMakeLists.txt (with props)
Modified:
branches/cmake-bringup/drivers/CMakeLists.txt
Modified: branches/cmake-bringup/drivers/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/CMakeList…
==============================================================================
--- branches/cmake-bringup/drivers/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/drivers/CMakeLists.txt [iso-8859-1] Thu Sep 2 22:38:36 2010
@@ -2,3 +2,4 @@
add_subdirectory(base)
add_subdirectory(input)
add_subdirectory(storage)
+add_subdirectory(video)
Added: branches/cmake-bringup/drivers/video/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/video/CMa…
==============================================================================
--- branches/cmake-bringup/drivers/video/CMakeLists.txt (added)
+++ branches/cmake-bringup/drivers/video/CMakeLists.txt [iso-8859-1] Thu Sep 2 22:38:36
2010
@@ -1,0 +1,2 @@
+
+add_subdirectory(font)
Propchange: branches/cmake-bringup/drivers/video/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/cmake-bringup/drivers/video/font/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/video/fon…
==============================================================================
--- branches/cmake-bringup/drivers/video/font/CMakeLists.txt (added)
+++ branches/cmake-bringup/drivers/video/font/CMakeLists.txt [iso-8859-1] Thu Sep 2
22:38:36 2010
@@ -1,0 +1,2 @@
+
+add_subdirectory(ftfd)
Propchange: branches/cmake-bringup/drivers/video/font/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/cmake-bringup/drivers/video/font/ftfd/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/video/fon…
==============================================================================
--- branches/cmake-bringup/drivers/video/font/ftfd/CMakeLists.txt (added)
+++ branches/cmake-bringup/drivers/video/font/ftfd/CMakeLists.txt [iso-8859-1] Thu Sep 2
22:38:36 2010
@@ -1,0 +1,21 @@
+
+set(CMAKE_C_CREATE_SHARED_LIBRARY "<CMAKE_C_COMPILER>
<CMAKE_SHARED_LIBRARY_C_FLAGS> <LINK_FLAGS>
<CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> -o <TARGET> <OBJECTS>
<LINK_LIBRARIES>")
+
+include_directories(${REACTOS_SOURCE_DIR}/lib/3rdparty/freetype/include)
+
+add_library(ftfd SHARED
+ enable.c
+ font.c
+ glyph.c
+ rosglue.c
+ sprintf.c)
+
+set_target_properties(ftfd PROPERTIES LINK_FLAGS "-Wl,-entry,_FtfdEnableDriver@12
-Wl,--subsystem,native")
+
+target_link_libraries(ftfd
+ ${CMAKE_CURRENT_SOURCE_DIR}/freetype.def
+ -lwin32k
+ freetype
+ libcntpr)
+
+add_dependencies(ftfd psdk)
Propchange: branches/cmake-bringup/drivers/video/font/ftfd/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native