
project(MeshVizExtractorDemos)

set(OIV_MODULE MeshVizXLM/extractors)

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})

set(BENCHTEMPLATE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/BenchTemplate)
file(GLOB_RECURSE benchtemplate_HEADERS ${BENCHTEMPLATE_DIR}/*.h)
file(GLOB_RECURSE benchtemplate_SOURCES ${BENCHTEMPLATE_DIR}/*.cxx)
include_directories(${BENCHTEMPLATE_DIR})

if(APPLE)
 link_libraries(${MeshVizExtractor_LIBRARIES} ${OpenInventorQt_LIBRARIES})
 
else()

 link_libraries(${MeshVizExtractor_LIBRARIES} ${OpenInventorXt_LIBRARIES} )
endif()

add_subdirectory(Skin)
add_subdirectory(Outline)
add_subdirectory(LogicalSlice/Regular)
add_subdirectory(LogicalSlice/HexahedronIjk)
add_subdirectory(InterpolatedLogicalSlice)
add_subdirectory(Isosurf)
add_subdirectory(MultipleBenchmark)
add_subdirectory(PlaneSlice)
add_subdirectory(TessellatedLine)
add_subdirectory(TessellatedSkin)
add_subdirectory(TessellatedSurface)
add_subdirectory(TessellatedPolyhedralMesh)
add_subdirectory(Tessellation/Polyhedral)
add_subdirectory(Tessellation/Polyhedral2)
add_subdirectory(PointProbe)
add_subdirectory(PointProbeUnstructured)
add_subdirectory(GridSlice)
add_subdirectory(OverlappingSurfaces)



