revision: v0.14
CMakeDefinitions.h File Reference
#include <string>

Go to the source code of this file.

Macros

#define ON   1
 
#define OFF   0
 
#define MERCURY_STACKTRACE_SHOW   0
 
#define MERCURY_STACKTRACE_DEMANGLE   0
 

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 ()
 

Macro Definition Documentation

◆ MERCURY_STACKTRACE_DEMANGLE

#define MERCURY_STACKTRACE_DEMANGLE   0

◆ MERCURY_STACKTRACE_SHOW

#define MERCURY_STACKTRACE_SHOW   0

◆ OFF

#define OFF   0

◆ ON

#define ON   1

Function Documentation

◆ getMercuryBuildDir()

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

◆ getMercurySourceDir()

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.

32 {
33  return "@Mercury_SOURCE_DIR@";
34 }

Referenced by main(), MultiplePSDSelfTest::setupInitialConditions(), PSDManualInsertionSelfTest::setupInitialConditions(), PSDSelfTest::setupInitialConditions(), and StressStrainControl::StressStrainControl().

◆ getSVNRevision()

const int getSVNRevision ( )
42 {
43  return @SVN_WC_REVISION@;
44 }

Referenced by DPMBase::write().

◆ getSVNURL()

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

Referenced by DPMBase::write().

◆ getVersion()

const std::string getVersion ( )
52 {
53  return "@Mercury_VERSION_MAJOR@.@Mercury_VERSION_MINOR@";
54 }

Referenced by DPMBase::write().