Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
solverstack
ScalFMM
Commits
2fa2c86c
Commit
2fa2c86c
authored
Mar 14, 2012
by
Matthias Messner
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
git+ssh://scm.gforge.inria.fr//gitroot//scalfmm/scalfmm
parents
2a748b2a
b5864ee8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
CMakeLists.txt
CMakeLists.txt
+8
-0
No files found.
CMakeLists.txt
View file @
2fa2c86c
...
...
@@ -27,6 +27,8 @@ OPTION( SCALFMM_BUILD_UTESTS "Set to ON to build UTests" ON )
OPTION
(
SCALFMM_BUILD_DEBUG
"Set to ON to build in Debug"
OFF
)
OPTION
(
SCALFMM_USE_MEM_STATS
"Set to ON to profile memory"
OFF
)
OPTION
(
SCALFMM_USE_DOUBLE_PRECISION
"Set to ON to compile in double precision"
OFF
)
OPTION
(
SCALFMM_ATTACHE_SOURCE
"Set to ON to compile with -g"
OFF
)
# Test if openmp is here
...
...
@@ -43,6 +45,12 @@ else()
SET
(
CMAKE_BUILD_TYPE Release
)
endif
()
# Attach source code to exec
if
(
SCALFMM_ATTACHE_SOURCE
)
MESSAGE
(
STATUS
"Use -g in compiler flags"
)
ADD_DEFINITIONS
(
-g
)
endif
()
# Trace
MESSAGE
(
STATUS
"SCALFMM_USE_TRACE =
${
SCALFMM_USE_TRACE
}
"
)
if
(
SCALFMM_USE_TRACE
)
...
...
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