[ros-diffs] [jgardou] 49330: [CMAKE] - add vgafonts cab file to build

jgardou at svn.reactos.org jgardou at svn.reactos.org
Thu Oct 28 16:36:53 UTC 2010


Author: jgardou
Date: Thu Oct 28 16:36:49 2010
New Revision: 49330

URL: http://svn.reactos.org/svn/reactos?rev=49330&view=rev
Log:
[CMAKE]
  - add vgafonts cab file to build

Added:
    branches/cmake-bringup/media/vgafonts/CMakeLists.txt   (with props)
Modified:
    branches/cmake-bringup/media/CMakeLists.txt

Modified: branches/cmake-bringup/media/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/media/CMakeLists.txt?rev=49330&r1=49329&r2=49330&view=diff
==============================================================================
--- branches/cmake-bringup/media/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/media/CMakeLists.txt [iso-8859-1] Thu Oct 28 16:36:49 2010
@@ -1,3 +1,4 @@
 add_subdirectory(fonts)
 add_subdirectory(inf)
-add_subdirectory(nls)
+add_subdirectory(nls)
+add_subdirectory(vgafonts)

Added: branches/cmake-bringup/media/vgafonts/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/media/vgafonts/CMakeLists.txt?rev=49330&view=auto
==============================================================================
--- branches/cmake-bringup/media/vgafonts/CMakeLists.txt (added)
+++ branches/cmake-bringup/media/vgafonts/CMakeLists.txt [iso-8859-1] Thu Oct 28 16:36:49 2010
@@ -1,0 +1,17 @@
+
+list(APPEND SOURCE
+    ${CMAKE_CURRENT_SOURCE_DIR}/437-8x8.bin
+    ${CMAKE_CURRENT_SOURCE_DIR}/737-8x8.bin
+    ${CMAKE_CURRENT_SOURCE_DIR}/775-8x8.bin
+    ${CMAKE_CURRENT_SOURCE_DIR}/850-8x8.bin
+    ${CMAKE_CURRENT_SOURCE_DIR}/852-8x8.bin
+    ${CMAKE_CURRENT_SOURCE_DIR}/865-8x8.bin 
+    ${CMAKE_CURRENT_SOURCE_DIR}/866-8x8.bin
+    ${CMAKE_CURRENT_SOURCE_DIR}/932-8x8.bin
+)
+
+add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/vgafonts.cab
+                   COMMAND native-cabman -M raw -S ${CMAKE_CURRENT_BINARY_DIR}/vgafonts.cab ${SOURCE}
+                   DEPENDS ${SOURCE})
+                   
+add_custom_target(vgafonts DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/vgafonts.cab)

Propchange: branches/cmake-bringup/media/vgafonts/CMakeLists.txt
------------------------------------------------------------------------------
    svn:eol-style = native




More information about the Ros-diffs mailing list