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

SConscript « bFTGL « extern - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c03992631e6913f93b11e1a1e307a3bdff087989 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/usr/bin/python
import sys
import os

Import('env')

# Import the C flags set in the SConstruct file
#Import ('cflags')
#Import ('defines')
#Import ('user_options_dict')

#if sys.platform=='linux2' or sys.platform=='linux-i386':
#	ftgl_env.Append (CCFLAGS = ['-O2', '-ansi'])
#elif sys.platform=='win32':
	#ftgl_env.Append (CCFLAGS = ['/O2'])
#elif sys.platform=='sunos':
#	ftgl_env.Append (CCFLAGS = ['Xc', '-v', '-fast'])
#elif sys.platform=='darwin':
#	ftgl_env.Append (CCFLAGS = ['-O2', '-pipe', '-fPIC', '-funsigned-char', '-ffast-math'])
#else:
#	ftgl_env.Append (CCFLAGS = cflags)

#ftgl_env.Append (CPPDEFINES = defines)

incs = 'include src ' + env['BF_FREETYPE_INC'] + ' ' + env['BF_OPENGL_INC']
defs = ''

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

env.BlenderLib ( 'extern_ftgl', sources, Split(incs), Split(defs), libtype=['international','player'], priority=[5, 210])