-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from nasa/feature/add_cmake
Add CmakeLists.txt
- Loading branch information
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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) |