Skip to content

Commit

Permalink
Fix nasa#135, update cmake recipe
Browse files Browse the repository at this point in the history
Prefer target-scope properties over directory scope where applicable
  • Loading branch information
jphickey committed Apr 6, 2023
1 parent a5e8b4b commit 323672b
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
cmake_minimum_required(VERSION 3.5)
project(CFS_CI_LAB C)

include_directories(fsw/mission_inc)
include_directories(fsw/platform_inc)

aux_source_directory(fsw/src APP_SRC_FILES)
set(APP_SRC_FILES
fsw/src/ci_lab_app.c
fsw/src/ci_lab_dispatch.c
)

# Create the app module
add_cfe_app(ci_lab ${APP_SRC_FILES})

target_include_directories(ci_lab PUBLIC
fsw/mission_inc
fsw/platform_inc
)

0 comments on commit 323672b

Please sign in to comment.