summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/UseSWIG/example.i
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@sap.com>2018-01-29 08:46:51 (GMT)
committerMarc Chevrier <marc.chevrier@sap.com>2018-02-14 07:35:04 (GMT)
commitd6048bd153979c268a2943b26fd71be7c5f11251 (patch)
treeb45637ba609ca2e429249c7baa084a6839fde99b /Tests/RunCMake/UseSWIG/example.i
parentd870148537319da2e86237cbd8baf6815975e594 (diff)
downloadCMake-d6048bd153979c268a2943b26fd71be7c5f11251.zip
CMake-d6048bd153979c268a2943b26fd71be7c5f11251.tar.gz
CMake-d6048bd153979c268a2943b26fd71be7c5f11251.tar.bz2
UseSWIG: Re-work test framework
Diffstat (limited to 'Tests/RunCMake/UseSWIG/example.i')
-rw-r--r--Tests/RunCMake/UseSWIG/example.i9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/RunCMake/UseSWIG/example.i b/Tests/RunCMake/UseSWIG/example.i
new file mode 100644
index 0000000..fbdf724
--- /dev/null
+++ b/Tests/RunCMake/UseSWIG/example.i
@@ -0,0 +1,9 @@
+/* File : example.i */
+%module example
+
+%{
+#include "example.h"
+%}
+
+/* Let's just grab the original header file here */
+%include "example.h"