Defining preprocessor symbols for CLion analyzer
问题 In my project there's a file enclosed in an ifdef preprocessor directive #ifdef SOME_SYMBOL ... entire file ... #endif SOME_SYMBOL is defined by another file that's compiled before this one, and the code works as expected, but the static analyzer isn't aware of this symbol and so it treats SOME_SYMBOL is undefined. The entire file has no syntax highlighting and some of the analysis is just skipped (e.g. syntax error highlighting). Is there a way to tell the analyzer to treat this symbol as