CLion's code analysis not finding headers created during build process

I opened a project in CLion 2016.1 ( which generates a few header files as the first part of its build process. The code compiles successfully but the files which use the header files display with numerous "Cannot resolve container ..." errors. This isn't surprising, but this was working in the previous CLion release I . I'll probably roll back if I can't figure out how to include the headers from the build directory.

Interestingly using Go to Declaration opens the header file in the build directory, so CLion does have that level of awareness. Is there a setting or Mark As operation that I need to do?


Please sign in to leave a comment.