MercuryDPM  Trunk
 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 getMercurySourceDir ()
 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 getMercuryBuildDir ()
 
const int getSVNRevision ()
 
const std::string getSVNURL ()
 
const std::string getVersion ()
 

Function Documentation

const std::string getMercuryBuildDir ( )

Definition at line 36 of file CMakeDefinitions.cc.

37 {
38  return "@Mercury_BINARY_DIR@";
39 }
const std::string getMercurySourceDir ( )

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 31 of file CMakeDefinitions.cc.

32 {
33  return "@Mercury_SOURCE_DIR@";
34 }
const int getSVNRevision ( )

Definition at line 41 of file CMakeDefinitions.cc.

Referenced by DPMBase::write().

42 {
43  return @SVN_WC_REVISION@;
44 }
const std::string getSVNURL ( )

Definition at line 46 of file CMakeDefinitions.cc.

Referenced by DPMBase::write().

47 {
48  return "@SVN_WC_URL@";
49 }
const std::string getVersion ( )

Definition at line 51 of file CMakeDefinitions.cc.

Referenced by DPMBase::write().

52 {
53  return "@Mercury_VERSION_MAJOR@.@Mercury_VERSION_MINOR@";
54 }