summaryrefslogtreecommitdiffstats
path: root/Tests/Wrapping
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2002-05-08 21:45:56 (GMT)
committerBrad King <brad.king@kitware.com>2002-05-08 21:45:56 (GMT)
commit1de2e698103e80864019a97106fe61b8501a201c (patch)
tree5c14aa4c7738164daab0ce6c246c8ec74ffdb866 /Tests/Wrapping
parentb272f6455f1103353af2b9b962e55d5112cbfed8 (diff)
downloadCMake-1de2e698103e80864019a97106fe61b8501a201c.zip
CMake-1de2e698103e80864019a97106fe61b8501a201c.tar.gz
CMake-1de2e698103e80864019a97106fe61b8501a201c.tar.bz2
ENH: Added coverage test for ITK_WRAP_TCL. Doesn't actually invoke CABLE.
Diffstat (limited to 'Tests/Wrapping')
-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