diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2023-09-11 11:59:27 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-09-11 11:59:27 +0200 |
commit | 9c7aaf839025e58b25d1bb37afb2c11d36985dcb (patch) | |
tree | 5555e9829b492f747a95cabd25a9bd71c7eef2af /xsd/xsd/cxx/options.cli | |
parent | 7d26ea59564e573b9f8a1f025f7fd5df24ee2e80 (diff) |
Add --dep-file option
In particular, this now allows writing the dependency information to stdout by
specifying `-` as this option's value.
Diffstat (limited to 'xsd/xsd/cxx/options.cli')
-rw-r--r-- | xsd/xsd/cxx/options.cli | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/xsd/xsd/cxx/options.cli b/xsd/xsd/cxx/options.cli index 1eb1b61..1be7607 100644 --- a/xsd/xsd/cxx/options.cli +++ b/xsd/xsd/cxx/options.cli @@ -500,7 +500,7 @@ namespace CXX generated files on the main schema file as well as all the schema files that it includes/imports, transitively. This dependency file is then normally included into the main \cb{makefile} to implement - automatic dependency tracking. + automatic dependency tracking. See also the \cb{--dep-*} options. Note also that automatic dependency generation is not supported in the file-per-type mode (\cb{--file-per-type}). In this case, all @@ -536,8 +536,16 @@ namespace CXX NarrowString --dep-suffix = ".d" { "<suffix>", - "Use the provided <suffix> instead of the default \cb{.d} to - construct the name of the dependency file." + "Use <suffix> instead of the default \cb{.d} to construct the name of + the dependency file. See also \cb{--dep-file}." + }; + + NarrowString --dep-file + { + "<path>", + "Use <path> as the generated dependency file path instead of deriving + it from the input file name. Write the dependency information to + \cb{stdout} if <path> is \cb{-}. See also \cb{--dep-regex}." }; NarrowString --dep-regex |