summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorCong Zhang <congzhangzh@gmail.com>2016-10-30 15:56:37 (GMT)
committerBrad King <brad.king@kitware.com>2016-11-01 14:10:08 (GMT)
commit8444b984a29392c32a13521cc0e3d40788cc9530 (patch)
treec8276876040d8d6d5c310667738b50c908ac48aa /Help
parent4c7de5d3940cdf7b648d89642968c95168949182 (diff)
downloadCMake-8444b984a29392c32a13521cc0e3d40788cc9530.zip
CMake-8444b984a29392c32a13521cc0e3d40788cc9530.tar.gz
CMake-8444b984a29392c32a13521cc0e3d40788cc9530.tar.bz2
UseSWIG: Add option to specify swig output file directory
`swig` has two output-related options: * `-o <outfile>`: Set name of C/C++ output file to <outfile> * `-outdir <dir>`: Set language-specific files output directory to <dir> We already have `CMAKE_SWIG_OUTDIR` for the latter. Add a new `SWIG_OUTFILE_DIR` option for the former.
Diffstat (limited to 'Help')
-rw-r--r--Help/release/dev/UseSWIG-SWIG_OUTFILE_DIR.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Help/release/dev/UseSWIG-SWIG_OUTFILE_DIR.rst b/Help/release/dev/UseSWIG-SWIG_OUTFILE_DIR.rst
new file mode 100644
index 0000000..c001a88
--- /dev/null
+++ b/Help/release/dev/UseSWIG-SWIG_OUTFILE_DIR.rst
@@ -0,0 +1,6 @@
+UseSWIG-SWIG_OUTFILE_DIR
+------------------------
+
+* The :module:`UseSWIG` module ``swig_add_source_to_module`` command
+ learned a new ``SWIG_OUTFILE_DIR`` option to control the output
+ file location (``swig -o``).