#ifndef _AKSTDLIB_VERSION_H_ #define _AKSTDLIB_VERSION_H_ /* * GENERATED FILE -- do not edit. * * Configured from include/akstdlib_version.h.in by CMake. The version itself * lives in exactly one place, the project() call in CMakeLists.txt, and flows * from there into these macros, the shared library's SOVERSION, the Version: * field in akstdlib.pc, and akstdlibConfigVersion.cmake. To bump the version, * edit project(); to change what the macros look like, edit this template. */ #define AKSL_VERSION_MAJOR @PROJECT_VERSION_MAJOR@ #define AKSL_VERSION_MINOR @PROJECT_VERSION_MINOR@ #define AKSL_VERSION_PATCH @PROJECT_VERSION_PATCH@ #define AKSL_VERSION_STRING "@PROJECT_VERSION@" /* * A single ordered integer, for `#if AKSL_VERSION_NUMBER >= ...` compares. * Computed rather than written out as a literal on purpose: a literal like * 000100 is octal in C, which would silently make version 0.1.0 compare as 64. * Each component gets two decimal digits, so this is correct up to x.99.99. */ #define AKSL_VERSION_NUMBER \ ((AKSL_VERSION_MAJOR * 10000) + (AKSL_VERSION_MINOR * 100) + AKSL_VERSION_PATCH) /* * The soname of the library these headers describe -- "0.1" for libakstdlib.so.0.1. * This is the granularity at which the ABI is allowed to break, and it is what * aksl_version_check() compares: pre-1.0 a minor bump is a break, so the soname * carries MAJOR.MINOR. From 1.0 it becomes MAJOR alone, and the SOVERSION * expression in CMakeLists.txt and this macro change together. */ #define AKSL_VERSION_SONAME "@AKSL_SOVERSION@" #endif // _AKSTDLIB_VERSION_H_