diff options
author | Brad King <brad.king@kitware.com> | 2015-05-28 13:24:26 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-05-28 13:50:25 (GMT) |
commit | c113a2b0a0c931f0a83a3cc27f13fd34687a92c0 (patch) | |
tree | 9b06a8eac1fa36f1b52b4c283da1f5722d8a0275 /doc | |
parent | 0a88049be999aafdbc8134592c6e7d1449bca57b (diff) | |
download | CastXML-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.rst | 2 |
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`_. |