I am using Clion to edit C code that I compile with another IDE (CodeVisionAVR).
Unfortunately the preprocessor constants (eg #DEFINE DUMMY_CONST) that I declare in one *.h file are not visible in other project *.h files.
When I created my C lion project I added all C and H files as existing sources.
The Intellisense works perfectly And each preprocessor constant from *.h file is visible in *.c files after included. This isn;t the case in my CodeVisionAVR IDE which Compiles the source code correctly so maybe I should set up something in Clion?