We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46fdc2f commit 2a65a4fCopy full SHA for 2a65a4f
CMakeLists.txt
@@ -22,6 +22,8 @@ if (NOT ${ITK_WRAP_PYTHON})
22
)
23
endif()
24
25
+option(INCLUDE_ITK_SHARED_LIBRARIES "Include ITK shared libraries to wheel package" ON)
26
+
27
set(ITK_PACKAGE_VERSION "${ITK_VERSION_MAJOR}.${ITK_VERSION_MINOR}.${ITK_VERSION_PATCH}")
28
29
string(REGEX MATCH "^[2-3]\\.[0-9]+"
@@ -67,10 +69,15 @@ add_custom_target(pip_uninstall
67
69
set(GLOB_COPY_FILES
68
70
"*.py"
71
"*.pyd"
- "*.dll"
- "*.so"
72
73
74
+if (INCLUDE_ITK_SHARED_LIBRARIES)
75
+ list(APPEND GLOB_COPY_FILES
76
+ "*.dll"
77
+ "*.so"
78
+ )
79
+endif()
80
81
configure_file(
82
${CMAKE_SOURCE_DIR}/copy_files.py.in
83
${TARGET_DIR}/copy_files.py
0 commit comments