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

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

From Sherman Wilcox, added VS versioning information into libs

Line 
1
2IF   (DYNAMIC_OPENSCENEGRAPH)
3    ADD_DEFINITIONS(-DOSGVOLUME_LIBRARY)
4ELSE (DYNAMIC_OPENSCENEGRAPH)
5    ADD_DEFINITIONS(-DOSG_LIBRARY_STATIC)
6ENDIF(DYNAMIC_OPENSCENEGRAPH)
7
8SET(LIB_NAME osgVolume)
9SET(HEADER_PATH ${OpenSceneGraph_SOURCE_DIR}/include/${LIB_NAME})
10SET(LIB_PUBLIC_HEADERS
11    ${HEADER_PATH}/Export
12    ${HEADER_PATH}/FixedFunctionTechnique
13    ${HEADER_PATH}/Layer
14    ${HEADER_PATH}/Locator
15    ${HEADER_PATH}/Property
16    ${HEADER_PATH}/RayTracedTechnique
17    ${HEADER_PATH}/Version
18    ${HEADER_PATH}/Volume
19    ${HEADER_PATH}/VolumeTechnique
20    ${HEADER_PATH}/VolumeTile
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    FixedFunctionTechnique.cpp
28    Layer.cpp
29    Locator.cpp
30    Property.cpp
31    RayTracedTechnique.cpp
32    Version.cpp
33    Volume.cpp
34    VolumeTechnique.cpp
35    VolumeTile.cpp
36    ${OPENSCENEGRAPH_VERSIONINFO_RC}
37)
38
39
40SET(TARGET_LIBRARIES_VARS FREETYPE_LIBRARY )
41LINK_INTERNAL(${LIB_NAME}     
42    osgUtil
43    osgDB
44    osgGA
45    osg
46    OpenThreads
47)
48LINK_CORELIB_DEFAULT(${LIB_NAME})
49
50INCLUDE(ModuleInstall OPTIONAL)
Note: See TracBrowser for help on using the browser.