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

SConscript « blenfont « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 85797c3c23b8a058fdf5f7295e4db8b5026b3642 (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 ('env')

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

incs = '. intern  #/intern/guardedalloc ../blenkernel ../blenlib ../makesdna ../ftfont ../editors/include'
incs += ' #/extern/glew/include'
incs += ' ' + env['BF_FTGL_INC']
incs += ' ' + env['BF_FREETYPE_INC']
incs += ' ' + env['BF_GETTEXT_INC']

defs = ''

defs += 'FTGL_STATIC_LIBRARY'
if sys.platform == 'win32':
	defs += ' _WIN32 USE_GETTEXT_DLL'

if env['WITH_BF_INTERNATIONAL']:
	defs += ' WITH_FREETYPE2'

env.BlenderLib ( 'bf_blenfont', sources, Split(incs), Split(defs), libtype=['core'], priority=[210] )