Skip to content

Commit

Permalink
ENH: Remove support for wrapping with TCL
Browse files Browse the repository at this point in the history
The TCL bindings are not tested.  This batch of untested
code makes refactoring the wrapping process more difficult
as it requires changes to code that is very unlikely to be
used.
  • Loading branch information
hjmjohnson committed Feb 23, 2022
1 parent 1ab3807 commit dedcefa
Show file tree
Hide file tree
Showing 57 changed files with 1 addition and 3,508 deletions.
3 changes: 0 additions & 3 deletions CMake/ITKConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,6 @@ endif()
if( NOT DEFINED ITK_WRAP_PERL)
set(ITK_WRAP_PERL "@ITK_WRAP_PERL@")
endif()
if(NOT DEFINED ITK_WRAP_TCL)
set(ITK_WRAP_TCL "@ITK_WRAP_TCL@")
endif()

# Set up the rest of the variables that WrapITK was built with.
set(ITK_WRAP_unsigned_char @ITK_WRAP_unsigned_char@)
Expand Down
3 changes: 0 additions & 3 deletions CMake/ITKModuleExternal.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,6 @@ if(ITK_WRAPPING)
"ITK_WRAP_RUBY" OFF)
CMAKE_DEPENDENT_OPTION(${itk-module}_WRAP_PERL "Build Perl support." ${ITK_WRAP_PERL}
"ITK_WRAP_PERL" OFF)
CMAKE_DEPENDENT_OPTION(${itk-module}_WRAP_TCL "Build Tcl support." ${ITK_WRAP_TCL}
"ITK_WRAP_TCL" OFF)
CMAKE_DEPENDENT_OPTION(${itk-module}_WRAP_EXPLICIT "Build Explicit support." OFF
"ITK_WRAP_EXPLICIT" OFF)
CMAKE_DEPENDENT_OPTION(${itk-module}_WRAP_DOC "Build Doxygen support." OFF
Expand All @@ -211,7 +209,6 @@ if(ITK_WRAPPING)
${itk-module}_WRAP_JAVA OR
${itk-module}_WRAP_RUBY OR
${itk-module}_WRAP_PERL OR
${itk-module}_WRAP_TCL OR
${itk-module}_WRAP_EXPLICIT OR
${itk-module}_WRAP_DOC
)
Expand Down
1 change: 0 additions & 1 deletion Wrapping/ConfigureWrapping.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
# projects.
#
# The following variables should be set before including this file:
# ITK_WRAP_TCL
# ITK_WRAP_PYTHON
# ITK_WRAP_JAVA
# ITK_WRAP_unsigned_char
Expand Down
26 changes: 0 additions & 26 deletions Wrapping/Generators/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ macro(itk_wrap_modules_all_generators)
add_subdirectory(${ITK_WRAP_PYTHON_SOURCE_DIR}/PyBase)
endif()
endif()
if(${module_prefix}_WRAP_TCL)
if(NOT EXTERNAL_WRAP_ITK_PROJECT)
add_subdirectory(${ITK_WRAP_TCL_SOURCE_DIR}/TclBase)
endif()
endif()
if(${module_prefix}_WRAP_JAVA)
if(NOT EXTERNAL_WRAP_ITK_PROJECT)
add_subdirectory(${ITK_WRAP_JAVA_SOURCE_DIR}/JavaBase)
Expand Down Expand Up @@ -57,9 +52,6 @@ macro(itk_wrap_module_all_generators library_name)
if(${module_prefix}_WRAP_PYTHON AND WRAPPER_LIBRARY_PYTHON)
itk_wrap_module_python("${library_name}")
endif()
if(${module_prefix}_WRAP_TCL AND WRAPPER_LIBRARY_TCL)
itk_wrap_module_tcl("${library_name}")
endif()
if(${module_prefix}_WRAP_RUBY AND WRAPPER_LIBRARY_RUBY)
itk_wrap_module_ruby("${library_name}")
endif()
Expand All @@ -86,9 +78,6 @@ macro(itk_wrap_submodule_all_generators module)
if(${module_prefix}_WRAP_PYTHON AND WRAPPER_LIBRARY_PYTHON)
itk_wrap_submodule_python("${module}" "${WRAPPER_LIBRARY_NAME}")
endif()
if(${module_prefix}_WRAP_TCL AND WRAPPER_LIBRARY_TCL)
itk_wrap_submodule_tcl("${module}")
endif()
if(${module_prefix}_WRAP_RUBY AND WRAPPER_LIBRARY_RUBY)
itk_wrap_submodule_ruby("${module}")
endif()
Expand All @@ -111,9 +100,6 @@ macro(itk_end_wrap_submodule_all_generators module)
if(${module_prefix}_WRAP_PYTHON AND WRAPPER_LIBRARY_PYTHON)
itk_end_wrap_submodule_python("${module}")
endif()
if(${module_prefix}_WRAP_TCL AND WRAPPER_LIBRARY_TCL)
itk_end_wrap_submodule_tcl("${module}")
endif()
if(${module_prefix}_WRAP_RUBY AND WRAPPER_LIBRARY_RUBY)
itk_end_wrap_submodule_ruby("${module}")
endif()
Expand All @@ -134,9 +120,6 @@ macro(itk_wrap_named_class_all_generators class swig_name)
if(${module_prefix}_WRAP_PYTHON AND WRAPPER_LIBRARY_PYTHON)
itk_wrap_named_class_python("${class}" "${swig_name}")
endif()
if(${module_prefix}_WRAP_TCL AND WRAPPER_LIBRARY_TCL)
itk_wrap_named_class_tcl("${class}" "${swig_name}")
endif()
if(${module_prefix}_WRAP_RUBY AND WRAPPER_LIBRARY_RUBY)
itk_wrap_named_class_ruby("${class}" "${swig_name}")
endif()
Expand Down Expand Up @@ -175,9 +158,6 @@ macro(itk_wrap_template_all_generators name types)
if(${module_prefix}_WRAP_PYTHON AND WRAPPER_LIBRARY_PYTHON)
itk_wrap_template_python("${name}" "${types}")
endif()
if(${module_prefix}_WRAP_TCL AND WRAPPER_LIBRARY_TCL)
itk_wrap_template_tcl("${name}" "${types}")
endif()
if(${module_prefix}_WRAP_RUBY AND WRAPPER_LIBRARY_RUBY)
itk_wrap_template_ruby("${name}" "${types}")
endif()
Expand All @@ -201,9 +181,6 @@ macro(itk_wrap_one_type_all_generators wrap_method wrap_class swig_name template
if(${module_prefix}_WRAP_PYTHON AND WRAPPER_LIBRARY_PYTHON)
itk_wrap_one_type_python("${wrap_method}" "${wrap_class}" "${swig_name}" "${template_params}")
endif()
if(${module_prefix}_WRAP_TCL AND WRAPPER_LIBRARY_TCL)
itk_wrap_one_type_tcl("${wrap_method}" "${wrap_class}" "${swig_name}" "${template_params}")
endif()
if(${module_prefix}_WRAP_RUBY AND WRAPPER_LIBRARY_RUBY)
itk_wrap_one_type_ruby("${wrap_method}" "${wrap_class}" "${swig_name}" "${template_params}")
endif()
Expand All @@ -221,9 +198,6 @@ macro(itk_wrap_simple_type_all_generators wrap_class swig_name)
if(${module_prefix}_WRAP_PYTHON AND WRAPPER_LIBRARY_PYTHON)
itk_wrap_simple_type_python("${wrap_class}" "${swig_name}")
endif()
if(${module_prefix}_WRAP_TCL AND WRAPPER_LIBRARY_TCL)
itk_wrap_simple_type_tcl("${wrap_class}" "${swig_name}")
endif()
if(${module_prefix}_WRAP_RUBY AND WRAPPER_LIBRARY_RUBY)
itk_wrap_simple_type_ruby("${wrap_class}" "${swig_name}")
endif()
Expand Down
Loading

0 comments on commit dedcefa

Please sign in to comment.