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

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

From Sherman Wilcox, added VS versioning information into libs

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