Add CMakeLists.txt for panda/text.
This commit is contained in:
parent
4a0e57255f
commit
3cf973f64c
|
|
@ -0,0 +1,39 @@
|
|||
set(P3TEXT_HEADERS
|
||||
config_text.h
|
||||
default_font.h
|
||||
dynamicTextFont.I dynamicTextFont.h
|
||||
dynamicTextGlyph.I dynamicTextGlyph.h
|
||||
dynamicTextPage.I dynamicTextPage.h
|
||||
fontPool.I fontPool.h
|
||||
geomTextGlyph.I geomTextGlyph.h
|
||||
staticTextFont.I staticTextFont.h
|
||||
textAssembler.I textAssembler.h
|
||||
textFont.I textFont.h
|
||||
textGlyph.I textGlyph.h
|
||||
textGraphic.I textGraphic.h
|
||||
textNode.I textNode.h
|
||||
textProperties.I textProperties.h
|
||||
textPropertiesManager.I textPropertiesManager.h
|
||||
)
|
||||
set(P3TEXT_SOURCES
|
||||
config_text.cxx
|
||||
default_font.cxx
|
||||
dynamicTextFont.cxx
|
||||
dynamicTextGlyph.cxx
|
||||
dynamicTextPage.cxx
|
||||
fontPool.cxx
|
||||
geomTextGlyph.cxx
|
||||
staticTextFont.cxx
|
||||
textAssembler.cxx
|
||||
textFont.cxx textGlyph.cxx
|
||||
textGraphic.cxx
|
||||
textNode.cxx
|
||||
textProperties.cxx
|
||||
textPropertiesManager.cxx
|
||||
cmss12.bam_src.c cmss12.bam.pz_src.c persans.ttf_src.c
|
||||
)
|
||||
|
||||
composite_sources(p3text P3TEXT_SOURCES)
|
||||
add_library(p3text ${P3TEXT_SOURCES} ${P3TEXT_HEADERS})
|
||||
target_link_libraries(p3text p3pnmtext p3parametrics)
|
||||
target_interrogate(p3text ALL)
|
||||
|
|
@ -53,6 +53,7 @@ extern ConfigVariableDouble text_default_underscore_height;
|
|||
extern ConfigVariableEnum<Texture::FilterType> text_minfilter;
|
||||
extern ConfigVariableEnum<Texture::FilterType> text_magfilter;
|
||||
extern ConfigVariableEnum<Texture::WrapMode> text_wrap_mode;
|
||||
extern ConfigVariableEnum<Texture::QualityLevel> text_quality_level;
|
||||
extern ConfigVariableEnum<TextFont::RenderMode> text_render_mode;
|
||||
|
||||
extern EXPCL_PANDA_TEXT void init_libtext();
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@
|
|||
|
||||
#ifdef HAVE_FREETYPE
|
||||
|
||||
#include "dynamicTextFont.h"
|
||||
#include "dynamicTextPage.h"
|
||||
#include "geomTextGlyph.h"
|
||||
#include "geomVertexData.h"
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
|
||||
#include "dynamicTextPage.h"
|
||||
#include "dynamicTextFont.h"
|
||||
#include "config_text.h"
|
||||
|
||||
#ifdef HAVE_FREETYPE
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue