2012-03-20 02:17:37 +00:00
|
|
|
#!/usr/bin/python
|
|
|
|
Import ('env')
|
|
|
|
|
2012-04-12 02:37:28 +00:00
|
|
|
sources = ['utfconv.c']
|
2012-03-20 02:17:37 +00:00
|
|
|
|
|
|
|
incs = '.'
|
|
|
|
defs = ''
|
|
|
|
|
2012-04-12 02:37:28 +00:00
|
|
|
# This is odd but leave it for now...
|
|
|
|
# Why have win32 check here? - this is only used for windows.
|
|
|
|
# ... because one day we might want to use it on other platforms.
|
2012-04-24 12:57:58 +00:00
|
|
|
if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'win64-mingw', 'linuxcross', 'win64-vc'):
|
2012-04-12 02:37:28 +00:00
|
|
|
sources += ['utf_winfunc.c']
|
|
|
|
|
|
|
|
env.BlenderLib('bf_utfconv', sources, Split(incs), Split(defs), libtype=['intern','player'], priority=[0,0])
|