2016-01-20 22:40:54 +00:00
|
|
|
##============================================================================
|
|
|
|
## Copyright (c) Kitware, Inc.
|
|
|
|
## All rights reserved.
|
|
|
|
## See LICENSE.txt for details.
|
|
|
|
## This software is distributed WITHOUT ANY WARRANTY; without even
|
|
|
|
## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
|
|
## PURPOSE. See the above copyright notice for more information.
|
|
|
|
##
|
2016-05-25 21:32:10 +00:00
|
|
|
## Copyright 2016 Sandia Corporation.
|
|
|
|
## Copyright 2016 UT-Battelle, LLC.
|
|
|
|
## Copyright 2016 Los Alamos National Security.
|
2016-01-20 22:40:54 +00:00
|
|
|
##
|
|
|
|
## Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
|
|
|
|
## the U.S. Government retains certain rights in this software.
|
|
|
|
##
|
|
|
|
## Under the terms of Contract DE-AC52-06NA25396 with Los Alamos National
|
|
|
|
## Laboratory (LANL), the U.S. Government retains certain rights in
|
|
|
|
## this software.
|
|
|
|
##============================================================================
|
|
|
|
|
|
|
|
set(headers
|
2016-06-02 21:43:30 +00:00
|
|
|
Actor.h
|
2016-05-25 21:32:10 +00:00
|
|
|
AxisAnnotation.h
|
|
|
|
AxisAnnotation2D.h
|
|
|
|
AxisAnnotation3D.h
|
2016-06-01 20:56:30 +00:00
|
|
|
BitmapFont.h
|
|
|
|
BitmapFontFactory.h
|
2016-05-25 21:32:10 +00:00
|
|
|
BoundingBoxAnnotation.h
|
2016-06-02 19:04:01 +00:00
|
|
|
Camera.h
|
2016-06-02 22:02:17 +00:00
|
|
|
Canvas.h
|
|
|
|
CanvasRayTracer.h
|
2016-01-20 22:40:54 +00:00
|
|
|
Color.h
|
2016-05-25 21:32:10 +00:00
|
|
|
ColorBarAnnotation.h
|
2016-01-20 22:40:54 +00:00
|
|
|
ColorTable.h
|
2016-06-01 20:56:30 +00:00
|
|
|
MatrixHelpers.h
|
2016-02-09 13:59:26 +00:00
|
|
|
Scene.h
|
2016-06-02 19:41:14 +00:00
|
|
|
Mapper.h
|
|
|
|
MapperRayTracer.h
|
|
|
|
MapperVolume.h
|
2016-06-01 20:56:30 +00:00
|
|
|
TextAnnotation.h
|
2016-01-20 22:40:54 +00:00
|
|
|
Triangulator.h
|
2016-06-02 21:43:30 +00:00
|
|
|
View.h
|
2016-05-25 21:32:10 +00:00
|
|
|
WorldAnnotator.h
|
|
|
|
)
|
|
|
|
|
|
|
|
set(opengl_headers
|
2016-06-02 22:02:17 +00:00
|
|
|
CanvasGL.h
|
2016-06-02 19:41:14 +00:00
|
|
|
MapperGL.h
|
2016-06-01 20:56:30 +00:00
|
|
|
TextureGL.h
|
2016-05-25 21:32:10 +00:00
|
|
|
WorldAnnotatorGL.h
|
|
|
|
)
|
2016-06-15 13:48:45 +00:00
|
|
|
set(egl_headers
|
|
|
|
CanvasEGL.h
|
|
|
|
)
|
2016-05-25 21:32:10 +00:00
|
|
|
|
|
|
|
set(osmesa_headers
|
2016-06-02 22:02:17 +00:00
|
|
|
CanvasOSMesa.h
|
2016-01-20 22:40:54 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
#-----------------------------------------------------------------------------
|
2016-08-25 15:44:34 +00:00
|
|
|
vtkm_configure_component_OpenGL()
|
|
|
|
if(VTKm_OpenGL_FOUND)
|
2016-05-25 21:32:10 +00:00
|
|
|
set(headers ${headers} ${opengl_headers})
|
2016-08-24 20:22:48 +00:00
|
|
|
|
2016-08-25 15:44:34 +00:00
|
|
|
vtkm_configure_component_OSMesa()
|
|
|
|
if(VTKm_OSMesa_FOUND)
|
|
|
|
set(headers ${headers} ${osmesa_headers})
|
|
|
|
endif()
|
|
|
|
|
|
|
|
vtkm_configure_component_EGL()
|
|
|
|
if(VTKm_EGL_FOUND)
|
2016-08-24 20:22:48 +00:00
|
|
|
set(headers ${headers} ${egl_headers})
|
|
|
|
endif()
|
2016-08-25 15:44:34 +00:00
|
|
|
|
|
|
|
vtkm_configure_component_GLFW()
|
|
|
|
if(VTKm_GLFW_FOUND)
|
2016-08-24 20:22:48 +00:00
|
|
|
set(headers ${headers} ${glfw_headers})
|
|
|
|
endif()
|
2016-05-25 21:32:10 +00:00
|
|
|
endif()
|
|
|
|
|
2016-01-20 22:40:54 +00:00
|
|
|
vtkm_declare_headers(${headers})
|
2016-05-25 21:32:10 +00:00
|
|
|
|
|
|
|
add_subdirectory(internal)
|
2016-01-20 22:40:54 +00:00
|
|
|
add_subdirectory(raytracing)
|
2016-05-25 21:32:10 +00:00
|
|
|
|
2016-01-20 22:40:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#-----------------------------------------------------------------------------
|
|
|
|
add_subdirectory(testing)
|