reactos/media/vgafonts/CMakeLists.txt
Hermès Bélusca-Maïto 840ea98cba Synchronize with trunk r58457.
svn path=/branches/ros-csrss/; revision=58458
2013-03-10 01:01:36 +00:00

21 lines
952 B
CMake

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}/862-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} native-cabman)
add_custom_target(vgafonts DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/vgafonts.cab)
add_cd_file(TARGET vgafonts FILE ${CMAKE_CURRENT_BINARY_DIR}/vgafonts.cab DESTINATION reactos NO_CAB FOR all)
add_cd_file(TARGET vgafonts FILE ${CMAKE_CURRENT_BINARY_DIR}/vgafonts.cab DESTINATION reactos FOR all)