root/OpenSceneGraph/trunk/src/osgText/CMakeLists.txt @ 9671

Revision 9671, 1.0 kB (checked in by robert, 6 years ago)

From Sherman Wilcox, added VS versioning information into libs

  • Property svn:eol-style set to native
Line 
1
2IF   (DYNAMIC_OPENSCENEGRAPH)
3    ADD_DEFINITIONS(-DOSGTEXT_LIBRARY)
4ELSE (DYNAMIC_OPENSCENEGRAPH)
5    ADD_DEFINITIONS(-DOSG_LIBRARY_STATIC)
6ENDIF(DYNAMIC_OPENSCENEGRAPH)
7
8SET(LIB_NAME osgText)
9SET(HEADER_PATH ${OpenSceneGraph_SOURCE_DIR}/include/${LIB_NAME})
10SET(LIB_PUBLIC_HEADERS
11    ${HEADER_PATH}/Export
12    ${HEADER_PATH}/Font
13    ${HEADER_PATH}/Font3D
14    ${HEADER_PATH}/KerningType
15    ${HEADER_PATH}/String
16    ${HEADER_PATH}/TextBase
17    ${HEADER_PATH}/Text
18    ${HEADER_PATH}/Text3D
19    ${HEADER_PATH}/FadeText
20    ${HEADER_PATH}/Version
21)
22
23# FIXME: For OS X, need flag for Framework or dylib
24ADD_LIBRARY(${LIB_NAME}
25    ${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC}
26    ${LIB_PUBLIC_HEADERS}
27    DefaultFont.cpp
28    DefaultFont.h
29    Font.cpp
30    Font3D.cpp
31    String.cpp
32    FadeText.cpp
33    TextBase.cpp
34    Text.cpp
35    Text3D.cpp
36    Version.cpp
37    ${OPENSCENEGRAPH_VERSIONINFO_RC}
38)
39
40LINK_INTERNAL(${LIB_NAME}     
41    osgDB
42    osg
43    OpenThreads
44)
45LINK_CORELIB_DEFAULT(${LIB_NAME})
46
47INCLUDE(ModuleInstall OPTIONAL)
Note: See TracBrowser for help on using the browser.