Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
HEPnOS
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sds
HEP
HEPnOS
Commits
2fde3f7a
Commit
2fde3f7a
authored
Mar 18, 2020
by
Matthieu Dorier
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of xgitlab.cels.anl.gov:sds/HEPnOS
parents
5fcd5f10
acf860fd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
5 deletions
+25
-5
src/CMakeLists.txt
src/CMakeLists.txt
+12
-5
src/hepnos.pc.in
src/hepnos.pc.in
+13
-0
No files found.
src/CMakeLists.txt
View file @
2fde3f7a
...
@@ -19,18 +19,23 @@ set(hepnos-service-src service/HEPnOSService.cpp
...
@@ -19,18 +19,23 @@ set(hepnos-service-src service/HEPnOSService.cpp
# load package helper for generating cmake CONFIG packages
# load package helper for generating cmake CONFIG packages
include
(
CMakePackageConfigHelpers
)
include
(
CMakePackageConfigHelpers
)
# where to install files for "find_package"
set
(
hepnos-pkg
"share/cmake/hepnos"
)
#
#
# library version set here (e.g. for shared libs).
# library version set here (e.g. for shared libs).
#
#
set
(
HEPNOS_VERSION_MAJOR 0
)
set
(
HEPNOS_VERSION_MAJOR 0
)
set
(
HEPNOS_VERSION_MINOR
1
)
set
(
HEPNOS_VERSION_MINOR
3
)
set
(
HEPNOS_VERSION_PATCH
2
)
set
(
HEPNOS_VERSION_PATCH
0
)
set
(
hepnos-vers
"
${
HEPNOS_VERSION_MAJOR
}
.
${
HEPNOS_VERSION_MINOR
}
"
)
set
(
hepnos-vers
"
${
HEPNOS_VERSION_MAJOR
}
.
${
HEPNOS_VERSION_MINOR
}
"
)
set
(
HEPNOS_VERSION
"
${
hepnos-vers
}
.
${
HEPNOS_VERSION_PATCH
}
"
)
set
(
HEPNOS_VERSION
"
${
hepnos-vers
}
.
${
HEPNOS_VERSION_PATCH
}
"
)
# where to install files for "find_package"
set
(
hepnos-pkg
"share/cmake/hepnos"
)
# some bits for the pkg-config file
set
(
DEST_DIR
"
${
CMAKE_INSTALL_PREFIX
}
"
)
set
(
PRIVATE_LIBS
"-lhepnos"
)
configure_file
(
"hepnos.pc.in"
"hepnos.pc"
@ONLY
)
add_library
(
hepnos
${
hepnos-src
}
)
add_library
(
hepnos
${
hepnos-src
}
)
target_link_libraries
(
hepnos uuid thallium mercury margo yaml-cpp sdskv-client ch-placement
)
target_link_libraries
(
hepnos uuid thallium mercury margo yaml-cpp sdskv-client ch-placement
)
target_include_directories
(
hepnos PUBLIC $<INSTALL_INTERFACE:include>
)
target_include_directories
(
hepnos PUBLIC $<INSTALL_INTERFACE:include>
)
...
@@ -94,3 +99,5 @@ install (FILES ../include/hepnos.hpp
...
@@ -94,3 +99,5 @@ install (FILES ../include/hepnos.hpp
DESTINATION include
)
DESTINATION include
)
install
(
FILES ../include/hepnos-service.h
install
(
FILES ../include/hepnos-service.h
DESTINATION include
)
DESTINATION include
)
install
(
FILES
"
${
CMAKE_CURRENT_BINARY_DIR
}
/hepnos.pc"
DESTINATION
"lib/pkgconfig/"
)
src/hepnos.pc.in
0 → 100644
View file @
2fde3f7a
prefix=@DEST_DIR@
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include
Name: HEPnOS
Description: A distributed storage system for high energy physics applications.
Version: @HEPNOS_VERSION@
Requires: uuid yaml-cpp thallium sdskv-client ch-placement
Libs: -L${libdir} @PRIVATE_LIBS@
Cflags: -I${includedir}
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