summaryrefslogtreecommitdiffstats
path: root/Tests/UseSWIG/SwigSrcOUTPUT_DIR/bar.i
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2020-09-30 16:47:42 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2020-09-30 17:19:14 (GMT)
commit4a81a0ce3d6cfc923f399b9933ca2ec87a31be5e (patch)
treedb74fbe974420a8099db04dcc4bf12117bf57c60 /Tests/UseSWIG/SwigSrcOUTPUT_DIR/bar.i
parentd91c3e33cbf9592f90f65bd7d990a8b54ad140d1 (diff)
downloadCMake-4a81a0ce3d6cfc923f399b9933ca2ec87a31be5e.zip
CMake-4a81a0ce3d6cfc923f399b9933ca2ec87a31be5e.tar.gz
CMake-4a81a0ce3d6cfc923f399b9933ca2ec87a31be5e.tar.bz2
UseSWIG: Add OUTPUT_DIR and OUTFILE_DIR source file properties
These properties enable to manage output directories on per source file basis. Fixes: #21250
Diffstat (limited to 'Tests/UseSWIG/SwigSrcOUTPUT_DIR/bar.i')
-rw-r--r--Tests/UseSWIG/SwigSrcOUTPUT_DIR/bar.i8
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/UseSWIG/SwigSrcOUTPUT_DIR/bar.i b/Tests/UseSWIG/SwigSrcOUTPUT_DIR/bar.i
new file mode 100644
index 0000000..539f32a
--- /dev/null
+++ b/Tests/UseSWIG/SwigSrcOUTPUT_DIR/bar.i
@@ -0,0 +1,8 @@
+%module Bar
+
+%{
+#include <bar.hpp>
+%}
+
+// %nspace cs::my_class_in_namespace;
+%include <bar.hpp>