Skip to content

Commit

Permalink
Fix nasa#54, Moves interface definition files to inc
Browse files Browse the repository at this point in the history
  • Loading branch information
chillfig committed Dec 6, 2022
1 parent 919896a commit 5b3f3eb
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
project(CFS_HS C)

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

set(APP_SRC_FILES
fsw/src/hs_monitors.c
fsw/src/hs_utils.c
Expand All @@ -15,6 +11,10 @@ set(APP_SRC_FILES
# Create the app module
add_cfe_app(hs ${APP_SRC_FILES})

# This permits direct access to public headers in the fsw/inc and fsw/src directories
target_include_directories(hs PUBLIC fsw/inc)
target_include_directories(hs PUBLIC fsw/src)

set(APP_TABLE_FILES
fsw/tables/hs_mat.c
fsw/tables/hs_xct.c
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 3 additions & 1 deletion unit-test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ add_cfe_coverage_stubs("hs_internal"
# Link with the cfe core stubs and unit test assert libs
target_link_libraries(coverage-hs_internal-stubs ut_core_api_stubs ut_assert)

# Include and expose unit test utilities includes
# Include and expose unit test utilities, fsw/inc, and fsw/src includes
target_include_directories(coverage-hs_internal-stubs PUBLIC utilities)
target_include_directories(coverage-hs_internal-stubs PUBLIC ../fsw/inc)
target_include_directories(coverage-hs_internal-stubs PUBLIC ../fsw/src)

# Generate a dedicated "testrunner" executable for each test file
# Accomplish this by cycling through all the app's source files, there must be
Expand Down

0 comments on commit 5b3f3eb

Please sign in to comment.