2 OSG_ADD_PROJECT("OSGDrawable")
5 ##############################################################################
7 ##############################################################################
9 # dependencies - OpenSG
10 SET(${PROJECT_NAME}_DEP_OSG_LIB OSGState OSGGroup)
12 SET(${PROJECT_NAME}_DEP_TEST_OSG_LIB OSGFileIO
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)
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 ##############################################################################
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")
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 ##############################################################################
92 ##############################################################################
94 OSG_SETUP_PROJECT("OSG_COMPILEDRAWABLELIB")