openfoam/wmake/rules
Mark Olesen 1b55666ec7 ENH: distinguish OpenFOAM version for user-coding (fixes #195)
The pre-processor macro 'OPENFOAM_PLUS' is defined with a numerical
value equal to the currently compatible version number.

This can be used judiciously within user coding to help with minor
differences between OpenFOAM versions. For example,

    #ifdef OPENFOAM_PLUS
        #if (OPENFOAM_PLUS >= 1612)
        ...
        #endif
    #endif

or simply

    #if (OPENFOAM_PLUS >= 1612)
    ...
    #endif
2016-07-26 14:02:40 +02:00
..
General ENH: distinguish OpenFOAM version for user-coding (fixes #195) 2016-07-26 14:02:40 +02:00
linux64Clang wmake/rules/linux64Clang/c++Opt: Removed temporary line 2016-04-03 14:46:45 +01:00
linux64Gcc wmake: Add support for compiler type default rules 2016-01-24 14:10:07 +00:00
linux64Icc wmake/rules/linux64Icc: avoid uninteresting warning messages and change to -O3 2016-04-01 14:53:43 +01:00
linuxARM7Gcc wmake: Add support for compiler type default rules 2016-01-24 14:10:07 +00:00
linuxClang wmake: Add support for compiler type default rules 2016-01-24 14:10:07 +00:00
linuxGcc wmake: Add support for compiler type default rules 2016-01-24 14:10:07 +00:00
linuxIA64Gcc wmake: Add support for compiler type default rules 2016-01-24 14:10:07 +00:00
linuxIA64Icc wmake: Add support for compiler type default rules 2016-01-24 14:10:07 +00:00
linuxIcc wmake: Add support for compiler type default rules 2016-01-24 14:10:07 +00:00
linuxPPC64Gcc wmake: Add support for compiler type default rules 2016-01-24 14:10:07 +00:00
linuxPPC64leGcc wmake: Add support for compiler type default rules 2016-01-24 14:10:07 +00:00
solaris64Gcc wmake: Add support for compiler type default rules 2016-01-24 14:10:07 +00:00
solarisGcc wmake: Add support for compiler type default rules 2016-01-24 14:10:07 +00:00