1) Remove WITH_FREETYPE2 from code, so now blender always need freetype2
2) Remove the old bmfont
3) Remove ftfont and bFTGL library
4) Implement a new BLF_draw_default function for place that still need/use
the old BMF api.
I try to update both, scons and cmake, but I only can test with make, so
hope all work fine.
MSVC is broken, but I don't have Windows, things to search and fix are
any reference to WITH_FREETYPE2, FTGL and BMFONT (take in care that
blenkernel also have a BKE_bmfont.h, this don't have anything to do with bmfont).
Always have to link/include the freetype2 library
Remove any reference to libbmfont
Remove any reference to libftfont
Remove any reference to libbftgl (or libbFTGL)
23 lines
765 B
Python
23 lines
765 B
Python
#!/usr/bin/python
|
|
Import ('env')
|
|
|
|
sources = env.Glob('intern/*.c')
|
|
|
|
#incs = '#/intern/guardedalloc ../blenlib ../makesdna ../blenkernel'
|
|
#incs += ' ../imbuf ../editors/include ../render/extern/include ../render/intern/include'
|
|
|
|
incs = '. ../editors/include ../python ../makesdna ../blenlib ../blenkernel'
|
|
incs += ' ../nodes ../imbuf ../blenloader ../render/extern/include'
|
|
incs += ' ../radiosity/extern/include ../../kernel/gen_system'
|
|
incs += ' ../makesrna ../gpu ../blenfont'
|
|
|
|
incs += ' #/intern/guardedalloc #/intern/memutil #/intern/ghost'
|
|
incs += ' #/intern/elbeem #/extern/glew/include'
|
|
|
|
defs = []
|
|
|
|
if not env['WITH_BF_PYTHON']:
|
|
defs.append('DISABLE_PYTHON')
|
|
|
|
env.BlenderLib ( 'bf_windowmanager', sources, Split(incs), defs, libtype=['core'], priority=[5] )
|