Synchronize with trunk revision 59636 (just before Alex's CreateProcess revamp).
[reactos.git] / media / vgafonts / CMakeLists.txt
1
2 list(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}/862-8x8.bin
9 ${CMAKE_CURRENT_SOURCE_DIR}/865-8x8.bin
10 ${CMAKE_CURRENT_SOURCE_DIR}/866-8x8.bin
11 ${CMAKE_CURRENT_SOURCE_DIR}/932-8x8.bin
12 )
13
14 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/vgafonts.cab
15 COMMAND native-cabman -M raw -S ${CMAKE_CURRENT_BINARY_DIR}/vgafonts.cab ${SOURCE}
16 DEPENDS ${SOURCE} native-cabman)
17
18 add_custom_target(vgafonts DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/vgafonts.cab)
19
20 add_cd_file(TARGET vgafonts FILE ${CMAKE_CURRENT_BINARY_DIR}/vgafonts.cab DESTINATION reactos NO_CAB FOR all)