mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
29 lines
1.0 KiB
C++
29 lines
1.0 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: v1812 |
|
|
| \\ / A nd | Web: www.OpenFOAM.com |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2;
|
|
format ascii;
|
|
class dictionary;
|
|
object dictionary;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
#ifeq $WM_PROJECT_VERSION plus
|
|
// Get version number as dictionary entry
|
|
versionNo ${FOAM_API};
|
|
// Do comparison
|
|
#if #calc "$versionNo<1812";
|
|
version "pre-1812";
|
|
#else
|
|
version "post-1812";
|
|
#endif
|
|
#else
|
|
version "other";
|
|
#endif
|