cquery uses the CMake build system. For more information on building cquery, see Building cquery.
Setup your editor
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. See Editor configuration for more information.
Setup your Project : generate
cquery needs to know how your project is built so it can resolve includes and provide correct diagnostics. cquery can get this information from either one of the sources.
compile_commands.jsonfor large build system or
.cqueryto quick testing.