changed: gcc8 base update
[opensg.git] / Source / System / NodeCores / Groups / CMakeLists.Lib.OSGGroup.txt
blob92aaee914d717d151cd66f5ea4c0dd8ad08e6ee5
2 OSG_ADD_PROJECT("OSGGroup")
3 OSG_SELECT_PROJECT()
5 ##############################################################################
6 # dependencies
7 ##############################################################################
9 # dependencies - OpenSG
10 SET(${PROJECT_NAME}_DEP_OSG_LIB OSGState)
12 SET(${PROJECT_NAME}_DEP_TEST_OSG_LIB OSGDrawable
13                                      OSGUtil
14                                      OSGWindowGLUT)
16 # dependencies - External
17 # SET(${PROJECT_NAME}_DEP_LIB)
18 # SET(${PROJECT_NAME}_DEP_LIBDIR)
19 # SET(${PROJECT_NAME}_DEP_INCDIR)
21 # SET(${PROJECT_NAME}_DEP_TEST_LIB)
22 # SET(${PROJECT_NAME}_DEP_TEST_LIBDIR)
23 # SET(${PROJECT_NAME}_DEP_TEST_INCDIR OSG_GLUT_INC_DIR)
25 OSG_ADD_GLUTPACKAGE(TRUE)
27 # dependencies - Additional
28 # SET(${PROJECT_NAME}_DEP_ADD_INCDIR)
30 SET(${PROJECT_NAME}_CXXFLAGS ${OSG_ADD_CXX_FLAGS})
32 OSG_STORE_PROJECT_DEPENDENCIES()
34 ##############################################################################
35 # collect sources
36 ##############################################################################
38 OSG_ADD_DIRECTORY("Source/System/NodeCores/Groups/DynamicStateGenerators")
39 OSG_ADD_DIRECTORY("Source/System/NodeCores/Groups/Light")
40 IF(NOT OSG_OGL_COREONLY OR OSG_CHECK_COREONLY)
41   OSG_ADD_DIRECTORY("Source/System/NodeCores/Groups/Light/Shadow")
42   OSG_ADD_DIRECTORY("Source/System/NodeCores/Groups/Light/Shadow/Base")
43   OSG_ADD_DIRECTORY("Source/System/NodeCores/Groups/Light/Shadow/Engines")
44 ENDIF()
45 OSG_ADD_DIRECTORY("Source/System/NodeCores/Groups/Misc")
46 OSG_ADD_DIRECTORY("Source/System/NodeCores/Groups/Misc/TransformationElements")
47 OSG_ADD_DIRECTORY("Source/System/NodeCores/Groups/Stage")
49 ##############################################################################
50 # setup python bindings
51 ##############################################################################
53 IF(${OSG_CMAKE_PASS} STREQUAL "OSGPYTHON")
55 #  LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "GroupWrappers.h")
57   LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGRenderAction.h")
58   LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGStageParent.h")
59   LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGFrameBufferObject.h")
60   LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGTextureBuffer.h")
61   LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGTextureObjChunk.h")
62   LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGChunkMaterial.h")
63   LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGTextureTransformChunk.h")
64   LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGShaderProgram.h")
65   LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGImage.h")
66   LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGForeground.h")
67   LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGBlendChunk.h")
68   LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGPolygonChunk.h")
69   LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGTexGenChunk.h")
70   
71 #  LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_FCS "Group")
72 ENDIF(${OSG_CMAKE_PASS} STREQUAL "OSGPYTHON")
74 ##############################################################################
75 # setup build
76 ##############################################################################
78 OSG_SETUP_PROJECT("OSG_COMPILEGROUPLIB")