CLion ignores gradle script macros in highlighting and code completion
Hey,
I'm using gradle as a build environment for C++ in CLion. However macros defined in the scripts are ignored in highlighting and code completion.
compileTask.get().macros["BUILD_VERSION"] = "\"1.0.0\""
BUILD_VERSION in the c++ files is now marked red as unknown, but it compiles correctly and can be used as a string. It's the same for #ifdef #endif sections etc.
Please sign in to leave a comment.
Hello!
Is your project based on cpp-application or cpp-library plugins?
It is based on cpp-library. Do you need any more info?