Skip to content

Commit

Permalink
WIP: just adding .i file breaks the build
Browse files Browse the repository at this point in the history
  • Loading branch information
dzenanz committed Sep 22, 2023
1 parent bf14387 commit 32dbcad
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 17 deletions.
5 changes: 1 addition & 4 deletions Modules/Filtering/ImageStatistics/wrapping/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
itk_wrap_module(ITKImageStatistics)
if(ITK_WRAP_PYTHON)
set(WRAPPER_SUBMODULE_ORDER itkLabelOverlapMeasuresImageFilter_LabelSetMeasures)
list(APPEND WRAPPER_SWIG_LIBRARY_FILES "${CMAKE_CURRENT_LIST_DIR}/itkLabelOverlapMeasuresImageFilter.i")
endif()
list(APPEND WRAPPER_SWIG_LIBRARY_FILES "${CMAKE_CURRENT_LIST_DIR}/itkLabelOverlapMeasuresImageFilter.i")
itk_auto_load_and_end_wrap_submodules()
Original file line number Diff line number Diff line change
@@ -1,10 +1 @@
%include <std_unordered_map.i>

%template(hashmapUCLOLSM) std::unordered_map< unsigned char, itk::LabelOverlapLabelSetMeasures >;
%template(hashmapSCLOLSM) std::unordered_map< signed char, itk::LabelOverlapLabelSetMeasures >;
%template(hashmapUSLOLSM) std::unordered_map< unsigned short, itk::LabelOverlapLabelSetMeasures >;
%template(hashmapSSLOLSM) std::unordered_map< signed short, itk::LabelOverlapLabelSetMeasures >;
%template(hashmapULLOLSM) std::unordered_map< unsigned long, itk::LabelOverlapLabelSetMeasures >;
%template(hashmapSLLOLSM) std::unordered_map< signed long, itk::LabelOverlapLabelSetMeasures >;
%template(hashmapULLLOLSM) std::unordered_map< unsigned long long, itk::LabelOverlapLabelSetMeasures >;
%template(hashmapSLLLOLSM) std::unordered_map< signed long long, itk::LabelOverlapLabelSetMeasures >;
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
set(WRAPPER_AUTO_INCLUDE_HEADERS OFF)
itk_wrap_include("itkLabelOverlapMeasuresImageFilter.h")
itk_wrap_simple_class("itk::LabelOverlapLabelSetMeasures")
set(WRAPPER_AUTO_INCLUDE_HEADERS ON)

itk_wrap_class("itk::LabelOverlapMeasuresImageFilter" POINTER)
itk_wrap_image_filter("${WRAP_ITK_INT}" 1)
itk_end_wrap_class()

This file was deleted.

0 comments on commit 32dbcad

Please sign in to comment.