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
sds
thallium
Commits
ed1dc415
Commit
ed1dc415
authored
Mar 27, 2018
by
Matthieu Dorier
Browse files
Merge branch 'master' of xgitlab.cels.anl.gov:sds/thallium
parents
ccbba8e2
695bb6d0
Changes
3
Show whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
ed1dc415
...
@@ -57,3 +57,5 @@ xpkg_import_module (margo REQUIRED margo)
...
@@ -57,3 +57,5 @@ xpkg_import_module (margo REQUIRED margo)
add_subdirectory
(
src
)
add_subdirectory
(
src
)
add_subdirectory
(
test
)
add_subdirectory
(
test
)
add_subdirectory
(
examples
)
add_subdirectory
(
examples
)
src/CMakeLists.txt
View file @
ed1dc415
...
@@ -57,6 +57,11 @@ write_basic_package_version_file(
...
@@ -57,6 +57,11 @@ write_basic_package_version_file(
# generate our config file for find_package()
# generate our config file for find_package()
configure_file
(
thallium-config.cmake.in thallium-config.cmake @ONLY
)
configure_file
(
thallium-config.cmake.in thallium-config.cmake @ONLY
)
# some bits for the pkg-config file
set
(
DEST_DIR
"
${
CMAKE_INSTALL_PREFIX
}
"
)
set
(
PRIVATE_LIBS
"-lthallium"
)
CONFIGURE_FILE
(
"thallium.pc.in"
"thallium.pc"
@ONLY
)
#
#
# "make install" rules
# "make install" rules
#
#
...
@@ -70,6 +75,8 @@ install (FILES "${CMAKE_CURRENT_BINARY_DIR}/thallium-config.cmake"
...
@@ -70,6 +75,8 @@ install (FILES "${CMAKE_CURRENT_BINARY_DIR}/thallium-config.cmake"
"
${
CMAKE_CURRENT_BINARY_DIR
}
/thallium-config-version.cmake"
"
${
CMAKE_CURRENT_BINARY_DIR
}
/thallium-config-version.cmake"
"../cmake/xpkg-import.cmake"
"../cmake/xpkg-import.cmake"
DESTINATION
${
thallium-pkg
}
)
DESTINATION
${
thallium-pkg
}
)
install
(
FILES
"
${
CMAKE_CURRENT_BINARY_DIR
}
/thallium.pc"
DESTINATION
"lib/pkgconfig/"
)
install
(
DIRECTORY ../include/thallium
install
(
DIRECTORY ../include/thallium
DESTINATION include
DESTINATION include
FILES_MATCHING PATTERN
"*.hpp"
)
FILES_MATCHING PATTERN
"*.hpp"
)
...
...
src/thallium.pc.in
0 → 100644
View file @
ed1dc415
prefix=@DEST_DIR@
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include
Name: thallium
Description: A C++14 library wrapping Margo, Mercury, and Argobots and providing an object-oriented way to use these libraries.
Version: 0.1
Requires: margo
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