openfoam/wmake
Mark Olesen 23d24a511e ENH: command-line query for the OPENFOAM_PLUS wmake value (issue #378)
Examples,

    wmakePrintBuild -plus

Check if value is known
(ie, everything configured and also OpenFOAM+):

    if wmakePrintBuild -plus >/dev/null 2>&1
    then
        echo YES
    else
        echo NO
    fi

Check if version is new enough

    if ofver=$(wmakePrintBuild -plus 2>/dev/null) && [ "$ofver" -ge 1612 ]
    then
        echo YES
    else
        echo NO
    fi

Conditionals

    ofver=$(wmakePrintBuild -plus 2>/dev/null)
    case "${ofver:=0}" in
    1612)
        echo "something for 1612
        ;;
    1706)
        echo "something for 1706
        ;;
    esac
2017-01-12 11:25:37 +01:00
..
makefiles wmake: Suppress the "is up to date" messages 2016-11-13 22:41:42 +00:00
rules GIT: Resolved merge conflict 2016-12-12 12:23:45 +00:00
scripts COMP: update lnInclude directories when building (issue #364) 2016-12-22 11:26:29 +01:00
src wmkdep.l: Removed redundant #include 2016-11-14 11:22:00 +00:00
wclean wclean: Removed duplicate echo of directory 2016-11-14 08:54:53 +00:00
wcleanLnIncludeAll wmake: Use functions from wmakeFunctions to avoid code duplication 2016-07-17 22:59:55 +01: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 Allwmake: Remove 'set -x' which generates a lot of noise 2016-11-13 18:08:22 +00:00
wmakeCheckPwd wmake: General cleanup to improve consistency and maintainability 2015-12-16 18:31:02 +00:00
wmakeCollect wmake: Update '-s' option to print the files processed without the rules 2016-11-12 22:01:44 +00:00
wmakeFilesAndOptions wmake: Update comments 2016-01-24 14:37:39 +00:00
wmakeLnInclude wmake: Update '-s' option to print the files processed without the rules 2016-11-12 22:01:44 +00:00
wmakeLnIncludeAll wmakeLnIncludeAll: Add '-update' option 2016-07-09 14:22:14 +01:00
wmakePrintBuild ENH: command-line query for the OPENFOAM_PLUS wmake value (issue #378) 2017-01-12 11:25:37 +01: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 wmake: Improve messages from wclean, wrmdep and wmakeLnIncludeAll 2016-07-08 10:57:08 +01:00
wrmo wmake: General cleanup to improve consistency and maintainability 2015-12-16 18:31:02 +00:00