Note that the clang resource directory is hard-coded into ccls

uıɐɾ ʞ ʇɐɯɐs 2019-02-08 20:54:32 -08:00 committed by Fangrui Song
parent 517427649f
commit 655269f1d2

2
FAQ.md

@ -107,6 +107,8 @@ For CMake this can be achieved in a single line: `target_include_directories(<ta
#### Verify the Clang Resource Directory is correct #### Verify the Clang Resource Directory is correct
The clang resource directory is hard-coded into ccls at compile time.
Use the `--log-file` command line option to generate a log file and look for Use the `--log-file` command line option to generate a log file and look for
the line `initialize.cc:nnn I use -resource-dir=<path>`. Make sure the path the line `initialize.cc:nnn I use -resource-dir=<path>`. Make sure the path
`<path>` still exists and you can locate the file `<path>/include/stddef.h`. `<path>` still exists and you can locate the file `<path>/include/stddef.h`.