Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Lukas Weber
load_leveller
Commits
444aec0d
Commit
444aec0d
authored
Jun 11, 2019
by
Lukas Weber
Browse files
make config.h accessible to projects using loadleveller
parent
a1813c33
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/MersenneTwister.h
View file @
444aec0d
#ifndef MCL_SINGLE
#include
"mpi.h"
#endif
#include
<cassert>
#include
<vector>
#include
<cstring>
// MersenneTwister.h
// Mersenne Twister random number generator -- a C++ class MTRand
...
...
src/meson.build
View file @
444aec0d
...
...
@@ -8,7 +8,10 @@ conf_data = configuration_data()
conf_data
.
set
(
'rng_backend'
,
rng_names
[
get_option
(
'rng_backend'
)])
configure_file
(
input
:
'config.h.in'
,
output
:
'config.h'
,
install
:
should_install
,
install_dir
:
'include/loadleveller'
,
configuration
:
conf_data
)
config_inc
=
include_directories
(
'.'
)
loadleveller_sources
=
files
([
'dump.cpp'
,
...
...
@@ -60,7 +63,7 @@ if should_install
endif
loadleveller_dep
=
declare_dependency
(
include_directories
:
include_directories
(
'../include/'
),
include_directories
:
[
include_directories
(
'../include/'
),
config_inc
],
link_with
:
libloadleveller
,
dependencies
:
loadleveller_deps
,
version
:
meson
.
project_version
(),
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment