- add vgafonts cab file to build

svn path=/branches/cmake-bringup/; revision=49330
This commit is contained in:
Jérôme Gardou 2010-10-28 16:36:49 +00:00
parent c386b94d62
commit 8da36b0412
2 changed files with 19 additions and 1 deletions

View file

@ -1,3 +1,4 @@
add_subdirectory(fonts)
add_subdirectory(inf)
add_subdirectory(nls)
add_subdirectory(nls)
add_subdirectory(vgafonts)

View file

@ -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)