Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Scott Wittenburg
VTK
Commits
7dc6d9f0
Commit
7dc6d9f0
authored
Jan 27, 2016
by
David C. Lonie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable GL2PS on Android/IOS.
parent
0e557921
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
35 additions
and
9 deletions
+35
-9
IO/Export/module.cmake
IO/Export/module.cmake
+10
-5
IO/ExportOpenGL/module.cmake
IO/ExportOpenGL/module.cmake
+4
-0
IO/ExportOpenGL2/module.cmake
IO/ExportOpenGL2/module.cmake
+4
-0
Rendering/GL2PS/module.cmake
Rendering/GL2PS/module.cmake
+4
-0
Rendering/GL2PSOpenGL2/module.cmake
Rendering/GL2PSOpenGL2/module.cmake
+4
-0
Rendering/Matplotlib/module.cmake
Rendering/Matplotlib/module.cmake
+5
-4
ThirdParty/gl2ps/module.cmake
ThirdParty/gl2ps/module.cmake
+4
-0
No files found.
IO/Export/module.cmake
View file @
7dc6d9f0
if
(
VTK_RENDERING_BACKEND STREQUAL
"OpenGL"
)
set
(
opengl_depends vtkRenderingGL2PS
)
if
(
ANDROID OR APPLE_IOS
)
# No gl2ps on mobile
set
(
gl2ps_depends
)
set
(
gl2ps_test_depends
)
elseif
(
VTK_RENDERING_BACKEND STREQUAL
"OpenGL"
)
set
(
gl2ps_depends vtkRenderingGL2PS
)
set
(
gl2ps_test_depends vtkIOExportOpenGL
)
elseif
(
VTK_RENDERING_BACKEND STREQUAL
"OpenGL2"
)
set
(
opengl_depends vtkRenderingGL2PSOpenGL2
)
set
(
gl2ps_depends vtkRenderingGL2PSOpenGL2
)
set
(
gl2ps_test_depends vtkIOExportOpenGL2
)
endif
()
vtk_module
(
vtkIOExport
...
...
@@ -9,9 +14,9 @@ vtk_module(vtkIOExport
Rendering
DEPENDS
vtkCommonCore
${
opengl_depends
}
vtkImagingCore
vtkRenderingCore
${
gl2ps_depends
}
PRIVATE_DEPENDS
vtkIOImage
vtkFiltersGeometry
...
...
@@ -19,7 +24,6 @@ vtk_module(vtkIOExport
vtkCommonColor
vtkChartsCore
vtkInteractionImage
vtkIOExport
${
VTK_RENDERING_BACKEND
}
vtkIOParallel
vtkTestingRendering
vtkInteractionStyle
...
...
@@ -28,4 +32,5 @@ vtk_module(vtkIOExport
vtkRenderingLabel
vtkRenderingVolume
${
VTK_RENDERING_BACKEND
}
vtkViewsContext2D
${
gl2ps_test_depends
}
)
IO/ExportOpenGL/module.cmake
View file @
7dc6d9f0
if
(
ANDROID OR APPLE_IOS
)
# No GL2PS on mobile
return
()
endif
()
vtk_module
(
vtkIOExportOpenGL
IMPLEMENTS
vtkIOExport
...
...
IO/ExportOpenGL2/module.cmake
View file @
7dc6d9f0
if
(
ANDROID OR APPLE_IOS
)
# No GL2PS on mobile
return
()
endif
()
vtk_module
(
vtkIOExportOpenGL2
IMPLEMENTS
vtkIOExport
...
...
Rendering/GL2PS/module.cmake
View file @
7dc6d9f0
if
(
ANDROID OR APPLE_IOS
)
# No GL2PS on mobile
return
()
endif
()
vtk_module
(
vtkRenderingGL2PS
TCL_NAME vtkRenderingGLtoPS
BACKEND
...
...
Rendering/GL2PSOpenGL2/module.cmake
View file @
7dc6d9f0
if
(
ANDROID OR APPLE_IOS
)
# No GL2PS on mobile
return
()
endif
()
vtk_module
(
vtkRenderingGL2PSOpenGL2
TCL_NAME vtkRenderingGLtoPSOpenGLII
IMPLEMENTS
...
...
Rendering/Matplotlib/module.cmake
View file @
7dc6d9f0
if
(
VTK_RENDERING_BACKEND STREQUAL
"OpenGL"
)
set
(
gl2ps_depends vtkRenderingGL2PS
)
if
(
ANDROID OR APPLE_IOS
)
set
(
gl2ps_depends
)
elseif
(
VTK_RENDERING_BACKEND STREQUAL
"OpenGL"
)
set
(
gl2ps_depends vtkRenderingGL2PS vtkIOExportOpenGL
)
elseif
(
VTK_RENDERING_BACKEND STREQUAL
"OpenGL2"
)
set
(
gl2ps_depends vtkRenderingGL2PSOpenGL2
)
set
(
gl2ps_depends vtkRenderingGL2PSOpenGL2
vtkIOExportOpenGL2
)
endif
()
vtk_module
(
vtkRenderingMatplotlib
...
...
@@ -17,7 +19,6 @@ vtk_module(vtkRenderingMatplotlib
vtkCommonColor
vtkInteractionImage
vtkInteractionWidgets
vtkIOExport
${
VTK_RENDERING_BACKEND
}
vtkIOGeometry
vtkIOParallel
vtkTestingRendering
...
...
ThirdParty/gl2ps/module.cmake
View file @
7dc6d9f0
if
(
ANDROID OR APPLE_IOS
)
# No GL2PS on mobile
return
()
endif
()
vtk_module
(
vtkgl2ps
DEPENDS
vtkpng
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment