A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/jacobdufault/cquery/wiki/.cquery below:

.cquery · jacobdufault/cquery Wiki · GitHub

Another way is to create a file named .cquery located in the project root. cquery recursively finds source files and indexes them. .cquery can also exist in subdirectories which will affect the options in its subtree. Notice If you use emacs-cquery, read the document of cquery-project-root-matchers to locate the project root correctly.

If %clang is used, it expands to clang/clang++ according to the extension name. Prefix options with %c or %cpp to make it specific to C or C++.

Example .cquery:

%clang
%c -std=gnu11
%cpp -std=gnu++14
-pthread

# Includes
-I/work/cquery/third_party
-I/work/cquery/another_third_party
# -I space_is_not_allowed

Note: .cquery does not do word splitting or command substitution for you, you cannot use `command` or space-separated arguments like %cpp -std=gnu++14 -pthread


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4