Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
32e08b87
Commit
32e08b87
authored
May 26, 2016
by
peastman
Browse files
Merge pull request #1500 from peastman/version
Platform::getOpenMMVersion() includes patch version
parents
6c6d68d2
086501a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
olla/src/Platform.cpp
olla/src/Platform.cpp
+4
-0
No files found.
olla/src/Platform.cpp
View file @
32e08b87
...
@@ -320,7 +320,11 @@ const string& Platform::getDefaultPluginsDirectory() {
...
@@ -320,7 +320,11 @@ const string& Platform::getDefaultPluginsDirectory() {
#define STRING(x) STRING1(x)
#define STRING(x) STRING1(x)
const
string
&
Platform
::
getOpenMMVersion
()
{
const
string
&
Platform
::
getOpenMMVersion
()
{
#if OPENMM_BUILD_VERSION == 0
static
const
string
version
=
STRING
(
OPENMM_MAJOR_VERSION
)
"."
STRING
(
OPENMM_MINOR_VERSION
);
static
const
string
version
=
STRING
(
OPENMM_MAJOR_VERSION
)
"."
STRING
(
OPENMM_MINOR_VERSION
);
#else
static
const
string
version
=
STRING
(
OPENMM_MAJOR_VERSION
)
"."
STRING
(
OPENMM_MINOR_VERSION
)
"."
STRING
(
OPENMM_BUILD_VERSION
);
#endif
return
version
;
return
version
;
}
}
...
...
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