ENH: add directive '#sinclude' (or '#includeIfPresent' as long name)

- consistency with make and more succinct.

- reduce code duplication in findEtcFiles.
This commit is contained in:
Mark Olesen
2018-05-28 13:38:03 +02:00
parent e3bb7ffd25
commit d318a630b6
13 changed files with 295 additions and 411 deletions

View File

@ -59,7 +59,7 @@ Usage
the resulting dictionary to standard output.
- \par -includes
List the \c \#include and \c \#includeIfPresent files to standard output
List the \c \#include and \c \#sinclude files to standard output
- \par -disableFunctionEntries
Do not expand macros or directives (\#include etc)
@ -307,7 +307,7 @@ int main(int argc, char *argv[])
argList::addBoolOption
(
"includes",
"List the #include/#includeIfPresent files to standard output"
"List the #include/#sinclude files to standard output"
);
argList::addBoolOption
(