CMakeLists.txt 828 Bytes
Newer Older
Jan Möbius's avatar
 
Jan Möbius committed
1
include (plugin)
Henrik Zimmer's avatar
Henrik Zimmer committed
2

3 4 5 6
if (EXISTS ${CMAKE_SOURCE_DIR}/ObjectTypes/PolyLine)
  add_definitions (-DENABLE_POLYLINE_SUPPORT)
endif ()

Henrik Zimmer's avatar
Henrik Zimmer committed
7 8 9 10
if (EXISTS ${CMAKE_SOURCE_DIR}/ObjectTypes/TSplineMesh)
  add_definitions (-DENABLE_TSPLINEMESH_SUPPORT)
endif ()

Dirk Wilden's avatar
Dirk Wilden committed
11 12 13 14
if (EXISTS ${CMAKE_SOURCE_DIR}/ObjectTypes/Skeleton)
  add_definitions (-DENABLE_SKELETON_SUPPORT)
endif ()

15 16 17 18 19 20 21 22 23 24 25 26 27
if (EXISTS ${CMAKE_SOURCE_DIR}/ObjectTypes/PolyhedralMesh)
    add_definitions (-DENABLE_OPENVOLUMEMESH_SUPPORT)
    add_definitions (-DENABLE_OPENVOLUMEMESH_POLYHEDRAL_SUPPORT)
endif()

if (EXISTS ${CMAKE_SOURCE_DIR}/ObjectTypes/HexahedralMesh)
    add_definitions (-DENABLE_OPENVOLUMEMESH_SUPPORT)
    add_definitions (-DENABLE_OPENVOLUMEMESH_HEXAHEDRAL_SUPPORT)
endif()

openflipper_plugin ( TRANSLATION_LANGUAGES de_DE
                     INSTALLDATA Icons VsiMetadata )