Commit eb1f02f4 authored by Ben Boeckel's avatar Ben Boeckel

Examples: update to the new module system

parent b9599d2a
......@@ -24,10 +24,15 @@ else ()
endif ()
if (ANDROID)
#add_example(Android)
elseif (APPLE_IOS)
#add_example(iOS)
else ()
add_example(AMR/Cxx)
add_example(Annotation/Cxx/LabeledMesh)
#add_example(Array/Cxx)
#add_example(Build/vtkLocal)
#add_example(Build/vtkMy)
add_example(Charts/Cxx)
add_example(DataManipulation/Cxx)
add_example(GUI/Qt/FourPaneViewer)
......@@ -41,58 +46,20 @@ else ()
add_example(Modelling/Cxx)
add_example(MultiBlock/Cxx)
add_example(ParallelProcessing/Generic/Cxx)
endif ()
if (FALSE)
if (ANDROID)
add_subdirectory(Android)
elseif (APPLE_IOS)
add_subdirectory(iOS)
else()
if (NOT vtkRenderingCore_LOADED)
message(STATUS "vtkRenderingCore not found. No examples will be built")
else()
if (vtkTestingCore_LOADED)
if (NOT VTK_RENDERING_BACKEND STREQUAL "None")
add_subdirectory(VisualizationAlgorithms/Cxx)
add_subdirectory(Widgets/Cxx)
endif ()
endif()
if (NOT VTK_RENDERING_BACKEND STREQUAL "None")
add_subdirectory(Rendering/Cxx)
add_subdirectory(Tutorial/Step1/Cxx)
add_subdirectory(Tutorial/Step2/Cxx)
add_subdirectory(Tutorial/Step3/Cxx)
add_subdirectory(Tutorial/Step4/Cxx)
add_subdirectory(Tutorial/Step5/Cxx)
add_subdirectory(Tutorial/Step6/Cxx)
add_subdirectory(VolumeRendering/Cxx)
endif ()
# This may have been already built as part of the VTK build.
# If so we cannot create the target "vtkLocalExample" because
# an imported target of the same name already exists in the
# VTK build.
if(NOT vtkLocalExample_LOADED)
add_subdirectory(Build/vtkLocal)
endif()
endif()
add_subdirectory(Build/vtkMy)
#add_example(Rendering/Cxx)
#add_example(Tutorial/Step1/Cxx)
#add_example(Tutorial/Step2/Cxx)
#add_example(Tutorial/Step3/Cxx)
#add_example(Tutorial/Step4/Cxx)
#add_example(Tutorial/Step5/Cxx)
#add_example(Tutorial/Step6/Cxx)
#add_example(VisualizationAlgorithms/Cxx)
#add_example(VolumeRendering/Cxx)
#add_example(Widgets/Cxx)
# IF(VTK_USE_INFOVIS)
# IF(VTK_USE_N_WAY_ARRAYS)
# add_subdirectory(Array/Cxx)
# ENDIF()
# ENDIF()
# IF(WIN32)
# add_subdirectory(GUI/Win32/SimpleCxx)
# IF(VTK_USE_MFC)
# add_subdirectory(GUI/Win32/SampleMFC)
# add_subdirectory(GUI/Win32/vtkMFC)
# ENDIF()
# ENDIF()
endif()
if (WIN32)
#add_example(GUI/Win32/SimpleCxx)
#add_example(GUI/Win32/SampleMFC)
#add_example(GUI/Win32/vtkMFC)
endif ()
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