Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
partons
core
partons
Commits
967b7994
Commit
967b7994
authored
Jul 21, 2021
by
Pawel Sznajder
Browse files
improve printing of version
parent
0280f05f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/partons/Partons.cpp
View file @
967b7994
...
@@ -154,15 +154,18 @@ void Partons::printVersion() const {
...
@@ -154,15 +154,18 @@ void Partons::printVersion() const {
<<
PARTONS_VERSION_MINOR
<<
"."
<<
PARTONS_VERSION_PATCH
<<
PARTONS_VERSION_MINOR
<<
"."
<<
PARTONS_VERSION_PATCH
<<
" (http://partons.cea.fr) distributed under GNU Public License"
);
<<
" (http://partons.cea.fr) distributed under GNU Public License"
);
m_pLoggerManager
->
info
(
"Partons"
,
__func__
,
m_pLoggerManager
->
info
(
"Partons"
,
__func__
,
ElemUtils
::
Formatter
()
<<
"Git branch and revision is "
ElemUtils
::
Formatter
()
<<
"Git branch and revision
of this version
is "
<<
PARTONS_GIT_BRANCH
<<
"/"
<<
PARTONS_GIT_REVISION
);
<<
PARTONS_GIT_BRANCH
<<
"/"
<<
PARTONS_GIT_REVISION
);
m_pLoggerManager
->
info
(
"Partons"
,
__func__
,
m_pLoggerManager
->
info
(
"Partons"
,
__func__
,
ElemUtils
::
Formatter
()
<<
"Built using Elementary-Utils "
ElemUtils
::
Formatter
()
<<
"Built using Elementary-Utils "
<<
ELEMENTARY_UTILS_VERSION_MAJOR
<<
"."
<<
ELEMENTARY_UTILS_VERSION_MAJOR
<<
"."
<<
ELEMENTARY_UTILS_VERSION_MINOR
<<
"."
<<
ELEMENTARY_UTILS_VERSION_MINOR
<<
"."
<<
ELEMENTARY_UTILS_VERSION_PATCH
<<
" and NumA++ "
<<
ELEMENTARY_UTILS_VERSION_PATCH
<<
" ("
<<
ELEMENTARY_UTILS_GIT_BRANCH
<<
"/"
<<
ELEMENTARY_UTILS_GIT_REVISION
<<
")"
<<
" and NumA++ "
<<
NUMA_VERSION_MAJOR
<<
"."
<<
NUMA_VERSION_MINOR
<<
"."
<<
NUMA_VERSION_MAJOR
<<
"."
<<
NUMA_VERSION_MINOR
<<
"."
<<
NUMA_VERSION_PATCH
);
<<
NUMA_VERSION_PATCH
<<
" ("
<<
NUMA_GIT_BRANCH
<<
"/"
<<
NUMA_GIT_REVISION
<<
")"
);
}
}
std
::
string
Partons
::
getCurrentWorkingDirectory
()
{
std
::
string
Partons
::
getCurrentWorkingDirectory
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment