summaryrefslogtreecommitdiff
path: root/doc/ale-c.txt
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-03-27 19:24:22 +0100
committerw0rp <devw0rp@gmail.com>2018-03-27 19:24:22 +0100
commit95ec9bb780198d0ebc0f175debc286b43dd5fc27 (patch)
tree29cdaba53436e149ac9d7e26a672b8c7a4d4b920 /doc/ale-c.txt
parent018831d601a6fc53216ad448a91bb76b0ac4d8e3 (diff)
downloadale-95ec9bb780198d0ebc0f175debc286b43dd5fc27.zip
#1167 Use the make -n parsing for C++ compilers, and document the new option
Diffstat (limited to 'doc/ale-c.txt')
-rw-r--r--doc/ale-c.txt13
1 files changed, 12 insertions, 1 deletions
diff --git a/doc/ale-c.txt b/doc/ale-c.txt
index 08b83e80..c41f3bc8 100644
--- a/doc/ale-c.txt
+++ b/doc/ale-c.txt
@@ -31,7 +31,18 @@ g:ale_c_build_dir *g:ale_c_build_dir*
database (it can be useful if multiple builds are in multiple build
subdirectories in the project tree).
This feature is also most useful for the clang tools linters, wrapped
- aroung LibTooling (namely clang-tidy here)
+ around LibTooling (namely clang-tidy here)
+
+
+g:ale_c_parse_makefile *g:ale_c_parse_makefile*
+ *b:ale_c_parse_makefile*
+ Type: |Number|
+ Default: `0`
+
+ If set to `1`, ALE will run `make -n` to automatically determine flags to
+ set for C or C++ compilers. This can make it easier to determine the correct
+ build flags to use for different files.
+
===============================================================================
clang *ale-c-clang*