CMakeLists.txt 1.16 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#============================================================================
##  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.
##
##  Copyright 2014 Sandia Corporation.
##  Copyright 2014 UT-Battelle, LLC.
##  Copyright 2014 Los Alamos National Security.
##
##  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(unit_tests
22
23
  UnitTestMapperRayTracer.cxx
  UnitTestMapperVolume.cxx
24
)
25

26
set(libs)
27
28
if (OSMESA_FOUND)
  set(unit_tests ${unit_tests}
29
    UnitTestMapperOSMesa.cxx
30
    )
31
  list(APPEND libs ${OSMESA_INCLUDE_DIR})
32
33
endif()

34
VTKM_unit_tests(SOURCES ${unit_tests}
35
                LIBRARIES ${libs})