mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
added Foam::FOAMbuild to Foam::FOAMversion
- avoids problems with finding files based on FOAMversion (reported by Mattijs)
This commit is contained in:
@ -1,10 +1,12 @@
|
||||
.SUFFIXES: .Cver
|
||||
|
||||
#
|
||||
# update version string in C++ file and in $WM_PROJECT_DIR/.build file
|
||||
# update version strings in C++ file and in $WM_PROJECT_DIR/.build file
|
||||
#
|
||||
Cvertoo = \
|
||||
sed 's/WM_PROJECT_VERSION/$(shell wmakePrintBuild -update)/' $$SOURCE > $*.C; \
|
||||
sed -e 's/VERSION_STRING/$(shell wmakePrintBuild -major)/' \
|
||||
-e 's/BUILD_STRING/$(shell wmakePrintBuild -update)/' \
|
||||
$$SOURCE > $*.C; \
|
||||
$(CC) $(c++FLAGS) -c $*.C -o $@
|
||||
|
||||
.Cver.dep:
|
||||
|
||||
Reference in New Issue
Block a user