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

Revision 9671, 1.7 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 
1
2IF   (DYNAMIC_OPENSCENEGRAPH)
3    ADD_DEFINITIONS(-DOSGSHADOW_LIBRARY)
4ELSE (DYNAMIC_OPENSCENEGRAPH)
5    ADD_DEFINITIONS(-DOSG_LIBRARY_STATIC)
6ENDIF(DYNAMIC_OPENSCENEGRAPH)
7
8SET(LIB_NAME osgShadow)
9SET(HEADER_PATH ${OpenSceneGraph_SOURCE_DIR}/include/${LIB_NAME})
10SET(LIB_PUBLIC_HEADERS
11    ${HEADER_PATH}/Export
12    ${HEADER_PATH}/OccluderGeometry
13    ${HEADER_PATH}/ShadowMap
14    ${HEADER_PATH}/ShadowTechnique
15    ${HEADER_PATH}/ShadowTexture
16    ${HEADER_PATH}/ShadowVolume
17    ${HEADER_PATH}/ShadowedScene
18    ${HEADER_PATH}/SoftShadowMap
19    ${HEADER_PATH}/ParallelSplitShadowMap
20    ${HEADER_PATH}/Version
21
22    ${HEADER_PATH}/ConvexPolyhedron
23    ${HEADER_PATH}/DebugShadowMap
24    ${HEADER_PATH}/LightSpacePerspectiveShadowMap
25    ${HEADER_PATH}/MinimalCullBoundsShadowMap
26    ${HEADER_PATH}/MinimalDrawBoundsShadowMap
27    ${HEADER_PATH}/MinimalShadowMap
28    ${HEADER_PATH}/ProjectionShadowMap
29    ${HEADER_PATH}/StandardShadowMap
30    ${HEADER_PATH}/ViewDependentShadowTechnique
31)
32
33# FIXME: For OS X, need flag for Framework or dylib
34ADD_LIBRARY(${LIB_NAME}
35    ${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC}
36    ${LIB_PUBLIC_HEADERS}
37    OccluderGeometry.cpp
38    ShadowMap.cpp
39    ShadowTechnique.cpp
40    ShadowTexture.cpp
41    ShadowVolume.cpp
42    ShadowedScene.cpp
43    SoftShadowMap.cpp
44    ParallelSplitShadowMap.cpp
45    Version.cpp
46    ConvexPolyhedron.cpp
47    DebugShadowMap.cpp
48    LightSpacePerspectiveShadowMap.cpp
49    MinimalCullBoundsShadowMap.cpp
50    MinimalDrawBoundsShadowMap.cpp
51    MinimalShadowMap.cpp
52    StandardShadowMap.cpp
53    ViewDependentShadowTechnique.cpp
54    ${OPENSCENEGRAPH_VERSIONINFO_RC}
55)
56
57LINK_INTERNAL(${LIB_NAME}     
58    osgUtil
59    osgDB
60    osg
61    OpenThreads
62)
63LINK_CORELIB_DEFAULT(${LIB_NAME})
64
65INCLUDE(ModuleInstall OPTIONAL)
Note: See TracBrowser for help on using the browser.