From c436c78de1d2f6fcac46e69c5c81ca2af5f839e5 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 5 Mar 2014 00:20:11 +1100 Subject: Build system support for numpy on ms-windows --- source/creator/CMakeLists.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'source') 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() -- cgit v1.2.3