mirror of
https://github.com/reactos/reactos.git
synced 2024-11-09 08:08:38 +00:00
91f3191275
- refactor a bit add_cd_file for more flexibility. Add FOR argument for specifying target cd images. svn path=/branches/cmake-bringup/; revision=51749
19 lines
No EOL
790 B
CMake
19 lines
No EOL
790 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}/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)
|
|
|
|
add_cd_file(TARGET vgafonts FILE ${CMAKE_CURRENT_BINARY_DIR}/vgafonts.cab DESTINATION reactos NO_CAB FOR all) |