Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VTK
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ben Boeckel
VTK
Commits
0ec6a10a
Commit
0ec6a10a
authored
7 years ago
by
Utkarsh Ayachit
Committed by
Ben Boeckel
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
vtkIOGDAL: update to the new module system
parent
6a279a02
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
IO/GDAL/CMakeLists.txt
+12
-10
12 additions, 10 deletions
IO/GDAL/CMakeLists.txt
IO/GDAL/Testing/CMakeLists.txt
+5
-0
5 additions, 0 deletions
IO/GDAL/Testing/CMakeLists.txt
IO/GDAL/module.cmake
+0
-15
0 additions, 15 deletions
IO/GDAL/module.cmake
IO/GDAL/vtk.module
+17
-0
17 additions, 0 deletions
IO/GDAL/vtk.module
with
34 additions
and
25 deletions
IO/GDAL/CMakeLists.txt
+
12
−
10
View file @
0ec6a10a
find_package
(
GDAL REQUIRED
)
mark_as_advanced
(
GDAL_INCLUDE_DIR GDAL_LIBRARY
)
set
(
GDAL_SRCS vtkGDAL.cxx vtkGDALVectorReader.cxx vtkGDALRasterReader.cxx
)
include_directories
(
${
GDAL_INCLUDE_DIRS
}
)
vtk_module_library
(
vtkIOGDAL
${
GDAL_SRCS
}
)
vtk_module_link_libraries
(
vtkIOGDAL LINK_PRIVATE
${
GDAL_LIBRARY
}
)
vtk_module_find_package
(
PACKAGE GDAL
)
set
(
classes
vtkGDAL
vtkGDALVectorReader
vtkGDALRasterReader
)
vtk_module_add_module
(
VTK::IOGDAL
CLASSES
${
classes
}
)
vtk_module_link
(
VTK::IOGDAL
PRIVATE
GDAL::GDAL
)
This diff is collapsed.
Click to expand it.
IO/GDAL/Testing/CMakeLists.txt
+
5
−
0
View file @
0ec6a10a
vtk_module_test_data
(
Data/GIS/countries.shp
Data/GIS/countries.shx
Data/GIS/raster.tif
)
add_subdirectory
(
Cxx
)
This diff is collapsed.
Click to expand it.
IO/GDAL/module.cmake
deleted
100644 → 0
+
0
−
15
View file @
6a279a02
vtk_module
(
vtkIOGDAL
TEST_DEPENDS
vtkTestingCore
vtkRenderingOpenGL2
vtkTestingRendering
vtkInteractionStyle
KIT
vtkIO
DEPENDS
vtkCommonCore
vtkCommonExecutionModel
vtkIOImage
PRIVATE_DEPENDS
vtkCommonDataModel
)
This diff is collapsed.
Click to expand it.
IO/GDAL/vtk.module
0 → 100644
+
17
−
0
View file @
0ec6a10a
NAME
VTK
::
IOGDAL
LIBRARY_NAME
vtkIOGDAL
KIT
VTK
::
IO
DEPENDS
VTK
::
CommonCore
VTK
::
CommonExecutionModel
VTK
::
IOImage
PRIVATE_DEPENDS
VTK
::
CommonDataModel
TEST_DEPENDS
VTK
::
InteractionStyle
VTK
::
RenderingOpenGL2
VTK
::
TestingCore
VTK
::
TestingRendering
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment