aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-06-16 13:12:39 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-06-16 13:12:39 +0200
commitc153df0ee5547deca163e19cd902b1c5675d61fe (patch)
tree21d4d0e68e597d324f7d5ea606586686d0ba248d
parenta78d499bd30d8d18e6170e959c66754aee8c544b (diff)
Add *_VERSION_FULL macro to version header generated by bdep-new
-rw-r--r--bdep/new.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/bdep/new.cxx b/bdep/new.cxx
index fa1409c..7f9dfc1 100644
--- a/bdep/new.cxx
+++ b/bdep/new.cxx
@@ -1726,6 +1726,7 @@ namespace bdep
<< "#define " << mp << "_VERSION $" << v << ".version.project_number$ULL" << endl
<< "#define " << mp << "_VERSION_STR \"$" << v << ".version.project$\"" << endl
<< "#define " << mp << "_VERSION_ID \"$" << v << ".version.project_id$\"" << endl
+ << "#define " << mp << "_VERSION_FULL \"$" << v << ".version$\"" << endl
<< endl
<< "#define " << mp << "_VERSION_MAJOR $" << v << ".version.major$" << endl
<< "#define " << mp << "_VERSION_MINOR $" << v << ".version.minor$" << endl