CMake Zephyr project won't recognize defines from autoconf.h without #include "autoconf.h"


I am trying to write a BLE Zephyr project for the NRF52833. CLion doesn't seem to recognize that autoconf.h is included in all files via the build system. This means I have to manually add #include "autoconf.h" to all files for CLion to parse them properly, even though the files will build without issue if the #include line isn't there. Is there anything I can add to my CMakeLists.txt file (or some other file) to get CLion to properly handle autoconf.h?



Sounds related to (see which is marked as a duplicate of this issue). CPP-8733 is in progress right now, feel free to comment or upvote the issue in order to get updates. See if you are not familiar with YouTrack.


Awesome, glad to hear it's being worked on!


Please sign in to leave a comment.