Skip to content

Commit

Permalink
ENH: Update to SWIG 4.0.2
Browse files Browse the repository at this point in the history
Using 36.12.3 Abstract base classes

By including pyabc.i and using the -py3 command line option when calling
SWIG, the proxy classes of the STL containers will automatically gain an
appropriate abstract base class.

The use of pyabc.i did not complete for 4.0.1 SWIG version.
  • Loading branch information
hjmjohnson committed Dec 7, 2020
1 parent 2880b97 commit 46897c2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Wrapping/Generators/SwigInterface/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ mark_as_advanced(ITK_USE_SYSTEM_SWIG)

# Minimal swig version
if(WIN32)
set(swig_version_min 4.0.1)
set(ITK_SWIG_VERSION 4.0.1)
set(swigwin_hash "2da147231164466c0dee91beca6a4f7b10e6f727062338ea6d70f44f4e4163ad6616b72c2de767539a69977ba96d3ee920ed3c182124c45569ca946750fd4495")
set(swig_version_min 4.0.2)
set(ITK_SWIG_VERSION 4.0.2)
set(swigwin_hash "b8f105f9b9db6acc1f6e3741990915b533cd1bc206eb9645fd6836457fd30789b7229d2e3219d8e35f2390605ade0fbca493ae162ec3b4bc4e428b57155db03d")
else()
set(ITK_SWIG_VERSION 4.0.1)
set(swig_version_min 4.0.1)
set(swig_hash "595ef01cb83adfa960ceed9c325a9429192549e8d1e9aa3ab35a4301512a61d82e2e89a8c7939c2a5a0811254ea1832a443bd387e11459eb2b0bafc563ad1308")
set(ITK_SWIG_VERSION 4.0.2)
set(swig_version_min 4.0.2)
set(swig_hash "05e7da70ce6d9a733b96c0bcfa3c1b82765bd859f48c74759bbf4bb1467acb1809caa310cba5e2b3280cd704fca249eaa0624821dffae1d2a75097c7f55d14ed")
endif()

if(WIN32)
Expand Down Expand Up @@ -138,7 +138,7 @@ else()
install
)
endif()
set(pcre_hash f919957ce6e1f52b5579faa7fccfe192944884dc56ad831ebb3e3787f752fe2f14567fe302d884fa86900018e92b758e4589406f7e8d7af1baa2a1d6add40865)
set(pcre_hash "abac4c4f9df9e61d7d7761a9c50843882611752e1df0842a54318f358c28f5953025eba2d78997d21ee690756b56cc9f1c04a5ed591dd60654cc78ba16d9ecfb")
ExternalProject_Add(PCRE
URL "https://data.kitware.com/api/v1/file/hashsum/sha512/${pcre_hash}/download"
URL_HASH SHA512=${pcre_hash}
Expand Down

0 comments on commit 46897c2

Please sign in to comment.