mirror of
https://github.com/blender/blender
synced 2026-11-22 03:45:13 +03:00
Merge from trunk: Revision: 14976 Revision: 14978 Revision: 15129 Revision: 15136 Revision: 15144 Revision: 15147 Revision: 15149 Revision: 15157 Revision: 15158 Revision: 15159 Revision: 15160 Revision: 15161 Revision: 15168 Revision: 15177 NOTE: The big change to RAS_2DFilterManager.cpp is because the ^M (EOL).
30 lines
874 B
Python
30 lines
874 B
Python
#!/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])
|