summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-05-28 13:24:26 (GMT)
committerBrad King <brad.king@kitware.com>2015-05-28 13:50:25 (GMT)
commitc113a2b0a0c931f0a83a3cc27f13fd34687a92c0 (patch)
tree9b06a8eac1fa36f1b52b4c283da1f5722d8a0275 /doc
parent0a88049be999aafdbc8134592c6e7d1449bca57b (diff)
downloadCastXML-c113a2b0a0c931f0a83a3cc27f13fd34687a92c0.zip
CastXML-c113a2b0a0c931f0a83a3cc27f13fd34687a92c0.tar.gz
CastXML-c113a2b0a0c931f0a83a3cc27f13fd34687a92c0.tar.bz2
castxml: Allow -target option to override --castxml-cc-<id> detection
If the command line contains an explicit '-target' option then do not consider the target platform detected from any --castxml-cc-<id> option. Instead simply honor the explicitly requested target. This will be particularly helpful for targets that CastXML has not learned to detect.
Diffstat (limited to 'doc')
-rw-r--r--doc/manual/castxml.1.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/manual/castxml.1.rst b/doc/manual/castxml.1.rst
index ca555f9..a1a0172 100644
--- a/doc/manual/castxml.1.rst
+++ b/doc/manual/castxml.1.rst
@@ -43,6 +43,8 @@ Remaining options are given to the internal Clang compiler.
``<cc>`` names a compiler (e.g. ``/usr/bin/gcc`` or ``cl``) and
``<cc-opt>...`` specifies options that may affect its target
(e.g. ``-m32``).
+ The target platform detected from the given compiler may be
+ overridden by a separate Clang ``-target`` option.
``--castxml-gccxml``
Generate XML output in a format close to that of `gccxml`_.