# ADD SEPARATE LINE FOR EACH LIBRARY WHICH SHOULD BE BUILT # Build 3DMenu library option(INVRS_ENABLE_3DMENU "Enable/disable 3D menu library" OFF) if(INVRS_ENABLE_3DMENU) add_subdirectory (3DMenu) endif(INVRS_ENABLE_3DMENU) # Build AvataraWrapper # BUILD_EXTERNAL_AVATARA is set in external/avatara-1.0/CMakeLists.txt if (BUILD_EXTERNAL_AVATARA) option(INVRS_ENABLE_AVATAR_WRAPPER "Enable/disable support for Avatar" OFF) if (INVRS_ENABLE_AVATAR_WRAPPER) add_subdirectory (AvataraWrapper) endif (INVRS_ENABLE_AVATAR_WRAPPER) endif(BUILD_EXTERNAL_AVATARA) # Build VrpnDevice (if enabled via cmake) option ( INVRS_ENABLE_VRPN_SUPPORT "Enable/disable support for VRPN" FALSE ) if (INVRS_ENABLE_VRPN_SUPPORT) add_subdirectory (VrpnDevice) endif (INVRS_ENABLE_VRPN_SUPPORT) # Build TrackdDevice (if enabled via cmake) option ( INVRS_ENABLE_TRACKD_SUPPORT "Enable/disable support for TrackD" FALSE ) if (INVRS_ENABLE_TRACKD_SUPPORT) add_subdirectory (TrackdDevice) endif (INVRS_ENABLE_TRACKD_SUPPORT) # Build OpenSGApplicationBase option(INVRS_ENABLE_OPENSGAPPLICATIONBASE "Enable/disable OpenSGApplicationBase" ON) if(INVRS_ENABLE_OPENSGAPPLICATIONBASE) add_subdirectory(OpenSGApplicationBase) endif(INVRS_ENABLE_OPENSGAPPLICATIONBASE) # Build Sound option(INVRS_ENABLE_SOUND "Enable/disable sound library" OFF) if(INVRS_ENABLE_SOUND) add_subdirectory (Sound) endif(INVRS_ENABLE_SOUND) # Build PhysicsSoundManager #add_subdirectory (PhysicsSoundManager) # the 3DPhysics module depends on oops: if ( INVRS_ENABLE_MODULE_3DPHYSICS ) # Build oops library add_subdirectory (oops) endif ( INVRS_ENABLE_MODULE_3DPHYSICS ) # Build collisionmap library add_subdirectory (CollisionMap) # Build Heightmap library add_subdirectory (HeightMap) # Build Skybox library add_subdirectory (Skybox) # Build TextureManager library add_subdirectory (TextureManager)