From 3bea1b29fbfbca4917e1a3eaa7a44302c7b9c713 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Thu, 18 Jan 2018 15:14:36 -0800 Subject: [PATCH] [emacs] redirect to https://github.com/cquery-project/emacs-cquery and clean up README --- README.md | 33 ++++----------------------------- 1 file changed, 4 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index 5445a8f3..f64d2bee 100644 --- a/README.md +++ b/README.md @@ -13,11 +13,10 @@ cquery implements almost the entire language server protocol and provides some extra features to boot: * code completion (with both signature help and snippets) - * references + * finding definition/references * type hierarchy (parent type, derived types, expandable tree view) - * calls to functions, calls to base and derived functions, call tree + * finding base/derived methods/classes, call tree * symbol rename - * goto definition, goto base method * document and global symbol search * hover tooltips showing symbol type * diagnostics @@ -34,33 +33,9 @@ There are three steps to get cquery up and running. Eventually, cquery will be published in the vscode extension marketplace which will reduce these three steps to only project setup. -## Build cquery +## [Getting started](https://github.com/jacobdufault/cquery/wiki/Getting-started) -Building cquery is simple. The external dependencies are few: - -- relatively modern c++11 compiler (ie, clang 3.4 or greater) -- python -- git - -```bash -$ clang --version # if missing, sudo apt-get install clang -$ git clone https://github.com/jacobdufault/cquery --single-branch -$ cd cquery -$ git submodule update --init -$ ./waf configure --prefix ~/.local/stow/cquery # --prefix is optional, it specifies install directory -$ ./waf build # -g -O3, built build/release/bin/cquery -$ ./waf install # optional, copies the executable to $PREFIX/bin/cquery -``` - -For a debug build: - -```bash -$ ./waf configure --variant=debug -$ ./waf build --variant=debug # -g -O0, built build/debug/bin/cquery -``` - -See [wiki](https://github.com/jacobdufault/cquery/wiki) for more build instructions -(e.g. using system clang instead of bundled clang+llvm) and other topics. +And [wiki/Build](https://github.com/jacobdufault/cquery/wiki/Build). ## Install extension