Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dmitri Naumov
ogs
Commits
ffca2c44
Commit
ffca2c44
authored
4 years ago
by
Tobias Meisel
Committed by
Lars Bilke
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[MeL/IO] Xdmf contains OGS_VERSION
parent
234055a9
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
InfoLib/GitInfo.cpp.in
+1
-0
1 addition, 0 deletions
InfoLib/GitInfo.cpp.in
InfoLib/GitInfo.h
+1
-0
1 addition, 0 deletions
InfoLib/GitInfo.h
MeshLib/CMakeLists.txt
+1
-1
1 addition, 1 deletion
MeshLib/CMakeLists.txt
ProcessLib/Output/ProcessOutput.cpp
+1
-1
1 addition, 1 deletion
ProcessLib/Output/ProcessOutput.cpp
with
4 additions
and
2 deletions
InfoLib/GitInfo.cpp.in
+
1
−
0
View file @
ffca2c44
...
...
@@ -17,6 +17,7 @@ namespace GitInfoLib
namespace GitInfo
{
const std::string OGS_VERSION = "OGS_VERSION";
const std::string git_version_sha1_short("@GIT_SHA1_SHORT@");
const std::string ogs_version("@OGS_VERSION@");
}
...
...
This diff is collapsed.
Click to expand it.
InfoLib/GitInfo.h
+
1
−
0
View file @
ffca2c44
...
...
@@ -21,6 +21,7 @@ namespace GitInfoLib
namespace
GitInfo
{
extern
GITINFOLIB_EXPORT
std
::
string
const
OGS_VERSION
;
extern
GITINFOLIB_EXPORT
const
std
::
string
git_version_sha1_short
;
extern
GITINFOLIB_EXPORT
const
std
::
string
ogs_version
;
}
// namespace
...
...
This diff is collapsed.
Click to expand it.
MeshLib/CMakeLists.txt
+
1
−
1
View file @
ffca2c44
...
...
@@ -26,7 +26,7 @@ ogs_add_library(MeshLib ${SOURCES})
target_link_libraries
(
MeshLib
PUBLIC BaseLib GeoLib MathLib
${
VTK_LIBRARIES
}
PUBLIC BaseLib GeoLib
GitInfoLib
MathLib
${
VTK_LIBRARIES
}
PRIVATE spdlog::spdlog
)
if
(
OGS_USE_MPI AND TARGET MPI::MPI_CXX
)
...
...
This diff is collapsed.
Click to expand it.
ProcessLib/Output/ProcessOutput.cpp
+
1
−
1
View file @
ffca2c44
...
...
@@ -27,7 +27,7 @@
static
void
addOgsVersion
(
MeshLib
::
Mesh
&
mesh
)
{
auto
&
ogs_version_field
=
*
MeshLib
::
getOrCreateMeshProperty
<
char
>
(
mesh
,
"
OGS_VERSION
"
,
MeshLib
::
MeshItemType
::
IntegrationPoint
,
1
);
mesh
,
GitInfoLib
::
GitInfo
::
OGS_VERSION
,
MeshLib
::
MeshItemType
::
IntegrationPoint
,
1
);
ogs_version_field
.
assign
(
GitInfoLib
::
GitInfo
::
ogs_version
.
begin
(),
GitInfoLib
::
GitInfo
::
ogs_version
.
end
());
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment