7 # Import the C flags set in the SConstruct file
10 #Import ('user_options_dict')
12 #if sys.platform=='linux2' or sys.platform=='linux-i386':
13 # ftgl_env.Append (CCFLAGS = ['-O2', '-ansi'])
14 #elif sys.platform=='win32':
15 #ftgl_env.Append (CCFLAGS = ['/O2'])
16 #elif sys.platform=='sunos':
17 # ftgl_env.Append (CCFLAGS = ['Xc', '-v', '-fast'])
18 #elif sys.platform=='darwin':
19 # ftgl_env.Append (CCFLAGS = ['-O2', '-pipe', '-fPIC', '-funsigned-char', '-ffast-math'])
21 # ftgl_env.Append (CCFLAGS = cflags)
23 #ftgl_env.Append (CPPDEFINES = defines)
25 incs = 'include src ' + env['BF_FREETYPE_INC']
28 sources = env.Glob('src/*.cpp')
30 env.BlenderLib ( 'extern_ftgl', sources, Split(incs), Split(defs), libtype=['international','player'], priority=[5, 210])