Commit 5447629f authored by Dominik Charousset's avatar Dominik Charousset

added CPPA_VERSION to config.hpp header

parent 53e99f56
......@@ -31,6 +31,17 @@
#ifndef CPPA_CONFIG_HPP
#define CPPA_CONFIG_HPP
/**
* @brief Denotes the libcppa version in the format {MAJOR}{MINOR}{PATCH},
* whereas each number is a two-digit decimal number without
* leading zeros (e.g. 900 is version 0.9.0).
*/
#define CPPA_VERSION 900
#define CPPA_MAJOR_VERSION (CPPA_VERSION / 100000)
#define CPPA_MINOR_VERSION ((CPPA_VERSION / 100) % 1000)
#define CPPA_PATCH_VERSION (CPPA_VERSION % 100)
// detect compiler and set CPPA_DEPRECATED
#if defined(__clang__)
# define CPPA_CLANG
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment