Skip to content

Commit f2f0843

Browse files
committed
Strip the resulting SimpleITK library for python.
This can result in a savings for nearly 100Mb for the size of the shared library.
1 parent 5882eea commit f2f0843

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ if(SimpleITKPythonPackage_SUPERBUILD)
223223
-DSimpleITK_PYTHON_THREADS:BOOL=${SimpleITK_PYTHON_THREADS}
224224
-DSimpleITK_DIR:PATH=${SimpleITK_DIR}
225225
-DSWIG_EXECUTABLE:PATH=${SWIG_EXECUTABLE}
226+
-DSimpleITK_BUILD_STRIP:BOOL=ON
226227
-DSKBUILD:BOOL=ON
227228
USES_TERMINAL_CONFIGURE 1
228229
USES_TERMINAL_BUILD 1

0 commit comments

Comments
 (0)