Fix: Missing Headers#380
Conversation
This project has CMAKE_UNITY_BUILD enabled, which results in some header files not being introduced where they are really needed, but being spread to the current unit through other units.
|
I'm not sure what meaing lsp is, in my test on Windows / macOS, build is OK, and IDE lint is OK (I use CLion as IDE). I'm confused about unity build broken your what ? By the way, |
Haha, I was overthinking it. I have already revoked the commit. |
|
Merged, thanks for your contribution. |
In order to make lsp work properly, I need to turn off some or all of CMAKE_UNITY_BUILD. I personally recommend providing a cmake preset that does not use this option by default, and a FAST preset for developers who want to speed up compilation.