added Foam::FOAMbuild to Foam::FOAMversion

- avoids problems with finding files based on FOAMversion
  (reported by Mattijs)
This commit is contained in:
Mark Olesen
2009-01-09 09:11:50 +01:00
parent f0f7ea9539
commit 0061e9ed03
7 changed files with 28 additions and 10 deletions

View File

@ -26,7 +26,7 @@ Application
foamVersionString.C
Description
Print the FOAMversion string.
Print the OpenFOAM version strings.
Simultaneously the smallest possible program to use a minimal bit of
the OpenFOAM library
@ -37,7 +37,10 @@ Description
int main()
{
std::cerr<< "FOAMversion " << Foam::FOAMversion << "\n";
std::cerr
<< "build " << Foam::FOAMbuild << "\n"
<< "version " << Foam::FOAMversion << "\n";
return 0;
}