/* Copyright 2006 Garrett Rooney. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * @file etl_version.h * @brief Defines for versioning of ETL. */ #ifndef ETL_VERSION_H #define ETL_VERSION_H #ifndef DOXYGEN #define ETL_STRINGIFY_HELPER(n) #n #define ETL_STRINGIFY(n) ETL_STRINGIFY_HELPER(n) #endif /** The current major revision number of this release of ETL. */ #define ETL_MAJOR_VERSION 0 /** The current minor revision number of this release of ETL. */ #define ETL_MINOR_VERSION 3 /** The current patch revision number of this release of ETL. */ #define ETL_PATCH_VERSION 0 /** Is this a development version of ETL or not? */ #define ETL_IS_DEV_VERSION 1 #ifndef DOXYGEN #ifdef ETL_IS_DEV_VERSION #define ETL_VERSION_ADDITIONAL_STRING "-dev" #else #define ETL_VERSION_ADDITIONAL_STRING "" #endif #endif /* DOXYGEN */ /** A human readable representation of ETL's version number. */ #define ETL_VERSION_STRING ETL_STRINGIFY(ETL_MAJOR_VERSION) "." \ ETL_STRINGIFY(ETL_MINOR_VERSION) "." \ ETL_STRINGIFY(ETL_PATCH_VERSION) \ ETL_VERSION_ADDITIONAL_STRING #endif /* ETL_VERSION_H */