Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-03-04 17:20:11 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-03-04 17:22:51 +0400
commitc436c78de1d2f6fcac46e69c5c81ca2af5f839e5 (patch)
tree2933432fa57db2852b601c47f0f0f187b4474191 /source
parent6ebbcbd5df45c9a5953a3f6d3c068310fea58d7a (diff)
Build system support for numpy on ms-windows
Diffstat (limited to 'source')
-rw-r--r--source/creator/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt
index 4d12040df21..d765c33db70 100644
--- a/source/creator/CMakeLists.txt
+++ b/source/creator/CMakeLists.txt
@@ -576,6 +576,16 @@ elseif(WIN32)
"
)
+ if(WITH_PYTHON_INSTALL_NUMPY)
+ install(
+ CODE
+ "
+ execute_process(COMMAND \"${CMAKE_COMMAND}\" -E chdir \"${TARGETDIR_VER}/python/lib/site-packages\"
+ \"${CMAKE_COMMAND}\" -E tar xzfv \"${LIBDIR}/release/python${_PYTHON_VERSION_NO_DOTS}_numpy_1.8.tar.gz\")
+ "
+ )
+ endif()
+
# doesnt work, todo
# install(CODE "execute_process(COMMAND find ${TARGETDIR}/${BLENDER_VERSION}/python/lib/ -name '*.so' -exec strip -s {} '\;')")
endif()