mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
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.
This commit is contained in:
@ -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'"
|
||||
|
||||
Reference in New Issue
Block a user