diff --git a/Project-Setup.md b/Project-Setup.md index 611a8d3..dca36e1 100644 --- a/Project-Setup.md +++ b/Project-Setup.md @@ -32,7 +32,7 @@ directory containing `compile_commands.json`. ```zsh % cmake -H. -BDebug -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=YES -% ln -s Debug/compile_commands.json +% ln -s Debug/compile_commands.json . ``` Caveat on Windows: CMake dumps Windows shell command line directly into `command`, depends on how ccls was built, it may confuse this field as command line from a POSIX shell, in which Windows path separator '\\' is a escape character. You can use jq to convert such entries to use `arguments` which does not have this issue: