MercuryDPM  Alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CMakeDefinitions.cc File Reference
#include <CMakeDefinitions.h>

Go to the source code of this file.

Functions

const std::string xballsSupportOn ()
 This file is used for generating defitions that give access to CMakeVaribles from within a cpp file (defintions have only been added as required. More...
 
const std::string getMercurySourceDir ()
 
const std::string getMercuryBuildDir ()
 
constexpr int getMajorVersionNumber ()
 
constexpr int getMinorVersionNumber ()
 
const std::string getVersion ()
 

Function Documentation

constexpr int getMajorVersionNumber ( )

Definition at line 20 of file CMakeDefinitions.cc.

21 {
22  return @Mercury_VERSION_MAJOR@;
23 }
const std::string getMercuryBuildDir ( )

Definition at line 15 of file CMakeDefinitions.cc.

16 {
17  return "@Mercury_BINARY_DIR@";
18 }
const std::string getMercurySourceDir ( )

Definition at line 10 of file CMakeDefinitions.cc.

11 {
12  return "@Mercury_SOURCE_DIR@";
13 }
constexpr int getMinorVersionNumber ( )

Definition at line 25 of file CMakeDefinitions.cc.

26 {
27  return @Mercury_VERSION_MINOR@;
28 }
const std::string getVersion ( )

Definition at line 30 of file CMakeDefinitions.cc.

31 {
32  return "@Mercury_VERSION_MAJOR@.@Mercury_VERSION_MINOR@";
33 }
const std::string xballsSupportOn ( )

This file is used for generating defitions that give access to CMakeVaribles from within a cpp file (defintions have only been added as required.

Definition at line 5 of file CMakeDefinitions.cc.

6 {
7  return "@Mercury_Include_Xballs_Support@";
8 }