CMakeDefinitions.h File Reference
#include <string>

Go to the source code of this file.

Macros

#define ON   1
 
#define OFF   0
 
#define MERCURYDPM_STACKTRACE_SHOW   0
 
#define MERCURYDPM_STACKTRACE_DEMANGLE   0
 

Functions

const std::string getMercuryDPMSourceDir ()
 This file is used for generating definitions that give access to CMakeVariables from within a cpp file (definitions. More...
 
const std::string getMercuryDPMBuildDir ()
 
const std::string getRevision ()
 
const std::string getRepositoryURL ()
 
const std::string getVersion ()
 

Macro Definition Documentation

◆ MERCURYDPM_STACKTRACE_DEMANGLE

#define MERCURYDPM_STACKTRACE_DEMANGLE   0

◆ MERCURYDPM_STACKTRACE_SHOW

#define MERCURYDPM_STACKTRACE_SHOW   0

◆ OFF

#define OFF   0

◆ ON

#define ON   1

Function Documentation

◆ getMercuryDPMBuildDir()

const std::string getMercuryDPMBuildDir ( )
38 {
39  return "@MercuryDPM_BINARY_DIR@";
40 }

Referenced by main().

◆ getMercuryDPMSourceDir()

const std::string getMercuryDPMSourceDir ( )

This file is used for generating definitions that give access to CMakeVariables from within a cpp file (definitions.

PLEASE DO NOT EDIT THE FILE IN THE KERNEL - only in Configuration

This file is used for generating defitions that give access to CMakeVaribles from within a cpp file (defintions have only been added as required PLEASE DO NOT EDIT THE FILE IN THE KERNEL - only in Configuration

33 {
34  return "@MercuryDPM_SOURCE_DIR@";
35 }

Referenced by LoadConf(), main(), multiParticleT1::setupInitialConditions(), MultiplePSDSelfTest::setupInitialConditions(), PSDManualInsertionSelfTest::setupInitialConditions(), PSDSelfTest::setupInitialConditions(), MembraneSelfTest::setUpMembrane(), and StressStrainControl::StressStrainControl().

◆ getRepositoryURL()

const std::string getRepositoryURL ( )
48 {
49  return "@REPOSITORY_URL@";
50 }

Referenced by DPMBase::write().

◆ getRevision()

const std::string getRevision ( )
43 {
44  return "@REVISION@";
45 }

Referenced by DPMBase::write().

◆ getVersion()

const std::string getVersion ( )
53 {
54  return "@MercuryDPM_VERSION_MAJOR@.@MercuryDPM_VERSION_MINOR@";
55 }

Referenced by DPMBase::write().