summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Tests/Wrapping/CMakeLists.txt11
-rw-r--r--Tests/Wrapping/itkWrapperConfig.cxx0
2 files changed, 11 insertions, 0 deletions
diff --git a/Tests/Wrapping/CMakeLists.txt b/Tests/Wrapping/CMakeLists.txt
index ebff170..9276a2b 100644
--- a/Tests/Wrapping/CMakeLists.txt
+++ b/Tests/Wrapping/CMakeLists.txt
@@ -123,3 +123,14 @@ VTK_MAKE_INSTANTIATOR(vtkWraplibInstantiator
EXPORT_MACRO VTK_WRAPLIB_EXPORT
HEADER_LOCATION ${Wrapping_BINARY_DIR}
GROUP_SIZE 5)
+
+#
+# ITK Tcl Wrapping
+#
+SET(CABLE "echo")
+SET(CABLE_INCLUDE_DIR ${Wrapping_SOURCE_DIR})
+ADD_LIBRARY(wrapITK)
+ITK_WRAP_TCL(wrapITK itkWrapperConfig.cxx)
+CONFIGURE_FILE(${Wrapping_SOURCE_DIR}/itkWrapperConfig.cxx
+ ${Wrapping_BINARY_DIR}/itkWrapperConfig_tcl.cxx
+ COPYONLY IMMEDIATE)
diff --git a/Tests/Wrapping/itkWrapperConfig.cxx b/Tests/Wrapping/itkWrapperConfig.cxx
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/Tests/Wrapping/itkWrapperConfig.cxx