STYLE: shorten paths reported in dynamicCode

This commit is contained in:
Mark Olesen
2011-03-02 15:36:02 +01:00
parent 815a806be7
commit ffc74562f7
2 changed files with 31 additions and 3 deletions

View File

@ -108,6 +108,9 @@ protected:
//- Root of the LIB target for Make/files
static const char* libTargetRoot;
//- Top-level directory name for copy/compiling
static const char* topDirName;
// Protected Member Functions
@ -220,6 +223,17 @@ public:
return codeRoot_/libSubDir_/"lib" + codeName_ + ".so";
}
//- Path for specified code name relative to \$FOAM_CASE
// Corresponds to topDirName/codeDirName()
fileName codeRelPath() const;
//- Library path for specified code name relative to \$FOAM_CASE
// Corresponds to
// dynamicCode/codeDirName()/libSubDir()/lib\<codeName\>.so
fileName libRelPath() const;
//- Path for SHA1Digest
// Corresponds to codePath()/Make/SHA1Digest
fileName digestFile() const