xref: /reactos/media/vgafonts/CMakeLists.txt (revision 9393fc32)
1
2list(APPEND SOURCE
3    ${CMAKE_CURRENT_SOURCE_DIR}/437-8x8.bin
4    ${CMAKE_CURRENT_SOURCE_DIR}/737-8x8.bin
5    ${CMAKE_CURRENT_SOURCE_DIR}/775-8x8.bin
6    ${CMAKE_CURRENT_SOURCE_DIR}/850-8x8.bin
7    ${CMAKE_CURRENT_SOURCE_DIR}/852-8x8.bin
8    ${CMAKE_CURRENT_SOURCE_DIR}/857-8x8.bin
9    ${CMAKE_CURRENT_SOURCE_DIR}/862-8x8.bin
10    ${CMAKE_CURRENT_SOURCE_DIR}/865-8x8.bin
11    ${CMAKE_CURRENT_SOURCE_DIR}/866-8x8.bin
12    ${CMAKE_CURRENT_SOURCE_DIR}/932-8x8.bin
13    ${CMAKE_CURRENT_SOURCE_DIR}/28606-8x8.bin)
14
15add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/vgafonts.cab
16                   COMMAND native-cabman -M raw -S ${CMAKE_CURRENT_BINARY_DIR}/vgafonts.cab ${SOURCE}
17                   DEPENDS ${SOURCE} native-cabman)
18
19add_custom_target(vgafonts DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/vgafonts.cab)
20add_cd_file(TARGET vgafonts FILE ${CMAKE_CURRENT_BINARY_DIR}/vgafonts.cab DESTINATION reactos NO_CAB FOR all)
21