Multiple Configuration Folders #1525
-
Hi, One of the components I am writing has a configuration header filer, similar to multiple other fprime components. However, since I have the fprime folder as a submodule in my repository, I cannot place the header file in the same config file as the rest of the fprime components. Is it possible to point fprime to look at multiple configuration folders? I tried to set the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
You can do the following:
You will now be able to use fprime's config directory plus your config directory. |
Beta Was this translation helpful? Give feedback.
You can do the following:
config
config
, let's call this config file MyConfigFile.hppinclude_directories("${CMAKE_CURRENT_LIST_DIR}/config")
. You may need to update this path to use the correct path toconfig
#include "MyConfigFile.hpp"
.You will now be able to use fprime's config directory plus your config directory.