[CMAKE]
authorJérôme Gardou <jerome.gardou@reactos.org>
Thu, 28 Oct 2010 16:36:49 +0000 (16:36 +0000)
committerJérôme Gardou <jerome.gardou@reactos.org>
Thu, 28 Oct 2010 16:36:49 +0000 (16:36 +0000)
  - add vgafonts cab file to build

svn path=/branches/cmake-bringup/; revision=49330

media/CMakeLists.txt
media/vgafonts/CMakeLists.txt [new file with mode: 0644]

index 84852fb..a441374 100644 (file)
@@ -1,3 +1,4 @@
 add_subdirectory(fonts)
 add_subdirectory(inf)
-add_subdirectory(nls)
\ No newline at end of file
+add_subdirectory(nls)
+add_subdirectory(vgafonts)
\ No newline at end of file
diff --git a/media/vgafonts/CMakeLists.txt b/media/vgafonts/CMakeLists.txt
new file mode 100644 (file)
index 0000000..2d06938
--- /dev/null
@@ -0,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)
\ No newline at end of file