diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-06-21 15:01:41 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-06-21 15:01:41 +0200 |
commit | 85399cf60764b0fe54d44d4a5bacb54feae8dd62 (patch) | |
tree | 8d0bead9007ab1f92c6214e9a0062ff78c798876 /doc | |
parent | 131b0a852e70ecd198c4f769aff1435639cd35c6 (diff) |
Add support for [config.]{cc,c,cxx}.aoptions (archive options)
In particular, this can be used to suppress lib.exe warnings, for example:
cc.aoptions += /IGNORE:4221
Diffstat (limited to 'doc')
-rw-r--r-- | doc/manual.cli | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/doc/manual.cli b/doc/manual.cli index b145818..ac6cb24 100644 --- a/doc/manual.cli +++ b/doc/manual.cli @@ -1349,9 +1349,19 @@ int main () \ \N|Besides \c{poptions}, there are also \c{coptions} (compile options), -\c{loptions} (link options) and \c{libs} (extra libraries to link). If you are -familiar with \c{make}, these are roughly equivalent to \c{CPPFLAGS}, -\c{CFLAGS}/\c{CXXFLAGS}, \c{LDFLAGS}, and \c{LIBS}. +\c{loptions} (link options), \c{aoptions} (archive options) and \c{libs} +(extra libraries to link). If you are familiar with \c{make}, these are +roughly equivalent to \c{CPPFLAGS}, \c{CFLAGS}/\c{CXXFLAGS}, \c{LDFLAGS}, +\c{ARFLAGS}, and \c{LIBS}, respectively. Here they are again in the tabular +form: + +\ +*.poptions preprocess CPPFLAGS +*.coptions compile CFLAGS/CXXFLAGS +*.loptions link LDFLAGS +*.aoptions archive ARFLAGS +*.libs extra libraries LIBS +\ More specifically, there are three sets of these variables: \c{cc.*} (stands for \i{C-common}) which applies to all C-like languages as well as \c{c.*} and @@ -1663,6 +1673,7 @@ config.cxx = clang++ config.cxx.poptions = [null] config.cxx.coptions = -g config.cxx.loptions = [null] +config.cxx.aoptions = [null] config.cxx.libs = [null] ... \ @@ -1681,6 +1692,7 @@ config.cxx = g++ config.cxx.poptions = [null] config.cxx.coptions = -g config.cxx.loptions = [null] +config.cxx.aoptions = [null] config.cxx.libs = [null] ... \ @@ -2975,6 +2987,7 @@ config.cxx = clang++ config.cxx.poptions = [null] config.cxx.coptions = -g config.cxx.loptions = [null] +config.cxx.aoptions = [null] config.cxx.libs = [null] ... |