aboutsummaryrefslogtreecommitdiff
path: root/brep/version
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-04-28 16:46:06 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-04-28 16:46:06 +0300
commit0de08dc04a93585d5279a71ea3fd6dd59cbbead8 (patch)
treec8178ccdda3e06b04d0d51d2699261a6b22fecd4 /brep/version
parent241afb3b9982d9c6d836b6dbbcef10418d80299c (diff)
Switch to version module
Diffstat (limited to 'brep/version')
-rw-r--r--brep/version52
1 files changed, 0 insertions, 52 deletions
diff --git a/brep/version b/brep/version
deleted file mode 100644
index e1db981..0000000
--- a/brep/version
+++ /dev/null
@@ -1,52 +0,0 @@
-// file : brep/version -*- C++ -*-
-// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
-// license : MIT; see accompanying LICENSE file
-
-#ifndef BREP_VERSION // Note: using the version macro itself.
-
-#include <butl/version> // LIBBUTL_VERSION
-#include <bpkg/version> // LIBBPKG_VERSION
-#include <bbot/version> // LIBBBOT_VERSION
-
-// Version format is AABBCCDD where
-//
-// AA - major version number
-// BB - minor version number
-// CC - bugfix version number
-// DD - alpha / beta (DD + 50) version number
-//
-// When DD is not 00, 1 is subtracted from AABBCC. For example:
-//
-// Version AABBCCDD
-// 2.0.0 02000000
-// 2.1.0 02010000
-// 2.1.1 02010100
-// 2.2.0-a1 02019901
-// 3.0.0-b2 02999952
-//
-#define BREP_VERSION 49901
-#define BREP_VERSION_STR "0.5.0-a1"
-
-// For now these are the same.
-//
-#define LIBBREP_VERSION BREP_VERSION
-#define LIBBREP_VERSION_STR BREP_VERSION_STR
-
-// Generally, we expect minor versions to be source code backwards-
-// compatible, thought we might have a minimum version requirement.
-//
-// Note: does not apply during early development.
-//
-#if LIBBUTL_VERSION != 49901
-# error incompatible libbutl version
-#endif
-
-#if LIBBPKG_VERSION != 49901
-# error incompatible libbpkg version
-#endif
-
-#if LIBBBOT_VERSION != 49901
-# error incompatible libbbot version
-#endif
-
-#endif // BREP_VERSION