lsp and cross compilation pitfalls
About The aim of this tutorial is to go over the creation of the compilation database(compile_commands.json) for cland lsp using cmake, and then more importantly expand on its limitations when it comes to cross compilation. Resources You can get all the source described bellow at the following repository. Creating the source code Understanding the include search order by clang++/g++ standard headers such as iostream or pthread(posix) are located by the compiler at standard paths, other headers(foo....