Three-in-one commit:
[blender-staging.git] / source / blender / ftfont / SConscript
1 #!/usr/bin/python
2 Import ('extra_includes')
3 Import ('user_options_dict')
4 Import ('library_env')
5
6 ftf_env = library_env.Copy ()
7
8 source_files = ['intern/FTF_Api.cpp',
9                 'intern/FTF_TTFont.cpp']
10
11 include_paths = ['.',
12                 'intern',
13                 '../blenkernel',
14                 '../blenlib',
15                 '../makesdna']
16                  
17 ftf_env.Append(CPPPATH = extra_includes)
18 ftf_env.Append(CPPPATH = include_paths)
19 ftf_env.Prepend (CPPPATH = user_options_dict['FTGL_INCLUDE'])
20 ftf_env.Prepend (CPPPATH = user_options_dict['FREETYPE_INCLUDE'])
21 ftf_env.Prepend (CPPPATH = user_options_dict['GETTEXT_INCLUDE'])
22 ftf_env.Append(CPPDEFINES = 'FTGL_STATIC_LIBRARY')
23 ftf_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_FTF', source=source_files)