forked from bartvdbraak/blender
405cf80eb8
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)
29 lines
750 B
Python
29 lines
750 B
Python
#!/usr/bin/python
|
|
Import ('env')
|
|
|
|
SConscript(['SoundSystem/SConscript',
|
|
'string/SConscript',
|
|
'ghost/SConscript',
|
|
'guardedalloc/SConscript',
|
|
'moto/SConscript',
|
|
'container/SConscript',
|
|
'memutil/SConscript/',
|
|
'decimation/SConscript',
|
|
'iksolver/SConscript',
|
|
'boolop/SConscript',
|
|
'opennl/SConscript'])
|
|
|
|
# NEW_CSG was intended for intern/csg, but
|
|
# getting it to compile is difficult
|
|
# intern/bsp has been used anyway, so
|
|
# perhaps get rid of intern/csg?
|
|
NEW_CSG='false'
|
|
|
|
if not env['BF_NO_ELBEEM']:
|
|
SConscript(['elbeem/SConscript'])
|
|
|
|
if NEW_CSG=='false':
|
|
SConscript(['bsp/SConscript'])
|
|
else:
|
|
SConscript(['csg/SConscript'])
|