Path: blob/master/Utilities/KWIML/include/kwiml/version.h
4998 views
/*============================================================================1Kitware Information Macro Library2Copyright 2010-2018 Kitware, Inc.3All rights reserved.45Redistribution and use in source and binary forms, with or without6modification, are permitted provided that the following conditions7are met:89* Redistributions of source code must retain the above copyright10notice, this list of conditions and the following disclaimer.1112* Redistributions in binary form must reproduce the above copyright13notice, this list of conditions and the following disclaimer in the14documentation and/or other materials provided with the distribution.1516* Neither the name of Kitware, Inc. nor the names of its contributors17may be used to endorse or promote products derived from this18software without specific prior written permission.1920THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS21"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT22LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR23A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT24HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,25SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT26LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,27DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY28THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT29(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE30OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.31============================================================================*/32#ifndef KWIML_VERSION_H33#define KWIML_VERSION_H34/*35This header defines macros with information about this version of KWIML.3637An includer may test the following macros after inclusion:3839KWIML_VERSION = KWIML version number encoded in an integer as40`printf("%d%03d%03d", MAJOR, MINOR, PATCH)`.41MAJOR is incremented on incompatible changes.42MINOR is incremented on interface additions.43PATCH is incremented on implementation updates.4445KWIML_VERSION_STRING = KWIML version number in string formatted as46`printf("%d.%d.%d", MAJOR, MINOR PATCH)`.4748KWIML_VERSION_HAS_ABI_H = header 'kwiml/abi.h' is available49KWIML_VERSION_HAS_INT_H = header 'kwiml/int.h' is available50*/5152#define KWIML_VERSION 100000053#define KWIML_VERSION_STRING "1.0.0"5455#define KWIML_VERSION_HAS_ABI_H 156#define KWIML_VERSION_HAS_INT_H 15758#endif596061