~ubuntu-branches/debian/experimental/openscenegraph/experimental

« back to all changes in this revision

Viewing changes to OpenSceneGraph/src/osgWrappers/deprecated-dotosg/CMakeLists.txt

  • Committer: Bazaar Package Importer
  • Author(s): Alberto Luaces
  • Date: 2011-01-29 11:36:29 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20110129113629-qisrm2kdqlurc7t3
Tags: 2.9.11-1
* Removed bug-555869-ftbfs_with_binutils_gold.dpatch since upstream has
  already taken care of the issue.
* Removed bug-528229.dpatch since the pkgconfig files are now also split
  in upstream.
* Removed explicit dependency on GLU.
* Upstream no longer includes osgIntrospection (Closes: #592420).
* Disabled zip plugin as its implementation stores an embedded copy of
  zlib.
* Enabled Qt support. Thanks James Goppert.
* Enabled SVG and PDF plugins. Thanks James Goppert.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#---------------------------------------------------
 
2
# OSG CMAKE SUPPORT
 
3
# (C) by Michael Wagner, mtw@shared-reality.com 2005
 
4
# (C) Eric Wing, Luigi Calori and Robert Osfield 2006-2007
 
5
#---------------------------------------------------
 
6
 
 
7
PROJECT(OSG_PLUGINS_MASTER)
 
8
 
 
9
IF(NOT DYNAMIC_OPENSCENEGRAPH)
 
10
    ADD_DEFINITIONS(-DOSG_LIBRARY_STATIC)
 
11
ENDIF()
 
12
 
 
13
IF(NOT MSVC)
 
14
    SET(LIBRARY_OUTPUT_PATH "${LIBRARY_OUTPUT_PATH}/${OSG_PLUGINS}")
 
15
    SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/${OSG_PLUGINS}")
 
16
ENDIF()
 
17
 
 
18
SET(CMAKE_SHARED_MODULE_PREFIX ${OSG_PLUGIN_PREFIX})
 
19
 
 
20
IF(MSVC80 OR MSVC90)
 
21
    IF(NOT OSG_MSVC_GENERATE_PLUGINS_AND_WRAPPERS_MANIFESTS)
 
22
        SET(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} /MANIFEST:NO")
 
23
    ENDIF()
 
24
ENDIF()
 
25
 
 
26
SET(TARGET_DEFAULT_PREFIX "osgdb_deprecated_")
 
27
SET(TARGET_DEFAULT_LABEL_PREFIX "Plugins osg deprecated")
 
28
SET(TARGET_COMMON_LIBRARIES
 
29
    OpenThreads
 
30
    osg
 
31
    osgDB
 
32
    osgUtil
 
33
)
 
34
 
 
35
ADD_SUBDIRECTORY(osg)
 
36
ADD_SUBDIRECTORY(osgParticle)
 
37
ADD_SUBDIRECTORY(osgAnimation)
 
38
ADD_SUBDIRECTORY(osgFX)
 
39
ADD_SUBDIRECTORY(osgSim)
 
40
ADD_SUBDIRECTORY(osgText)
 
41
ADD_SUBDIRECTORY(osgViewer)
 
42
ADD_SUBDIRECTORY(osgShadow)
 
43
ADD_SUBDIRECTORY(osgTerrain)
 
44
ADD_SUBDIRECTORY(osgVolume)
 
45
ADD_SUBDIRECTORY(osgWidget)
 
46