ENH: support wmakeLnInclude of C++ template files (.tcc, .tpp, .txx)

- can be used to avoid confusion with source files

ENH: improve handling of '--' option termination (wmake scripts)
This commit is contained in:
Mark Olesen
2022-11-16 10:47:11 +01:00
parent 5714a3606e
commit 90c4ee7e12
15 changed files with 74 additions and 43 deletions

View File

@ -12,19 +12,19 @@
# This file is part of OpenFOAM, distributed under GPL-3.0-or-later.
#
# Script
# makeTargetDir
# wmake/scripts/makeTargetDir
#
# Description
# Makes a directory hierarchy for the given target file
# Makes a directory hierarchy for the given target file(s)
#
# Usage: makeTargetDir <file>
# Usage: makeTargetDir file1 [..fileN]
#
#------------------------------------------------------------------------------
for target
do
dir=${target%/*}
[ -d "$dir" ] || [ "$dir" = "$target" ] || mkdir -p "$dir"
dir="${target%/*}"
[ "$dir" = "$target" ] || [ -d "$dir" ] || mkdir -p "$dir"
done
#------------------------------------------------------------------------------