From 1de2e698103e80864019a97106fe61b8501a201c Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 8 May 2002 17:45:56 -0400 Subject: ENH: Added coverage test for ITK_WRAP_TCL. Doesn't actually invoke CABLE. --- Tests/Wrapping/CMakeLists.txt | 11 +++++++++++ Tests/Wrapping/itkWrapperConfig.cxx | 0 2 files changed, 11 insertions(+) create mode 100644 Tests/Wrapping/itkWrapperConfig.cxx 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 -- cgit v0.12