Build output parser misses some include paths [message #1857774] |
Fri, 24 February 2023 19:38 |
Vladimir Grishchenko Messages: 104 Registered: July 2009 |
Senior Member |
|
|
Seemingly some include paths specified by -I are missed as the clean build runs which then results in indexing errors. Interestingly if I then modify a single file that needs a missed include path and then build the project incrementally the build output parser picks up that path and the indexer is happy from that point on. I compared the compiler invocation command lines and they are exactly the same between clean and incremental builds. The makefiles are actually generated by cmake if that matters. I'm keeping discovered entries at the project level, this is not technically correct as source files in different folders can be compiled with different -I and -D values, but this is the only way I could make it work due to cmake using unity builds (I can't disable unity don't ask me why) with fused files kept outside of the source tree. This is on Linux. Any ideas?
[Updated on: Fri, 24 February 2023 19:40] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.02314 seconds