fixed: auto_ptr -> unique_ptr
[opensg.git] / Source / System / NodeCores / Drawables / CMakeLists.Lib.OSGDrawable.txt
blobf5cc3bef440def473b08ad559ee82f22dd90be93
2 OSG_ADD_PROJECT("OSGDrawable")
3 OSG_SELECT_PROJECT()
5 ##############################################################################
6 # dependencies
7 ##############################################################################
9 # dependencies - OpenSG
10 SET(${PROJECT_NAME}_DEP_OSG_LIB OSGState OSGGroup)
12 SET(${PROJECT_NAME}_DEP_TEST_OSG_LIB OSGFileIO
13                                      OSGImageFileIO
14                                      OSGUtil
15                                      OSGWindowGLUT)
17 SET(${PROJECT_NAME}_DEP_UNITTEST_OSG_LIB OSGGroup)
19 # dependencies - External
20 # SET(${PROJECT_NAME}_DEP_LIB)
21 # SET(${PROJECT_NAME}_DEP_LIBDIR)
22 # SET(${PROJECT_NAME}_DEP_INCDIR)
24 # SET(${PROJECT_NAME}_DEP_TEST_LIB)
25 # SET(${PROJECT_NAME}_DEP_TEST_LIBDIR)
26 # SET(${PROJECT_NAME}_DEP_TEST_INCDIR OSG_GLUT_INC_DIR)
28 IF(OSG_OGL_COREONLY AND NOT OSG_CHECK_COREONLY)
29   SET(_OSG_EX_GEOBASE "${CMAKE_CURRENT_SOURCE_DIR}/Geometry")
31   SET(${PROJECT_NAME}_EXCL_FILES 
32       ${_OSG_EX_GEOBASE}/Base/OSGGeoImmediatePumpGroup.h
33       ${_OSG_EX_GEOBASE}/Base/OSGGeoImmediatePumpGroup.inl
34       ${_OSG_EX_GEOBASE}/Base/OSGGeoImmediatePumpGroup.cpp)
35 ENDIF()
37 OSG_ADD_GLUTPACKAGE(TRUE)
39 # dependencies - Additional
40 # SET(${PROJECT_NAME}_DEP_ADD_INCDIR)
42 SET(${PROJECT_NAME}_CXXFLAGS ${OSG_ADD_CXX_FLAGS})
44 OSG_STORE_PROJECT_DEPENDENCIES()
46 ##############################################################################
47 # collect sources
48 ##############################################################################
50 OSG_ADD_DIRECTORY("Source/System/Material/Simple")
51 OSG_ADD_DIRECTORY("Source/System/Material/PreBuild")
52 OSG_ADD_DIRECTORY("Source/System/NodeCores/Drawables/Stage")
53 OSG_ADD_DIRECTORY("Source/System/NodeCores/Drawables/Geometry")
54 OSG_ADD_DIRECTORY("Source/System/NodeCores/Drawables/Geometry/Base")
55 OSG_ADD_DIRECTORY("Source/System/NodeCores/Drawables/Geometry/Iterator")
56 OSG_ADD_DIRECTORY("Source/System/NodeCores/Drawables/Geometry/Instancing")
57 OSG_ADD_DIRECTORY("Source/System/NodeCores/Drawables/Geometry/Properties")
58 OSG_ADD_DIRECTORY("Source/System/NodeCores/Drawables/Geometry/Util")
59 OSG_ADD_DIRECTORY("Source/System/NodeCores/Drawables/Geometry/Wrapper")
61 IF(NOT OSG_OGL_COREONLY OR OSG_CHECK_COREONLY)
62   OSG_ADD_DIRECTORY("Source/System/NodeCores/Drawables/Nurbs")
63   OSG_ADD_DIRECTORY("Source/System/NodeCores/Drawables/Nurbs/Internal")
64   OSG_ADD_DIRECTORY("Source/System/NodeCores/Drawables/Particles")
65   OSG_ADD_DIRECTORY("Source/System/NodeCores/Drawables/Terrain")
66   OSG_ADD_DIRECTORY("Source/System/NodeCores/Drawables/Terrain/QuadTree")
67 ENDIF()
69 ##############################################################################
70 # setup python bindings
71 ##############################################################################
73 IF(${OSG_CMAKE_PASS} STREQUAL "OSGPYTHON")
75 #  LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "DrawableWrappers.h")
77   LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGStageDrawableParent.h")
78   LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGSimpleGeometry.h")
79   LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGGeoFunctions.h")
80   LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGEdgeIterator.h")
81   LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGTriangleIterator.h")
82   LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGPrimitiveIterator.h")
83   LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGFaceIterator.h")
84   LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGLineIterator.h")
85   LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGPointIterator.h")
86   LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGDrawableStatsAttachment.h")
87 #  LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_FCS "Group")
88 ENDIF(${OSG_CMAKE_PASS} STREQUAL "OSGPYTHON")
90 ##############################################################################
91 # setup build
92 ##############################################################################
94 OSG_SETUP_PROJECT("OSG_COMPILEDRAWABLELIB")