-
Notifications
You must be signed in to change notification settings - Fork 11
/
CMakeLists.txt
28 lines (23 loc) · 1.02 KB
/
CMakeLists.txt
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
26
27
28
cmake_minimum_required(VERSION 2.6.4)
project(TO C)
include_directories(fsw/mission_inc)
include_directories(fsw/platform_inc)
include_directories(fsw/src)
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
include_directories(${ci_MISSION_DIR}/fsw/platform_inc)
include_directories(${ci_MISSION_DIR}/fsw/mission_inc)
include_directories(${ci_MISSION_DIR}/fsw/src)
include_directories(${io_lib_MISSION_DIR}/fsw/public_inc/)
include_directories(${MISSION_SOURCE_DIR}/apps/inc)
include_directories(${MISSION_SOURCE_DIR}/apps/cf/fsw/platform_inc)
include_directories(${MISSION_SOURCE_DIR}/apps/sch/fsw/platform_inc)
include_directories(${MISSION_SOURCE_DIR}/apps/hs/fsw/platform_inc)
include_directories(${MISSION_SOURCE_DIR}/apps/hk/fsw/platform_inc)
aux_source_directory(fsw/src APP_SRC_FILES)
# Create the app module
add_cfe_app(to ${APP_SRC_FILES})
if (COMMAND add_cfe_tables)
include_directories(fsw/tables)
aux_source_directory(fsw/tables APP_TBL_FILES)
add_cfe_tables(to fsw/tables/to_config.c)
endif(COMMAND add_cfe_tables)