Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #55, Moves interface definition files to inc #56

Merged
merged 1 commit into from
Dec 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
project(CFS_CS C)

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

set(APP_SRC_FILES
fsw/src/cs_cmds.c
fsw/src/cs_table_processing.c
Expand All @@ -20,6 +16,9 @@ set(APP_SRC_FILES
# Create the app module
add_cfe_app(cs ${APP_SRC_FILES})

# This permits direct access to public headers in the fsw/inc directory
target_include_directories(cs PUBLIC fsw/inc)

set(APP_TABLE_FILES
fsw/tables/cs_apptbl.c
fsw/tables/cs_eepromtbl.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.
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 @@ -24,8 +24,10 @@ add_cfe_coverage_stubs("cs_internal"
# Link with the cfe core stubs and unit test assert libs
target_link_libraries(coverage-cs_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-cs_internal-stubs PUBLIC utilities)
target_include_directories(coverage-cs_internal-stubs PUBLIC ../fsw/inc)
target_include_directories(coverage-cs_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