forked from Kitware/VTK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vtkVersionMacros.h.in
32 lines (23 loc) · 1.25 KB
/
vtkVersionMacros.h.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*=========================================================================
Program: Visualization Toolkit
Module: vtkVersionMacros.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm 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.
=========================================================================*/
#ifndef vtkVersionMacros_h
#define vtkVersionMacros_h
/* Note: this file is deliberately both valid C and valid C++. */
#define VTK_MAJOR_VERSION @VTK_MAJOR_VERSION@
#define VTK_MINOR_VERSION @VTK_MINOR_VERSION@
#define VTK_BUILD_VERSION @VTK_BUILD_VERSION@
#define VTK_VERSION "@VTK_VERSION@"
#define VTK_SOURCE_VERSION "vtk version " VTK_VERSION
#define VTK_VERSION_CHECK(major, minor, build) \
(10000000000ULL * major + 100000000ULL * minor + build)
#define VTK_VERSION_NUMBER \
VTK_VERSION_CHECK(VTK_MAJOR_VERSION, VTK_MINOR_VERSION, VTK_BUILD_VERSION)
#endif