2 IF(OSG_OGL_COREONLY AND NOT OSG_CHECK_COREONLY)
6 OSG_ADD_PROJECT("OSGCluster")
9 ##############################################################################
11 ##############################################################################
13 # dependencies - OpenSG
14 SET(${PROJECT_NAME}_DEP_OSG_LIB OSGDrawable
18 SET(${PROJECT_NAME}_DEP_TEST_OSG_LIB OSGFileIO
22 # dependencies - External
23 # SET(${PROJECT_NAME}_DEP_LIB)
24 # SET(${PROJECT_NAME}_DEP_LIBDIR)
25 # SET(${PROJECT_NAME}_DEP_INCDIR)
27 # SET(${PROJECT_NAME}_DEP_TEST_LIB)
28 # SET(${PROJECT_NAME}_DEP_TEST_LIBDIR)
29 # SET(${PROJECT_NAME}_DEP_TEST_INCDIR OSG_GLUT_INC_DIR)
31 OSG_ADD_GLUTPACKAGE(TRUE)
33 # dependencies - Additional
34 # SET(${PROJECT_NAME}_DEP_ADD_INCDIR)
36 SET(${PROJECT_NAME}_CXXFLAGS ${OSG_ADD_CXX_FLAGS})
38 OSG_STORE_PROJECT_DEPENDENCIES()
40 ##############################################################################
42 ##############################################################################
44 OSG_ADD_DIRECTORY("Source/System/Cluster/Base")
45 OSG_ADD_DIRECTORY("Source/System/Cluster/Server")
46 OSG_ADD_DIRECTORY("Source/System/Cluster/Window/Base")
47 OSG_ADD_DIRECTORY("Source/System/Cluster/Window/BalancedMultiWindow")
48 OSG_ADD_DIRECTORY("Source/System/Cluster/Window/MultiDisplay")
49 OSG_ADD_DIRECTORY("Source/System/Cluster/Window/SortFirst")
50 OSG_ADD_DIRECTORY("Source/System/Cluster/Window/SortLast")
52 ##############################################################################
53 # setup python bindings
54 ##############################################################################
56 IF(${OSG_CMAKE_PASS} STREQUAL "OSGPYTHON")
58 # LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "ClusterWrappers.h")
60 LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGRenderActionBase.h")
61 LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGClusterException.h")
62 LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGClusterServer.h")
63 LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGClusterNetwork.h")
64 LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGRemoteAspect.h")
66 LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGImageComposer.h")
68 # LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_FCS "Group")
69 ENDIF(${OSG_CMAKE_PASS} STREQUAL "OSGPYTHON")
71 ##############################################################################
73 ##############################################################################
75 OSG_SETUP_PROJECT("OSG_COMPILECLUSTERLIB")