Skip to content

Commit

Permalink
ENH: Remove support for wrapping with PERL
Browse files Browse the repository at this point in the history
The PERL 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 dedcefa commit e49cc53
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 17 deletions.
3 changes: 0 additions & 3 deletions CMake/ITKConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,6 @@ endif()
if(NOT DEFINED ITK_WRAP_RUBY)
set(ITK_WRAP_RUBY "@ITK_WRAP_RUBY@")
endif()
if( NOT DEFINED ITK_WRAP_PERL)
set(ITK_WRAP_PERL "@ITK_WRAP_PERL@")
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 @@ -197,8 +197,6 @@ if(ITK_WRAPPING)
"ITK_WRAP_JAVA" OFF)
CMAKE_DEPENDENT_OPTION(${itk-module}_WRAP_RUBY "Build Ruby support." ${ITK_WRAP_RUBY}
"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_EXPLICIT "Build Explicit support." OFF
"ITK_WRAP_EXPLICIT" OFF)
CMAKE_DEPENDENT_OPTION(${itk-module}_WRAP_DOC "Build Doxygen support." OFF
Expand All @@ -208,7 +206,6 @@ if(ITK_WRAPPING)
if( (${itk-module}_WRAP_PYTHON OR
${itk-module}_WRAP_JAVA OR
${itk-module}_WRAP_RUBY OR
${itk-module}_WRAP_PERL OR
${itk-module}_WRAP_EXPLICIT OR
${itk-module}_WRAP_DOC
)
Expand Down
4 changes: 0 additions & 4 deletions Wrapping/Generators/Perl/CMakeLists.txt

This file was deleted.

4 changes: 0 additions & 4 deletions Wrapping/Generators/Perl/ConfigureWrapping.cmake

This file was deleted.

Empty file.
4 changes: 1 addition & 3 deletions Wrapping/WrappingOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@
option(ITK_WRAP_PYTHON "Build Python support" OFF)
option(ITK_WRAP_JAVA "Build Java support (Currently not supported)" OFF)
option(ITK_WRAP_RUBY "Build Ruby support (Currently not supported)" OFF)
option(ITK_WRAP_PERL "Build Perl support (Currently not supported)" OFF)
mark_as_advanced(ITK_WRAP_JAVA)
mark_as_advanced(ITK_WRAP_RUBY)
mark_as_advanced(ITK_WRAP_PERL)

if(ITK_WRAP_PYTHON OR ITK_WRAP_JAVA OR ITK_WRAP_RUBY OR ITK_WRAP_PERL)
if(ITK_WRAP_PYTHON OR ITK_WRAP_JAVA OR ITK_WRAP_RUBY)
if(NOT ITK_DYNAMIC_LOADING)
message(FATAL_ERROR "Wrapping requires ITK_DYNAMIC_LOADING to be ON")
endif()
Expand Down

0 comments on commit e49cc53

Please sign in to comment.