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

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

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

incs = 'intern ../container ../moto/include ../memutil ../guardedalloc  ../../extern/carve/include'

defs = []

if env['WITH_BF_BOOST']:
    isMINGW = env['OURPLATFORM'] in ('win32-mingw', 'win64-mingw')

    if env['OURPLATFORM'] not in ('win32-vc', 'win64-vc') and not isMINGW:
        # Boost is setting as preferred collections library in the Carve code when using MSVC compiler
        defs.append('HAVE_BOOST_UNORDERED_COLLECTIONS')

    if not isMINGW:
        defs.append('CARVE_SYSTEM_BOOST')

    incs +=  ' ' + env['BF_BOOST_INC']

env.BlenderLib ('bf_intern_bsp', sources, Split(incs), defs, libtype=['core','player'], priority=[200,100] )