diff options
author | Brad King <brad.king@kitware.com> | 2015-12-17 19:56:40 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-12-17 19:56:40 (GMT) |
commit | 12293371ee0f3b930afee8d328415968eb8201e6 (patch) | |
tree | 25d0d679620e4129a2bbe6e1c8338a3a1fa9fd23 /Utilities/KWIML/src/version.h.in | |
parent | 55b21d072e2df9a35a354fd33e8cf2d0c3bd22be (diff) | |
parent | 3fdbb0a806f67f10ea8428e03a4523d08d2b083c (diff) | |
download | CMake-12293371ee0f3b930afee8d328415968eb8201e6.zip CMake-12293371ee0f3b930afee8d328415968eb8201e6.tar.gz CMake-12293371ee0f3b930afee8d328415968eb8201e6.tar.bz2 |
Merge branch 'upstream-KWIML' into import-kwiml
* upstream-KWIML:
KWIML 2015-12-09 (43f9f8d0)
Diffstat (limited to 'Utilities/KWIML/src/version.h.in')
-rw-r--r-- | Utilities/KWIML/src/version.h.in | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/Utilities/KWIML/src/version.h.in b/Utilities/KWIML/src/version.h.in new file mode 100644 index 0000000..e58e0dc --- /dev/null +++ b/Utilities/KWIML/src/version.h.in @@ -0,0 +1,59 @@ +/*============================================================================ + Kitware Information Macro Library + Copyright 2010-2015 Kitware, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + * Neither the name of Kitware, Inc. nor the names of its contributors + may be used to endorse or promote products derived from this + software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +============================================================================*/ +#ifndef KWIML_VERSION_H +#define KWIML_VERSION_H +/* +This header defines macros with information about this version of KWIML. + +An includer may test the following macros after inclusion: + + KWIML_VERSION = KWIML version number encoded in an integer as + `printf("%d%03d%03d", MAJOR, MINOR, PATCH)`. + MAJOR is incremented on incompatible changes. + MINOR is incremented on interface additions. + PATCH is incremented on implementation updates. + + KWIML_VERSION_STRING = KWIML version number in string formatted as + `printf("%d.%d.%d", MAJOR, MINOR PATCH)`. + + KWIML_VERSION_HAS_ABI_H = header 'kwiml/abi.h' is available + KWIML_VERSION_HAS_INT_H = header 'kwiml/int.h' is available +*/ + +#define KWIML_VERSION @KWIML_VERSION_DECIMAL@ +#define KWIML_VERSION_STRING "@KWIML_VERSION@" + +#define KWIML_VERSION_HAS_ABI_H 1 +#define KWIML_VERSION_HAS_INT_H 1 + +#endif |