Commit a11937c2 authored by Mathieu Malaterre's avatar Mathieu Malaterre
Browse files

ENH: Add blockers

parent 95a790d8
......@@ -24,7 +24,6 @@ SUBDIRS(
Medical/Cxx
Modelling/Cxx
#MultiBlock/Cxx
Rendering/Cxx
Tutorial/Step1/Cxx
Tutorial/Step2/Cxx
Tutorial/Step3/Cxx
......@@ -34,6 +33,10 @@ SUBDIRS(
)
# Build optional examples.
IF (VTK_USE_RENDERING)
SUBDIRS(Rendering/Cxx)
ENDIF (VTK_USE_RENDERING)
IF (VTK_USE_PARALLEL)
SUBDIRS(ParallelProcessing)
ENDIF (VTK_USE_PARALLEL)
......
......@@ -6,12 +6,14 @@ IF(NOT VTK_DIR)
ENDIF(NOT VTK_DIR)
INCLUDE(${VTK_USE_FILE})
ADD_EXECUTABLE(Arrays Arrays.cxx)
ADD_EXECUTABLE(Cube Cube.cxx)
ADD_EXECUTABLE(SGrid SGrid.cxx)
ADD_EXECUTABLE(RGrid RGrid.cxx)
TARGET_LINK_LIBRARIES(Arrays vtkRendering)
TARGET_LINK_LIBRARIES(Cube vtkRendering)
TARGET_LINK_LIBRARIES(SGrid vtkRendering)
TARGET_LINK_LIBRARIES(RGrid vtkRendering)
IF(VTK_USE_RENDERING)
ADD_EXECUTABLE(Arrays Arrays.cxx)
ADD_EXECUTABLE(Cube Cube.cxx)
ADD_EXECUTABLE(SGrid SGrid.cxx)
ADD_EXECUTABLE(RGrid RGrid.cxx)
TARGET_LINK_LIBRARIES(Arrays vtkRendering)
TARGET_LINK_LIBRARIES(Cube vtkRendering)
TARGET_LINK_LIBRARIES(SGrid vtkRendering)
TARGET_LINK_LIBRARIES(RGrid vtkRendering)
ENDIF(VTK_USE_RENDERING)
......@@ -6,10 +6,12 @@ IF(NOT VTK_DIR)
ENDIF(NOT VTK_DIR)
INCLUDE(${VTK_USE_FILE})
ADD_EXECUTABLE(Medical1 Medical1.cxx)
ADD_EXECUTABLE(Medical2 Medical2.cxx)
ADD_EXECUTABLE(Medical3 Medical3.cxx)
TARGET_LINK_LIBRARIES(Medical1 vtkRendering vtkIO)
TARGET_LINK_LIBRARIES(Medical2 vtkRendering vtkIO)
TARGET_LINK_LIBRARIES(Medical3 vtkRendering vtkIO)
IF(VTK_USE_RENDERING)
ADD_EXECUTABLE(Medical1 Medical1.cxx)
ADD_EXECUTABLE(Medical2 Medical2.cxx)
ADD_EXECUTABLE(Medical3 Medical3.cxx)
TARGET_LINK_LIBRARIES(Medical1 vtkRendering vtkIO)
TARGET_LINK_LIBRARIES(Medical2 vtkRendering vtkIO)
TARGET_LINK_LIBRARIES(Medical3 vtkRendering vtkIO)
ENDIF(VTK_USE_RENDERING)
......@@ -6,5 +6,7 @@ IF(NOT VTK_DIR)
ENDIF(NOT VTK_DIR)
INCLUDE(${VTK_USE_FILE})
ADD_EXECUTABLE(finance finance.cxx)
TARGET_LINK_LIBRARIES(finance vtkRendering)
IF(VTK_USE_RENDERING)
ADD_EXECUTABLE(finance finance.cxx)
TARGET_LINK_LIBRARIES(finance vtkRendering)
ENDIF(VTK_USE_RENDERING)
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