-
Notifications
You must be signed in to change notification settings - Fork 0
/
arch_build.cmake
25 lines (22 loc) · 891 Bytes
/
arch_build.cmake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
###########################################################
#
# CFE arch/platform build setup
#
# This file is evaluated as part of the "prepare" stage
# and can be used to set up prerequisites for the build,
# such as generating header files
#
###########################################################
# Generate the "cfe_platform_cfg.h" and "cfe_msgids.h" header files
# these must come from mission config
generate_config_includefile(
FILE_NAME "cfe_platform_cfg.h"
FALLBACK_FILE "${CMAKE_CURRENT_LIST_DIR}/config/default_cfe_platform_cfg.h"
MATCH_SUFFIX "platform_cfg.h"
PREFIXES ${BUILD_CONFIG} cfe
)
generate_config_includefile(
FILE_NAME "cfe_core_private_internal_cfg.h"
FALLBACK_FILE "${CMAKE_CURRENT_LIST_DIR}/config/default_cfe_core_private_internal_cfg.h"
PREFIXES ${BUILD_CONFIG}
)