Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
aevol-eukaryotes
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
GitLab upgrade completed. Current version is 17.8.2.
Show more breadcrumbs
LUISELLI Juliette
aevol-eukaryotes
Commits
b6776808
Commit
b6776808
authored
4 years ago
by
ROUZAUD-CORNABAS Jonathan
Browse files
Options
Downloads
Patches
Plain Diff
Fix error in CMake
parent
ec7653b7
Branches
parallel_cuda
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/CMakeLists.txt
+15
-6
15 additions, 6 deletions
src/CMakeLists.txt
with
15 additions
and
6 deletions
src/CMakeLists.txt
+
15
−
6
View file @
b6776808
...
...
@@ -43,11 +43,6 @@ set(Boost_USE_MULTITHREADED ON)
set
(
Boost_USE_STATIC_RUNTIME OFF
)
find_package
(
Boost 1.65.0 COMPONENTS filesystem
)
if
(
Boost_FOUND
)
include_directories
(
${
Boost_INCLUDE_DIRS
}
)
add_executable
(
aevol_propagate aevol_propagate.cpp
)
target_link_libraries
(
aevol_propagate PUBLIC aevol
${
Boost_LIBRARIES
}
)
endif
()
if
(
${
with-simd
}
)
add_definitions
(
-DWITH_STANDALONE_SIMD
)
...
...
@@ -95,7 +90,21 @@ else ( CUDA_FOUND )
endif
(
CUDA_FOUND
)
if
(
Boost_FOUND
)
if
(
CUDA_FOUND
)
include_directories
(
${
Boost_INCLUDE_DIRS
}
)
cuda_add_executable
(
aevol_propagate_gpu aevol_propagate.cpp
${
cuda_aevol
}
)
target_link_libraries
(
aevol_propagate_gpu aevol
${
Boost_LIBRARIES
}
nvToolsExt
)
install
(
TARGETS aevol_propagate_gpu DESTINATION
${
CMAKE_INSTALL_BINDIR
}
/aevol_propagate_gpu
)
else
(
CUDA_FOUND
)
include_directories
(
${
Boost_INCLUDE_DIRS
}
)
add_executable
(
aevol_propagate aevol_propagate.cpp
)
target_link_libraries
(
aevol_propagate PUBLIC aevol
${
Boost_LIBRARIES
}
)
install
(
TARGETS aevol_propagate DESTINATION
${
CMAKE_INSTALL_BINDIR
}
/aevol_propagate
)
endif
()
endif
()
# ============================================================================
# Set behaviour on make install
# ============================================================================
install
(
TARGETS aevol_propagate DESTINATION
${
CMAKE_INSTALL_BINDIR
}
/aevol_propagate
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment