Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
ScalFMM
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
solverstack
ScalFMM
Commits
e579c660
Commit
e579c660
authored
Jul 06, 2015
by
BRAMAS Berenger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make the compilation correct for the lib (@FUSE_)
parent
12a33391
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
1 deletion
+24
-1
Src/CMakeLists.txt
Src/CMakeLists.txt
+22
-1
Src/Utils/FMpi.cpp
Src/Utils/FMpi.cpp
+2
-0
No files found.
Src/CMakeLists.txt
View file @
e579c660
...
...
@@ -17,6 +17,27 @@ file(
./*.cpp
)
set
(
source_lib_files_enabled
)
foreach
(
exec
${
source_lib_files
}
)
set
(
compile_exec
"TRUE"
)
foreach
(
fuse_key
${
FUSE_LIST
}
)
file
(
STRINGS
"
${
exec
}
"
lines_fuse REGEX
"@FUSE_
${
fuse_key
}
"
)
if
(
lines_fuse
)
if
(
NOT SCALFMM_USE_
${
fuse_key
}
)
MESSAGE
(
STATUS
"This needs
${
fuse_key
}
=
${
exec
}
"
)
set
(
compile_exec
"FALSE"
)
endif
()
endif
()
endforeach
()
# Dependency are OK
if
(
compile_exec
)
list
(
APPEND source_lib_files_enabled
${
exec
}
)
endif
()
endforeach
(
exec
)
# Add CUDA files once they are compiled from cu to .o
if
(
SCALFMM_USE_CUDA
)
# Find all the CU files in my project
...
...
@@ -44,7 +65,7 @@ endif()
add_library
(
scalfmm
STATIC
${
source_lib_files
}
${
source_lib_files
_enabled
}
${
SCALFMM_CUDA_SOURCES
}
)
...
...
Src/Utils/FMpi.cpp
View file @
e579c660
// @FUSE_MPI
#include "Utils/FMpi.hpp"
int
FMpi
::
instanceCount
=
0
;
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