This allows source files to use the VTK-m version. Note that Configure.h does not include the version. This is intentional. First, I don't want the entirety of VTK-m to recompile every time the version is updated (which is every time a commit happens in git). Second, it is important that external project source files be able to get the VTK-m version without actually loading any VTK-m code.
30 lines
1.2 KiB
C
30 lines
1.2 KiB
C
//============================================================================
|
|
// 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 2017 Sandia Corporation.
|
|
// Copyright 2017 UT-Battelle, LLC.
|
|
// Copyright 2017 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.
|
|
//============================================================================
|
|
#ifndef vtk_m_Version_h
|
|
#define vtk_m_Version_h
|
|
|
|
#define VTKM_VERSION_MAJOR @VTKm_VERSION_MAJOR@
|
|
#define VTKM_VERSION_MINOR @VTKm_VERSION_MINOR@
|
|
#define VTKM_VERSION_PATCH @VTKm_VERSION_PATCH@
|
|
#define VTKM_VERSION_FULL "@VTKm_VERSION_FULL@"
|
|
#define VTKM_VERSION "@VTKm_VERSION@"
|
|
|
|
#endif //vtk_m_Version_h
|