Tool/software: Code Composer Studio
I have a project (for C2000) with several C and H files. Today I added a new global predefined symbol: In project explorer right click on project->Show build settings->Build->C2000 Compiler->Predefined Symbols I added TEST_SYMBOL.
Then I recompiled the whole project and was surprised that only 54 out of 95 files were compiled with "--define=TEST_SYMBOL".
Moreover, when I opened one of the files that were compiled without "--define=TEST_SYMBOL" and put some of the code inside
#ifdef TEST_SYMBOL
#endif
the code between #ifdef and #endif was not grayed out, i.e. the IDE was seeing things different than the compiler/preprocessor. This is really annoying.
According to which rules are globally predefined symbols propagated to project members?
What do I have to do to #define a symbol that is to be seen by the preprocessor in every file when compiling the project?
Regards, Johannes