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

SConscript « elbeem « intern - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f0417f7400162358f3dba66db145dacd50f093e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/python
import sys
import os
Import('env')

sources = env.Glob('intern/*.cpp')

incs = ''
defs = 'NOGUI ELBEEM_BLENDER=1'

if env['WITH_BF_OPENMP']:
    if env['OURPLATFORM'] == 'linuxcross':
            incs += ' ' + env['BF_OPENMP_INC']

    defs += ' PARALLEL'

if env['OURPLATFORM'] in ('win32-vc', 'win64-vc'):
    defs += ' USE_MSVC6FIXES'
incs += ' ' + env['BF_PNG_INC'] + ' ' + env['BF_ZLIB_INC'] 
incs += ' extern '

env.BlenderLib ('bf_elbeem', sources, Split(incs), Split(defs), libtype='intern', priority=0 )