~aleteoryx/muditaos

ref: 74ae1a6589caaf2f822bec932476bbd4b4c12a94 muditaos/image/CMakeLists.txt -rw-r--r-- 501 bytes
74ae1a65 — Marcin Smoczyński [EGD-7031] Remove UT deps to the production image 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
include(Assets)
include(Utils)

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

add_assets_target(assets ${ASSETS_SOURCE_DIR} ${ASSETS_DEST_DIR})

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

multicomp_install(
    DIRECTORY
        ${ASSETS_DEST_DIR}/current/
        ${ASSETS_DEST_DIR}/user
    DESTINATION ./
    COMPONENTS Standalone Update
)