RDKit
Open-source cheminformatics and machine learning.
versions.h
Go to the documentation of this file.
1 //
2 // Copyright (c) 2010-2018 greg Landrum
3 //
4 // @@ All Rights Reserved @@
5 // This file is part of the RDKit.
6 // The contents are covered by the terms of the BSD license
7 // which is included in the file license.txt, found at the root
8 // of the RDKit source tree.
9 //
10 
11 
12 // inspired by: https://github.com/openbabel/openbabel/blob/master/src/config.h.cmake
13 #include <RDGeneral/export.h>
14 /* Version check macro
15  Can be used like #if (RDKIT_VERSION >= RDKIT_VERSION_CHECK(2018, 3, 1)) */
16 #define RDKIT_VERSION_CHECK(year, month, rev) ((year*1000)+(month*10)+(rev))
17 
18 /* RDKIT_VERSION is (year*1000) + (month*10) + (rev) */
19 #define RDKIT_VERSION RDKIT_VERSION_CHECK(2018, 9, 1)
20 
21 namespace RDKit {
22  RDKIT_RDGENERAL_EXPORT extern const char * rdkitVersion;
23  RDKIT_RDGENERAL_EXPORT extern const char * boostVersion;
24  RDKIT_RDGENERAL_EXPORT extern const char * rdkitBuild;
25 }
RDKIT_RDGENERAL_EXPORT const char * rdkitVersion
#define RDKIT_RDGENERAL_EXPORT
Definition: export.h:489
RDKIT_RDGENERAL_EXPORT const char * rdkitBuild
RDKIT_RDGENERAL_EXPORT const char * boostVersion
Std stuff.
Definition: Atom.h:30