fixed: auto_ptr -> unique_ptr
[opensg.git] / Source / System / GraphOp / CMakeLists.Lib.OSGUtil.txt
blob9def9271770058adbdbb3922244957b3b3277557
2 OSG_ADD_PROJECT("OSGUtil")
3 OSG_SELECT_PROJECT()
5 ##############################################################################
6 # dependencies
7 ##############################################################################
9 # dependencies - OpenSG
10 SET(${PROJECT_NAME}_DEP_OSG_LIB OSGDrawable
11                                 OSGGroup
12                                 OSGState
13                                 OSGWindow)
15 IF(NOT OSG_OGL_COREONLY OR OSG_CHECK_COREONLY)
16   SET(${PROJECT_NAME}_DEP_OSG_LIB ${${PROJECT_NAME}_DEP_OSG_LIB} OSGText)
17 ENDIF()
19 SET(${PROJECT_NAME}_DEP_TEST_OSG_LIB OSGGroup
20                                      OSGWindowGLUT)
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 SET(${PROJECT_NAME}_DEP_TEST_OSG_LIB OSGFileIO)
33 IF(OSG_OGL_COREONLY AND NOT OSG_CHECK_COREONLY)
34   SET(_OSG_EX_FGBASE "${CMAKE_SOURCE_DIR}/Source/System/Statistics/Foregrounds")
35   SET(_OSG_EX_WUBASE "${CMAKE_SOURCE_DIR}/Source/System/Window/Utilities")
37   SET(${PROJECT_NAME}_EXCL_FILES 
38       ${_OSG_EX_FGBASE}/OSGPerfMonitorForeground.h
39       ${_OSG_EX_FGBASE}/OSGPerfMonitorForeground.inl
40       ${_OSG_EX_FGBASE}/OSGPerfMonitorForeground.cpp
41       ${_OSG_EX_FGBASE}/OSGPerfMonitorForegroundBase.h
42       ${_OSG_EX_FGBASE}/OSGPerfMonitorForegroundFields.h
43       ${_OSG_EX_FGBASE}/OSGPerfMonitorForegroundBase.inl
44       ${_OSG_EX_FGBASE}/OSGPerfMonitorForegroundBase.cpp
45       ${_OSG_EX_FGBASE}/OSGSimpleStatisticsForeground.h
46       ${_OSG_EX_FGBASE}/OSGSimpleStatisticsForeground.inl
47       ${_OSG_EX_FGBASE}/OSGSimpleStatisticsForeground.cpp
48       ${_OSG_EX_FGBASE}/OSGSimpleStatisticsForegroundBase.h
49       ${_OSG_EX_FGBASE}/OSGSimpleStatisticsForegroundFields.h
50       ${_OSG_EX_FGBASE}/OSGSimpleStatisticsForegroundBase.inl
51       ${_OSG_EX_FGBASE}/OSGSimpleStatisticsForegroundBase.cpp
52       ${_OSG_EX_FGBASE}/testStatisticsRender.cpp
53       ${_OSG_EX_FGBASE}/testPerfMonitorForeground.cpp
54       ${_OSG_EX_FGBASE}/OSGStatisticsDefaultFont.h
55       ${_OSG_EX_FGBASE}/OSGStatisticsDefaultFont.cpp
56       ${_OSG_EX_WUBASE}/OSGSimpleSceneManager.h
57       ${_OSG_EX_WUBASE}/OSGSimpleSceneManager.inl
58       ${_OSG_EX_WUBASE}/OSGSimpleSceneManager.cpp)
59 ENDIF()
61 OSG_ADD_GLUTPACKAGE(TRUE)
63 # dependencies - Additional
64 # SET(${PROJECT_NAME}_DEP_ADD_INCDIR)
66 SET(${PROJECT_NAME}_CXXFLAGS ${OSG_ADD_CXX_FLAGS})
68 OSG_STORE_PROJECT_DEPENDENCIES()
70 ##############################################################################
71 # collect sources
72 ##############################################################################
74 OSG_ADD_DIRECTORY("Source/System/GraphOp")
75 OSG_ADD_DIRECTORY("Source/System/Statistics/Foregrounds")
76 OSG_ADD_DIRECTORY("Source/System/Window/Utilities")
77 OSG_ADD_DIRECTORY("Source/System/Sort")
79 ##############################################################################
80 # setup python bindings
81 ##############################################################################
83 IF(${OSG_CMAKE_PASS} STREQUAL "OSGPYTHON")
85 #  LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "UtilWrappers.h")
87   LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGGeoTypeGraphOp.h")
88   LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGMakeTransparentGraphOp.h")
89   LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGMaterialMergeGraphOp.h")
90   LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGMergeGraphOp.h")
91   LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGPruneGraphOp.h")
92   LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGSharePtrGraphOp.h")
93   LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGSingleTypeGraphOp.h")
94   LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGSplitGraphOp.h")
95   LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGStripeGraphOp.h")
96   LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGVerifyGeoGraphOp.h")
97   LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGVerifyGraphOp.h")
98   LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGWalkEngine.h")
99   LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGTrackballEngine.h")
100   LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGNoneEngine.h")
101   LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGFlyEngine.h")
102   LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGNavigatorEngine.h")
103   LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGNavigator.h")
104   LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGNavigationManager.h")
105   LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_HEADERS "OSGSimpleSceneManager.h")
107 #  LIST(APPEND ${PROJECT_NAME}_PYTHON_BIND_FCS "Group")
108 ENDIF(${OSG_CMAKE_PASS} STREQUAL "OSGPYTHON")
110 ##############################################################################
111 # setup build
112 ##############################################################################
114 OSG_SETUP_PROJECT("OSG_COMPILEUTILLIB")