Files
MuditaOS/cmake/modules/ConfigureVersionJson.cmake
Adam Dobrowolski c31c1f23c2 [EGD-7753] Predefined upadter and bootloader versions in cmake
So that we would be able to select proper Uptader and Bootloader
as well as modify them in configuration on demand
2021-10-25 23:34:14 +02:00

10 lines
287 B
CMake

list(APPEND CMAKE_MODULE_PATH "${SRC_DIR}/cmake/modules")
include(Version)
file(MD5 ${BOOTLOADER_FILE} BOOTLOADER_MD5SUM)
file(MD5 ${BOOT_FILE} BOOT_MD5SUM)
file(MD5 ${UPDATER_FILE} UPDATER_MD5SUM)
message("Configuring version.json file")
configure_file(${SRC_FILE} ${DST_FILE} @ONLY)