2 OSG_ADD_PROJECT("OSGFileIO")
5 ##############################################################################
7 ##############################################################################
9 # dependencies - OpenSG
10 SET(${PROJECT_NAME}_DEP_OSG_LIB OSGDrawable
15 SET(${PROJECT_NAME}_DEP_TEST_OSG_LIB OSGImageFileIO
19 # dependencies - External
20 # SET(${PROJECT_NAME}_DEP_LIB CG_LIBRARIES)
21 # SET(${PROJECT_NAME}_DEP_LIBDIR)
22 # SET(${PROJECT_NAME}_DEP_INCDIR CG_INCLUDE_DIR)
25 SET(${PROJECT_NAME}_DEP_SYS_INCDIR COLLADA_DAE_INCLUDE_DIR
26 COLLADA_DOM_INCLUDE_DIR)
27 SET(${PROJECT_NAME}_DEP_LIB OSG_COLLADA_LIBS OSG_BOOST_LIBS)
30 #SET(${PROJECT_NAME}_DEP_LIB ${${PROJECT_NAME}_DEP_LIB} CG_LIBRARIES)
31 #SET(${PROJECT_NAME}_DEP_INCDIR ${${PROJECT_NAME}_DEP_INCDIR} CG_INCLUDE_DIR)
33 # SET(${PROJECT_NAME}_DEP_TEST_LIB OSG_GLUT_LIBS)
34 # SET(${PROJECT_NAME}_DEP_TEST_LIBDIR)
35 # SET(${PROJECT_NAME}_DEP_TEST_INCDIR OSG_GLUT_INC_DIR)
37 SET(${PROJECT_NAME}_DEP_UNITTEST_LIB OSG_BOOST_LIBS)
39 OSG_ADD_GLUTPACKAGE(TRUE)
41 # dependencies - Additional
42 # SET(${PROJECT_NAME}_DEP_ADD_INCDIR)
44 SET(${PROJECT_NAME}_CXXFLAGS ${OSG_ADD_CXX_FLAGS})
46 OSG_STORE_PROJECT_DEPENDENCIES()
48 ##############################################################################
50 ##############################################################################
52 OSG_ADD_DIRECTORY("Source/System/FileIO")
53 OSG_ADD_DIRECTORY("Source/System/FileIO/WRL")
54 OSG_ADD_DIRECTORY("Source/System/FileIO/3DS")
55 OSG_ADD_DIRECTORY("Source/System/FileIO/RAW")
56 OSG_ADD_DIRECTORY("Source/System/FileIO/Ogre")
57 OSG_ADD_DIRECTORY("Source/System/FileIO/OSB")
58 OSG_ADD_DIRECTORY("Source/System/FileIO/OBJ")
59 OSG_ADD_DIRECTORY("Source/System/FileIO/OFF")
60 OSG_ADD_DIRECTORY("Source/System/FileIO/STL")
62 IF(NOT OSG_OGL_COREONLY OR OSG_CHECK_COREONLY)
63 OSG_ADD_DIRECTORY("Source/System/FileIO/OpenFlight")
67 OSG_ADD_DIRECTORY("Source/System/FileIO/Collada")
68 OSG_ADD_DIRECTORY("Source/System/FileIO/Collada/ExtraHandler")
71 ##############################################################################
72 # setup python bindings
73 ##############################################################################
75 #SET(${PROJECT_NAME}_NO_PYTHON TRUE)
77 ##############################################################################
79 ##############################################################################
81 OSG_SETUP_PROJECT("OSG_COMPILEFILEIOLIB")