2007-03-08 23:31:36 +08:00
|
|
|
|
2009-03-24 00:01:02 +08:00
|
|
|
IF(DYNAMIC_OPENSCENEGRAPH)
|
2007-09-06 01:03:43 +08:00
|
|
|
ADD_DEFINITIONS(-DOSGTEXT_LIBRARY)
|
2009-03-24 00:01:02 +08:00
|
|
|
ELSE()
|
2007-09-06 01:03:43 +08:00
|
|
|
ADD_DEFINITIONS(-DOSG_LIBRARY_STATIC)
|
2009-03-24 00:01:02 +08:00
|
|
|
ENDIF()
|
2007-03-08 23:31:36 +08:00
|
|
|
|
|
|
|
SET(LIB_NAME osgText)
|
|
|
|
SET(HEADER_PATH ${OpenSceneGraph_SOURCE_DIR}/include/${LIB_NAME})
|
2011-03-08 21:51:13 +08:00
|
|
|
SET(TARGET_H
|
2007-09-06 01:03:43 +08:00
|
|
|
${HEADER_PATH}/Export
|
|
|
|
${HEADER_PATH}/Font
|
2007-12-10 23:15:56 +08:00
|
|
|
${HEADER_PATH}/Font3D
|
2010-09-08 02:18:35 +08:00
|
|
|
${HEADER_PATH}/FadeText
|
|
|
|
${HEADER_PATH}/Glyph
|
2007-12-10 23:15:56 +08:00
|
|
|
${HEADER_PATH}/KerningType
|
2007-09-06 01:03:43 +08:00
|
|
|
${HEADER_PATH}/String
|
2010-09-24 20:57:55 +08:00
|
|
|
${HEADER_PATH}/Style
|
2007-12-10 23:15:56 +08:00
|
|
|
${HEADER_PATH}/TextBase
|
2007-09-06 01:03:43 +08:00
|
|
|
${HEADER_PATH}/Text
|
2007-12-10 23:15:56 +08:00
|
|
|
${HEADER_PATH}/Text3D
|
2007-09-06 01:03:43 +08:00
|
|
|
${HEADER_PATH}/Version
|
2007-03-08 23:31:36 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
# FIXME: For OS X, need flag for Framework or dylib
|
2011-03-08 21:51:13 +08:00
|
|
|
SET(TARGET_SRC
|
2007-09-06 01:03:43 +08:00
|
|
|
DefaultFont.cpp
|
|
|
|
DefaultFont.h
|
2010-09-08 02:18:35 +08:00
|
|
|
GlyphGeometry.h
|
|
|
|
GlyphGeometry.cpp
|
2007-09-06 01:03:43 +08:00
|
|
|
Font.cpp
|
|
|
|
FadeText.cpp
|
2010-09-08 02:18:35 +08:00
|
|
|
Glyph.cpp
|
|
|
|
String.cpp
|
2010-09-24 20:57:55 +08:00
|
|
|
Style.cpp
|
2007-12-10 23:15:56 +08:00
|
|
|
TextBase.cpp
|
2007-09-06 01:03:43 +08:00
|
|
|
Text.cpp
|
2007-12-10 23:15:56 +08:00
|
|
|
Text3D.cpp
|
2007-09-06 01:03:43 +08:00
|
|
|
Version.cpp
|
2009-02-05 22:55:17 +08:00
|
|
|
${OPENSCENEGRAPH_VERSIONINFO_RC}
|
2007-03-08 23:31:36 +08:00
|
|
|
)
|
|
|
|
|
2011-03-08 21:51:13 +08:00
|
|
|
SET(TARGET_LIBRARIES
|
2007-09-06 01:03:43 +08:00
|
|
|
osgDB
|
|
|
|
osg
|
2010-09-08 16:09:01 +08:00
|
|
|
osgUtil
|
2007-09-06 01:03:43 +08:00
|
|
|
OpenThreads
|
2007-03-08 23:31:36 +08:00
|
|
|
)
|
|
|
|
|
2011-03-08 21:51:13 +08:00
|
|
|
SETUP_LIBRARY(${LIB_NAME})
|
|
|
|
|