
project(MeshVizDataMappingDemos)

set(OIV_MODULE MeshVizXLM/demonstrators)

set(MESHVIEWER_DIR ${CMAKE_CURRENT_SOURCE_DIR}/MeshViewer)
file(GLOB_RECURSE meshviewer_HEADERS ${MESHVIEWER_DIR}/*.h)
file(GLOB_RECURSE meshviewer_SOURCES ${MESHVIEWER_DIR}/*.cxx)

set(MESHSAMPLES_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../mesh)
file(GLOB_RECURSE meshsample_HEADERS ${MESHSAMPLES_DIR}/*.h)
file(GLOB_RECURSE meshsample_SOURCES ${MESHSAMPLES_DIR}/*.cxx)
include_directories(${MESHSAMPLES_DIR})

link_libraries(${MeshVizDataMapping_LIBRARIES}
               ${MeshVizExtractor_LIBRARIES}
               ${DialogViz_LIBRARIES})

if(OIV_ENABLE_QT_DEMOS AND EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/BeyondCell)
  add_subdirectory(BeyondCell)
endif()
add_subdirectory(EclipseMeshViz)
add_subdirectory(PEBIMeshViz)
add_subdirectory(Turbine)
add_subdirectory(QuadraticWheelHexa27)
