2004-05-16 13:07:20 +00:00
|
|
|
#!/usr/bin/python
|
2004-01-05 18:17:23 +00:00
|
|
|
Import ('extra_includes')
|
2004-02-15 19:25:32 +00:00
|
|
|
Import ('user_options_dict')
|
2004-02-29 21:40:48 +00:00
|
|
|
Import ('library_env')
|
|
|
|
|
|
|
|
|
|
ftf_env = library_env.Copy ()
|
2004-01-05 18:17:23 +00:00
|
|
|
|
|
|
|
|
source_files = ['intern/FTF_Api.cpp',
|
|
|
|
|
'intern/FTF_TTFont.cpp']
|
|
|
|
|
|
|
|
|
|
include_paths = ['.',
|
2004-05-08 01:34:39 +00:00
|
|
|
'intern',
|
|
|
|
|
'../blenkernel',
|
|
|
|
|
'../blenlib',
|
|
|
|
|
'../makesdna']
|
2004-01-05 18:17:23 +00:00
|
|
|
|
|
|
|
|
ftf_env.Append(CPPPATH = extra_includes)
|
|
|
|
|
ftf_env.Append(CPPPATH = include_paths)
|
2004-02-21 19:00:31 +00:00
|
|
|
ftf_env.Prepend (CPPPATH = user_options_dict['FTGL_INCLUDE'])
|
2004-02-21 15:13:15 +00:00
|
|
|
ftf_env.Prepend (CPPPATH = user_options_dict['FREETYPE_INCLUDE'])
|
2004-02-21 19:00:31 +00:00
|
|
|
ftf_env.Prepend (CPPPATH = user_options_dict['GETTEXT_INCLUDE'])
|
2004-02-23 14:39:08 +00:00
|
|
|
ftf_env.Append(CPPDEFINES = 'FTGL_STATIC_LIBRARY')
|
2004-02-15 19:25:32 +00:00
|
|
|
ftf_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_FTF', source=source_files)
|