root/OpenSceneGraph/trunk/src/osgWrappers/deprecated-dotosg/CMakeLists.txt @ 11034

Revision 10973, 1.2 kB (checked in by robert, 8 years ago)

Added CmakeList?.txt for new wrapper plugins

Line 
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
7PROJECT(OSG_PLUGINS_MASTER)
8
9IF(NOT DYNAMIC_OPENSCENEGRAPH)
10    ADD_DEFINITIONS(-DOSG_LIBRARY_STATIC)
11ENDIF()
12
13IF(NOT MSVC)
14    SET(LIBRARY_OUTPUT_PATH "${LIBRARY_OUTPUT_PATH}/${OSG_PLUGINS}")
15    SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/${OSG_PLUGINS}")
16ENDIF()
17
18SET(CMAKE_SHARED_MODULE_PREFIX ${OSG_PLUGIN_PREFIX})
19
20IF(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()
24ENDIF()
25
26SET(TARGET_DEFAULT_PREFIX "osgdb_deprecated_")
27SET(TARGET_DEFAULT_LABEL_PREFIX "Plugins")
28SET(TARGET_COMMON_LIBRARIES
29    OpenThreads
30    osg
31    osgDB
32    osgUtil
33)
34
35ADD_SUBDIRECTORY(osg)
36ADD_SUBDIRECTORY(osgParticle)
37ADD_SUBDIRECTORY(osgAnimation)
38ADD_SUBDIRECTORY(osgFX)
39ADD_SUBDIRECTORY(osgSim)
40ADD_SUBDIRECTORY(osgText)
41ADD_SUBDIRECTORY(osgViewer)
42ADD_SUBDIRECTORY(osgShadow)
43ADD_SUBDIRECTORY(osgTerrain)
44ADD_SUBDIRECTORY(osgVolume)
45ADD_SUBDIRECTORY(osgWidget)
46
Note: See TracBrowser for help on using the browser.