Skip to content
This repository has been archived by the owner on Jul 30, 2020. It is now read-only.
DaanDeMeyer edited this page Jul 22, 2018 · 43 revisions

>>>> Getting started (CLICK HERE) <<<<

For more build instructions. And how to build on Windows, FreeBSD, OpenIndiana!

To tell cquery how to find the source tree in your project, you may create either .cquery or compile_commands.json in your project root. .cquery is easy and useful for simple projects. compile_commands.json allows for explicit specification of compilation command line for each source file.

You need to set up a language client for your editor to use definition/reference/hover/... and for some advanced cquery features some extension is needed.

Customization of cquery, e.g. indexing comments, using msgpack for cache files.

Some issues introduce diagnostic methods:

Contributing

Compile with CMAKE_BUILD_TYPE=Debug

# Run doctest tests
build/debug/bin/cquery --test-unit
# Run index tests (index_tests/**)
build/debug/bin/cquery --test-index

Some tips for Debugging