You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If we want to put all tables source files in global *_defs directory in a tables dir inside *_defs they need to be able to access *_table.h which would be in the respective app's src directory.
To Reproduce
Steps to reproduce the behavior:
Create directory in sample_defs called "tables"
Move sample_table.c into sample_defs/tables directory
Build cFS (make SIMULATION=native prep, make)
Build will fail because sample_table.c can't find sample_table.h
Expected behavior
Need to be able to provide includes to sample_defs/tables. As a "hack" I add a "include_directories(fsw/src)" in CMakeLists.txt in apps/sample_app which allows sample_table.c to compile from sample_defs/tables.