openfoam/wmake
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
..
makefiles wmake: Update comments 2016-01-24 14:37:39 +00:00
rules ENH: distinguish OpenFOAM version for user-coding (fixes #195) 2016-07-26 14:02:40 +02:00
scripts scripts: Reformat with consistent section separators 2016-02-15 18:30:24 +00:00
src wmake/src/Makefile: Override WM_COMPILE_OPTION with Opt for optimized compilation of the wmake utilities 2016-03-08 14:24:11 +00:00
wclean BUG: wclean all does not use Allwclean in subdirectories (fixes #150) 2016-06-20 11:04:25 +02:00
wcleanLnIncludeAll wmake: General cleanup to improve consistency and maintainability 2015-12-16 18:31:02 +00:00
wcleanPlatform wmake: General cleanup to improve consistency and maintainability 2015-12-16 18:31:02 +00:00
wdep wmake: General cleanup to improve consistency and maintainability 2015-12-16 18:31:02 +00:00
wmake applications/.*/Allwmake: Updated to support "stop on 1st error" 2016-04-04 09:03:40 +01:00
wmakeCheckPwd wmake: General cleanup to improve consistency and maintainability 2015-12-16 18:31:02 +00:00
wmakeFilesAndOptions wmake: Update comments 2016-01-24 14:37:39 +00:00
wmakeLnInclude wmake: Update comments 2016-01-24 14:37:39 +00:00
wmakeLnIncludeAll wmake: Update comments 2016-01-24 14:37:39 +00:00
wmakePrintBuild BUG: incorrect wmakePrintBuild -check behaviour when outside of git (issue #174) 2016-07-12 17:37:30 +02:00
wmakeScheduler wmake: Update comments 2016-01-24 14:37:39 +00:00
wmakeSchedulerUptime wmake: Update comments 2016-01-24 14:37:39 +00:00
wrmdep Update "wrmdep -update" to remove dead symbolic links 2016-03-06 19:13:45 +00:00
wrmo wmake: General cleanup to improve consistency and maintainability 2015-12-16 18:31:02 +00:00