Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ADIOS2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
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
Podhorszki, Norbert
ADIOS2
Commits
d841ae8a
Commit
d841ae8a
authored
7 years ago
by
Atkins, Charles Vernon
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #179 from chuckatkins/add-lib-version-info
Setup library versioning.
parents
230ef75b
502b61b5
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
source/adios2/CMakeLists.txt
+6
-0
6 additions, 0 deletions
source/adios2/CMakeLists.txt
source/dataman/CMakeLists.txt
+7
-1
7 additions, 1 deletion
source/dataman/CMakeLists.txt
with
13 additions
and
1 deletion
source/adios2/CMakeLists.txt
+
6
−
0
View file @
d841ae8a
...
@@ -133,6 +133,12 @@ if(ADIOS2_HAVE_HDF5)
...
@@ -133,6 +133,12 @@ if(ADIOS2_HAVE_HDF5)
target_link_libraries
(
adios2 PRIVATE
${
HDF5_C_LIBRARIES
}
)
target_link_libraries
(
adios2 PRIVATE
${
HDF5_C_LIBRARIES
}
)
endif
()
endif
()
# Set library version information
set_target_properties
(
adios2 PROPERTIES
VERSION
${
ADIOS2_VERSION
}
SOVERSION
${
ADIOS2_VERSION_MAJOR
}
)
install
(
install
(
FILES ADIOSMacros.h ADIOSTypes.h ADIOSMPICommOnly.h
FILES ADIOSMacros.h ADIOSTypes.h ADIOSMPICommOnly.h
DESTINATION
${
CMAKE_INSTALL_INCLUDEDIR
}
/adios2
DESTINATION
${
CMAKE_INSTALL_INCLUDEDIR
}
/adios2
...
...
This diff is collapsed.
Click to expand it.
source/dataman/CMakeLists.txt
+
7
−
1
View file @
d841ae8a
...
@@ -54,7 +54,6 @@ if(ADIOS2_HAVE_ZeroMQ)
...
@@ -54,7 +54,6 @@ if(ADIOS2_HAVE_ZeroMQ)
list
(
APPEND dataman_targets mdtmman
)
list
(
APPEND dataman_targets mdtmman
)
endif
()
endif
()
if
(
ADIOS2_HAVE_ZFP
)
if
(
ADIOS2_HAVE_ZFP
)
find_package
(
ZFP REQUIRED
)
find_package
(
ZFP REQUIRED
)
...
@@ -64,6 +63,13 @@ if(ADIOS2_HAVE_ZFP)
...
@@ -64,6 +63,13 @@ if(ADIOS2_HAVE_ZFP)
list
(
APPEND dataman_targets zfpman
)
list
(
APPEND dataman_targets zfpman
)
endif
()
endif
()
# Library versioning like this only makes sense for libdataman. The others are plugins
# loaded via dlopen.
set_target_properties
(
dataman PROPERTIES
VERSION
${
ADIOS2_VERSION
}
SOVERSION
${
ADIOS2_VERSION_MAJOR
}
)
install
(
install
(
TARGETS
${
dataman_targets
}
EXPORT adios2
TARGETS
${
dataman_targets
}
EXPORT adios2
RUNTIME DESTINATION
${
CMAKE_INSTALL_BINDIR
}
RUNTIME DESTINATION
${
CMAKE_INSTALL_BINDIR
}
...
...
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