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
diff options
context:
space:
mode:
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct9
1 files changed, 9 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index d05e6899a61..573d4c1934f 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1300,6 +1300,15 @@ if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'win64-vc', 'linuxcross'):
windlls = env.Install(dir=env['BF_INSTALLDIR'], source = dllsources)
allinstall += windlls
+ # TODO(sergey): For unti we've got better way to deal with python binary
+ if env['WITH_BF_PYTHON']:
+ py_target = os.path.join(env['BF_INSTALLDIR'], VERSION, 'python', 'bin')
+ if env['BF_DEBUG']:
+ allinstall += env.Install(dir=py_target, source = ['${BF_PYTHON_LIBPATH}/${BF_PYTHON_DLL}_d.dll'])
+ else:
+ allinstall += env.Install(dir=py_target, source = ['${BF_PYTHON_LIBPATH}/${BF_PYTHON_DLL}.dll'])
+
+
if env['OURPLATFORM'] == 'win64-mingw':
dllsources = []