Commit f83d821a authored by Bill Lorensen's avatar Bill Lorensen
Browse files

ENH: Add InteractionStyle to rendering tests

When tests are run with -I they must be linked with InteractionStyle.

On the Mac, tests must be linked with MACOSX_BUNDLE to get keyboard
focus.

Change-Id: I938c4b6a5a44ca5792f5eeaaa946cc9fb27e1110
parent 980ce1d7
......@@ -9,6 +9,7 @@ vtk_module(vtkAcceleratorsPiston
vtkImagingHybrid #from piston
TEST_DEPENDS
vtkTestingRendering
vtkInteractionStyle
vtkInteractionWidgets
vtkImagingSources
vtkParallelCore
......
......@@ -407,7 +407,7 @@ endfunction()
macro(vtk_module_test_executable test_exe_name)
vtk_module_test()
# No forwarding or export for test executables.
add_executable(${test_exe_name} ${ARGN})
add_executable(${test_exe_name} MACOSX_BUNDLE ${ARGN})
target_link_libraries(${test_exe_name} ${${vtk-module-test}-Cxx_LIBRARIES})
if(${vtk-module-test}-Cxx_DEFINITIONS)
......
......@@ -7,4 +7,5 @@ vtk_module(vtkCommonColor
vtkRenderingOpenGL
vtkTestingCore
vtkTestingRendering
vtkInteractionStyle
)
......@@ -7,6 +7,7 @@ vtk_module(vtkCommonDataModel
TEST_DEPENDS
vtkTestingCore
vtkTestingRendering
vtkInteractionStyle
vtkCommonExecutionModel
vtkIOGeometry
vtkIOLegacy
......
......@@ -9,6 +9,7 @@ vtk_module(vtkFiltersCore
vtkCommonMath
TEST_DEPENDS
vtkTestingRendering
vtkInteractionStyle
vtkIOLegacy
vtkIOXML
vtkImagingCore
......
......@@ -11,6 +11,6 @@ vtk_module(vtkFiltersFlowPaths
vtkFiltersImaging
vtkTestingCore
vtkTestingRendering
vtkRenderingOpenGL
vtkInteractionStyle
vtkRenderingOpenGL
)
......@@ -12,4 +12,5 @@ vtk_module(vtkFiltersGeneric
vtkFiltersModeling
vtkRenderingLabel
vtkTestingRendering
vtkInteractionStyle
vtkTestingGenericBridge)
......@@ -7,4 +7,5 @@ vtk_module(vtkFiltersGeometry
vtkIOXML
vtkRenderingOpenGL
vtkTestingRendering
vtkInteractionStyle
)
......@@ -10,5 +10,6 @@ vtk_module(vtkFiltersHybrid
vtkRenderingOpenGL
vtkImagingCore
vtkTestingRendering
vtkInteractionStyle
vtkIOLegacy
)
......@@ -9,4 +9,5 @@ vtk_module(vtkFiltersModeling
vtkIOXML
vtkRenderingOpenGL
vtkTestingRendering
vtkInteractionStyle
)
......@@ -9,6 +9,7 @@ vtk_module(vtkFiltersParallel
TEST_DEPENDS
vtkParallelMPI
vtkTestingRendering
vtkInteractionStyle
vtkRenderingOpenGL
vtkRenderingParallel
vtkFiltersParallelMPI
......
......@@ -6,4 +6,5 @@ vtk_module(vtkFiltersProgrammable
TEST_DEPENDS
vtkRenderingOpenGL
vtkTestingRendering
vtkInteractionStyle
)
......@@ -4,4 +4,5 @@ vtk_module(vtkFiltersReebGraph
TEST_DEPENDS
vtkRenderingOpenGL
vtkTestingRendering
vtkInteractionStyle
)
......@@ -12,4 +12,5 @@ vtk_module(vtkFiltersSelection
vtkRenderingFreeTypeOpenGL
vtkRenderingAnnotation
vtkTestingRendering
vtkInteractionStyle
)
......@@ -7,6 +7,7 @@ vtk_module(vtkFiltersSources
TEST_DEPENDS
vtkTestingCore
vtkTestingRendering
vtkInteractionStyle
vtkRenderingOpenGL
vtkRenderingFreeTypeOpenGL
vtkFiltersModeling
......
......@@ -15,4 +15,5 @@ vtk_module(vtkGeovisCore
vtkRenderingCore
vtkRenderingFreeTypeOpenGL
vtkTestingRendering
vtkInteractionStyle
)
......@@ -15,6 +15,7 @@ vtk_module(vtkIOExport
vtkChartsCore
vtkInteractionImage
vtkTestingRendering
vtkInteractionStyle
vtkRenderingAnnotation
vtkRenderingFreeTypeOpenGL
vtkRenderingVolumeOpenGL
......
......@@ -6,4 +6,5 @@ vtk_module(vtkIOGDAL
vtkTestingCore
vtkRenderingOpenGL
vtkTestingRendering
vtkInteractionStyle
)
......@@ -14,4 +14,5 @@ vtk_module(vtkIOGeometry
vtkFiltersGeometry
vtkRenderingOpenGL
vtkTestingRendering
vtkInteractionStyle
)
......@@ -7,4 +7,5 @@ vtk_module(vtkIOImport
TEST_DEPENDS
vtkRenderingOpenGL
vtkTestingRendering
vtkInteractionStyle
)
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