Commit 5f185384 authored by Matthias Möller's avatar Matthias Möller

disable type plugin if corresponding objecttype is missing

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@17577 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 1354ce58
include (plugin)
openflipper_plugin ( INSTALLDATA Icons )
if (EXISTS ${CMAKE_SOURCE_DIR}/ObjectTypes/BSplineCurve/BSplineCurve.hh)
openflipper_plugin (INSTALLDATA Icons)
else()
message( WARNING "Plugin TypeBSplineCurve disabled due to missing BSplineCurve ObjectType" )
endif ()
include (plugin)
openflipper_plugin ( INSTALLDATA Icons )
if (EXISTS ${CMAKE_SOURCE_DIR}/ObjectTypes/BSplineSurface/BSplineSurface.hh)
openflipper_plugin (INSTALLDATA Icons)
else()
message( WARNING "Plugin TypeBSplineSurface disabled due to missing BSplineSurface ObjectType" )
endif ()
\ No newline at end of file
include (plugin)
openflipper_plugin ( INSTALLDATA Icons )
if (EXISTS ${CMAKE_SOURCE_DIR}/ObjectTypes/Camera/Camera.hh)
openflipper_plugin (INSTALLDATA Icons)
else()
message( WARNING "Plugin TypeCamera disabled due to missing Camera ObjectType" )
endif ()
\ No newline at end of file
include (plugin)
openflipper_plugin ( INSTALLDATA Icons
)
if (EXISTS ${CMAKE_SOURCE_DIR}/ObjectTypes/Coordsys/Coordsys.hh)
openflipper_plugin (INSTALLDATA Icons)
else()
message( WARNING "Plugin TypeCoordsys disabled due to missing Coordsys ObjectType" )
endif ()
include (plugin)
openflipper_plugin (DEPS OpenVolumeMesh)
if (EXISTS ${CMAKE_SOURCE_DIR}/ObjectTypes/HexahedralMesh/HexahedralMesh.hh)
openflipper_plugin (DEPS OpenVolumeMesh)
else()
message( WARNING "Plugin TypeHexahedralMesh disabled due to missing HexahedralMesh ObjectType" )
endif ()
include (plugin)
openflipper_plugin ( INSTALLDATA Icons
)
if (EXISTS ${CMAKE_SOURCE_DIR}/ObjectTypes/Light/Light.hh)
openflipper_plugin (INSTALLDATA Icons)
else()
message( WARNING "Plugin TypeLight disabled due to missing Light ObjectType" )
endif ()
include (plugin)
openflipper_plugin ( INSTALLDATA Icons
)
if (EXISTS ${CMAKE_SOURCE_DIR}/ObjectTypes/Plane/Plane.hh)
openflipper_plugin (INSTALLDATA Icons)
else()
message( WARNING "Plugin TypePlane disabled due to missing Plane ObjectType" )
endif ()
include (plugin)
openflipper_plugin ( INSTALLDATA Icons )
if (EXISTS ${CMAKE_SOURCE_DIR}/ObjectTypes/PolyLine/PolyLine.hh)
openflipper_plugin (INSTALLDATA Icons)
else()
message( WARNING "Plugin TypePolyLine disabled due to missing PolyLine ObjectType" )
endif ()
include (plugin)
openflipper_plugin ( INSTALLDATA Icons
)
if (EXISTS ${CMAKE_SOURCE_DIR}/ObjectTypes/PolyMesh/PolyMesh.hh)
openflipper_plugin (INSTALLDATA Icons)
else()
message( WARNING "Plugin TypePolyMesh disabled due to missing PolyMesh ObjectType" )
endif ()
include (plugin)
openflipper_plugin (DEPS OpenVolumeMesh)
if (EXISTS ${CMAKE_SOURCE_DIR}/ObjectTypes/PolyhedralMesh/PolyhedralMesh.hh)
openflipper_plugin (DEPS OpenVolumeMesh)
else()
message( WARNING "Plugin TypePolyhedralMesh disabled due to missing PolyhedralMesh ObjectType" )
endif ()
include (plugin)
openflipper_plugin ( INSTALLDATA Icons
)
if (EXISTS ${CMAKE_SOURCE_DIR}/ObjectTypes/QtWidget/QtWidget.hh)
openflipper_plugin (INSTALLDATA Icons)
else()
message( WARNING "Plugin TypeQtWidget disabled due to missing QtWidget ObjectType" )
endif ()
include (plugin)
openflipper_plugin ( INSTALLDATA Icons
)
if (EXISTS ${CMAKE_SOURCE_DIR}/ObjectTypes/Skeleton/Skeleton.hh)
openflipper_plugin (INSTALLDATA Icons)
else()
message( WARNING "Plugin TypeSkeleton disabled due to missing Skeleton ObjectType" )
endif ()
include (plugin)
openflipper_plugin ( INSTALLDATA Icons
)
if (EXISTS ${CMAKE_SOURCE_DIR}/ObjectTypes/Sphere/Sphere.hh)
openflipper_plugin (INSTALLDATA Icons)
else()
message( WARNING "Plugin TypeSphere disabled due to missing Sphere ObjectType" )
endif ()
include (plugin)
openflipper_plugin (INSTALLDATA Icons Shaders)
if (EXISTS ${CMAKE_SOURCE_DIR}/ObjectTypes/SplatCloud/SplatCloud.hh)
openflipper_plugin (INSTALLDATA Icons Shaders)
else()
message( WARNING "Plugin TypeSplatCloud disabled due to missing SplatCloud ObjectType" )
endif ()
include (plugin)
openflipper_plugin ( INSTALLDATA Icons
)
if (EXISTS ${CMAKE_SOURCE_DIR}/ObjectTypes/TriangleMesh/TriangleMesh.hh)
openflipper_plugin (INSTALLDATA Icons)
else()
message( WARNING "Plugin TypeTriangleMesh disabled due to missing TriangleMesh ObjectType" )
endif ()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment