[ros-diffs] [akhaldi] 48689: [CMAKE] - Add ftfd driver to build.

akhaldi at svn.reactos.org akhaldi at svn.reactos.org
Thu Sep 2 22:38:37 UTC 2010


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/CMakeLists.txt?rev=48689&r1=48688&r2=48689&view=diff
==============================================================================
--- 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/CMakeLists.txt?rev=48689&view=auto
==============================================================================
--- 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/font/CMakeLists.txt?rev=48689&view=auto
==============================================================================
--- 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/font/ftfd/CMakeLists.txt?rev=48689&view=auto
==============================================================================
--- 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 at 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




More information about the Ros-diffs mailing list