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:
authorJens Verwiebe <info@jensverwiebe.de>2014-04-04 15:07:23 +0400
committerJens Verwiebe <info@jensverwiebe.de>2014-04-04 15:07:32 +0400
commit8ff74bed9bad138430c58732800d342b27656ea1 (patch)
treeb2c9245bbc6e087a23693ce248a7de2e1b258cd4 /SConstruct
parent0579a6e209fdd1a1deb0c85bf44c0afc443c4a13 (diff)
Scons/cycles: fix header distribution for geom
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct7
1 files changed, 7 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 267e79382ab..0258f776824 100644
--- a/SConstruct
+++ b/SConstruct
@@ -895,6 +895,7 @@ if env['OURPLATFORM']!='darwin':
source.remove('CMakeLists.txt')
source.remove('svm')
source.remove('closure')
+ source.remove('geom')
source.remove('shaders')
source.remove('osl')
source=['intern/cycles/kernel/'+s for s in source]
@@ -916,6 +917,12 @@ if env['OURPLATFORM']!='darwin':
if '__pycache__' in source: source.remove('__pycache__')
source=['intern/cycles/kernel/closure/'+s for s in source]
scriptinstall.append(env.Install(dir=dir,source=source))
+ # geom
+ dir=os.path.join(env['BF_INSTALLDIR'], VERSION, 'scripts', 'addons','cycles', 'kernel', 'geom')
+ source=os.listdir('intern/cycles/kernel/geom')
+ if '__pycache__' in source: source.remove('__pycache__')
+ source=['intern/cycles/kernel/geom/'+s for s in source]
+ scriptinstall.append(env.Install(dir=dir,source=source))
# licenses
dir=os.path.join(env['BF_INSTALLDIR'], VERSION, 'scripts', 'addons','cycles', 'license')