From 436c3b92e447c5b83c063f852d7656fc8c6efd88 Mon Sep 17 00:00:00 2001 From: Henry Weller 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 cbd5aa01e..5ed59576b 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'"