From 1051145ce33332d9c8316e4cd6ad7a6bb0aad1a0 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Sun, 8 Apr 2018 09:35:55 -0700 Subject: [PATCH] Homebrew and AUR --- Getting-started.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Getting-started.md b/Getting-started.md index 5e30a89..78556d6 100644 --- a/Getting-started.md +++ b/Getting-started.md @@ -19,6 +19,9 @@ cmake --build release The executable is at `release/ccls`. +* Mac OS X: [homebrew-ccls](https://github.com/twlz0ne/homebrew-ccls) +* Arch Linux: [aur/ccls-git](https://aur.archlinux.org/packages/ccls-git) + ### Project setup #### [[compile_commands.json]] (Best) @@ -45,12 +48,12 @@ Example `.ccls`: # -I space_is_not_allowed ``` Note: -`.ccls` does not do `word` splitting or `command` substitution for you, -you cannot use `` `command` `` or space-separated arguments like `%cpp -std=gnu++14 -pthread` +`.ccls` does not do *word splitting* or *command substitution* for you, +you cannot use space-separated arguments like `%cpp -std=gnu++14 -pthread` ### Windows -If your project is compiled with MSVC, you may change the compiler driver to `clang-cl`, and use the initialization option `extraClangArguments` pass three options: +If your project is compiled with MSVC, you may change the compiler driver (`%clang` above) to `clang-cl`, and use the initialization option `extraClangArguments` to pass three options: `-fms-extensions -fms-compatibility -fdelayed-template-parsing`. See https://clang.llvm.org/docs/MSVCCompatibility.html