~aleteoryx/muditaos

ref: 224f397370a810b9b44d98d0484568e47eeed2a3 muditaos/image/CMakeLists.txt -rw-r--r-- 468 bytes
224f3973 — Adam Dobrowolski [MOS-225] Fixed integer overflow issue in Bus 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
include(Assets)
include(Utils)

set(SYSROOT ${CMAKE_BINARY_DIR}/sysroot)
set(ASSETS_DEST_DIR ${SYSROOT}/sys)

add_assets_target(
    TARGET assets
    SOURCE_DIR ${ASSETS_SOURCE_DIR}
    DEST_DIR ${ASSETS_DEST_DIR}
    DEVEL ${WITH_DEVELOPMENT_FEATURES}
    DEPENDS json-target json-images-target
)

multicomp_install(
    FILES
        ${ASSETS_DEST_DIR}/.boot.json
        ${ASSETS_DEST_DIR}/.boot.json.crc32
    DESTINATION ./
    COMPONENTS Standalone Update
)