From 655a66c05f250c97db5c1ca022dd4a14e967f40a Mon Sep 17 00:00:00 2001 From: Joseph Hickey Date: Thu, 8 Oct 2020 09:05:59 -0400 Subject: [PATCH] Update #940, add ifndef values for new fields Adds an #ifndef empty string for the two new fields, which at the very least prevents IDEs (e.g. Eclipse) from redlining the value as an undefined symbol. (It is always passed in on command line when building via CMake) --- cmake/target/src/target_config.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cmake/target/src/target_config.c b/cmake/target/src/target_config.c index 9ba74d59f..bbf33104b 100644 --- a/cmake/target/src/target_config.c +++ b/cmake/target/src/target_config.c @@ -54,6 +54,13 @@ #define CFE_SPACECRAFT_ID_VALUE 0x42 #endif +#ifndef CFE_DEFAULT_MODULE_EXTENSION +#define CFE_DEFAULT_MODULE_EXTENSION "" +#endif + +#ifndef CFE_DEFAULT_CORE_FILENAME +#define CFE_DEFAULT_CORE_FILENAME "" +#endif Target_CfeConfigData GLOBAL_CFE_CONFIGDATA = {