Commit ecfb7ea3 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit Committed by Ben Boeckel

vtkGeovisCore: update to the new module system

parent 99071560
set(Module_Deprecated_SRCS)
set(classes
vtkCompassRepresentation
vtkCompassWidget
vtkGeoProjection
vtkGeoTransform)
if(NOT VTK_LEGACY_REMOVE)
list(APPEND Module_Deprecated_SRCS
vtkGeoAdaptiveArcs.cxx
vtkGeoAlignedImageRepresentation.cxx
vtkGeoAlignedImageSource.cxx
vtkGeoArcs.cxx
vtkGeoAssignCoordinates.cxx
vtkGeoCamera.cxx
vtkGeoFileImageSource.cxx
vtkGeoFileTerrainSource.cxx
vtkGeoGlobeSource.cxx
vtkGeoGraticule.cxx
vtkGeoImageNode.cxx
vtkGeoInteractorStyle.cxx
vtkGeoProjectionSource.cxx
vtkGeoRandomGraphSource.cxx
vtkGeoSampleArcs.cxx
vtkGeoSource.cxx
vtkGeoSphereTransform.cxx
vtkGeoTerrain.cxx
vtkGeoTerrain2D.cxx
vtkGeoTerrainNode.cxx
vtkGeoTreeNode.cxx
vtkGeoTreeNodeCache.cxx
vtkGlobeSource.cxx
)
endif()
if (NOT VTK_LEGACY_REMOVE)
list(APPEND classes
vtkGeoAdaptiveArcs
vtkGeoAlignedImageRepresentation
vtkGeoAlignedImageSource
vtkGeoArcs
vtkGeoAssignCoordinates
vtkGeoCamera
vtkGeoFileImageSource
vtkGeoFileTerrainSource
vtkGeoGlobeSource
vtkGeoGraticule
vtkGeoImageNode
vtkGeoInteractorStyle
vtkGeoProjectionSource
vtkGeoRandomGraphSource
vtkGeoSampleArcs
vtkGeoSource
vtkGeoSphereTransform
vtkGeoTerrain
vtkGeoTerrain2D
vtkGeoTerrainNode
vtkGeoTreeNode
vtkGeoTreeNodeCache
vtkGlobeSource)
endif ()
set(Module_SRCS
${Module_Deprecated_SRCS}
vtkCompassRepresentation.cxx
vtkCompassWidget.cxx
vtkGeoProjection.cxx
vtkGeoTransform.cxx
)
vtk_module_library(vtkGeovisCore ${Module_SRCS})
vtk_module_add_module(VTK::GeovisCore
CLASSES ${classes})
vtk_module_test_data(
Data/NE2_ps_bath_small.jpg
Data/political.vtp
Data/usa_image.jpg)
add_subdirectory(Cxx)
set(Deprecated_DEPS)
if(NOT VTK_LEGACY_REMOVE)
list(APPEND Deprecated_DEPS vtkViewsGeovis)
endif()
vtk_module(vtkGeovisCore
GROUPS
Rendering
TEST_DEPENDS
${Deprecated_DEPS}
vtkViewsInfovis
vtkRenderingCore
vtkRenderingOpenGL2
vtkTestingRendering
vtkInteractionStyle
DEPENDS
vtkCommonCore
vtkCommonDataModel
vtkCommonExecutionModel
vtkCommonTransforms
vtkInfovisCore
vtkInteractionStyle
vtkInteractionWidgets
vtkRenderingCore
vtkViewsCore
vtklibproj
PRIVATE_DEPENDS
vtkCommonSystem
vtkFiltersCore
vtkFiltersGeneral
vtkIOImage
vtkIOXML
vtkImagingCore
vtkImagingSources
vtkInfovisLayout
)
NAME
VTK::GeovisCore
LIBRARY_NAME
vtkGeovisCore
GROUPS
Rendering
DEPENDS
VTK::CommonCore
VTK::CommonDataModel
VTK::CommonExecutionModel
VTK::CommonTransforms
VTK::InfovisCore
VTK::InteractionStyle
VTK::InteractionWidgets
VTK::RenderingCore
VTK::ViewsCore
VTK::libproj
PRIVATE_DEPENDS
VTK::CommonSystem
VTK::FiltersCore
VTK::FiltersGeneral
VTK::IOImage
VTK::IOXML
VTK::ImagingCore
VTK::ImagingSources
VTK::InfovisLayout
TEST_DEPENDS
VTK::IOImage
VTK::IOXML
VTK::InteractionStyle
VTK::RenderingCore
VTK::RenderingOpenGL2
VTK::TestingRendering
VTK::ViewsInfovis
TEST_OPTIONAL_DEPENDS
# XXX(VTK_LEGACY_REMOVE): This is only required by legacy-using tests.
VTK::ViewsGeovis
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