MercuryDPM  Beta
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CMakeDefinitions.cc
Go to the documentation of this file.
1 
3 #include <CMakeDefinitions.h>
4 
5 const std::string xballsSupportOn()
6 {
7  return "@Mercury_Include_Xballs_Support@";
8 }
9 
10 const std::string getMercurySourceDir()
11 {
12  return "@Mercury_SOURCE_DIR@";
13 }
14 
15 const std::string getMercuryBuildDir()
16 {
17  return "@Mercury_BINARY_DIR@";
18 }
19 
20 constexpr int getMajorVersionNumber()
21 {
22  return @Mercury_VERSION_MAJOR@;
23 }
24 
25 constexpr int getMinorVersionNumber()
26 {
27  return @Mercury_VERSION_MINOR@;
28 }
29 
30 const std::string getVersion()
31 {
32  return "@Mercury_VERSION_MAJOR@.@Mercury_VERSION_MINOR@";
33 }
34 
const std::string getVersion()
constexpr int getMajorVersionNumber()
constexpr int getMinorVersionNumber()
const std::string getMercurySourceDir()
const std::string getMercuryBuildDir()
const std::string xballsSupportOn()
This file is used for generating defitions that give access to CMakeVaribles from within a cpp file (...