From 3de4dcd838c30722254ef11b16f0bdb6ab020468 Mon Sep 17 00:00:00 2001 From: Henry Weller <http://cfd.direct> Date: Mon, 14 Dec 2015 11:03:16 +0000 Subject: [PATCH] AllwmakeParseArguments: Added "-update" option Updates lnInclude directories and dep files before compilation. This is useful to apply following a "git pull" to ensure consistency between the source files, dep files and links. --- wmake/scripts/AllwmakeParseArguments | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wmake/scripts/AllwmakeParseArguments b/wmake/scripts/AllwmakeParseArguments index cbd5aa01e9b..5ed59576baa 100644 --- a/wmake/scripts/AllwmakeParseArguments +++ b/wmake/scripts/AllwmakeParseArguments @@ -55,6 +55,7 @@ options: -j Compile using all local cores/hyperthreads -jN or -j N Compile using N cores/hyperthreads -no-scheduler Compile without wmakeScheduler + -update Update lnInclude directories and dep files USAGE # Print options for building code documentation @@ -122,6 +123,11 @@ do -no-scheduler) unset WM_SCHEDULER ;; + # Update lnInclude directories and dep files following a pull + -update) + wrmdep -update + wmakeLnIncludeAll + ;; # Generate documentation doc) test -n "$genDoc" || usage "invalid option '$1'" -- GitLab