Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dune-copasi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
COPASI
dune-copasi
Commits
a00fa0d8
Commit
a00fa0d8
authored
4 years ago
by
Santiago Ospina De Los Ríos
Browse files
Options
Downloads
Patches
Plain Diff
Switch from git submodules to cmake fetch content
parent
d52ce7e5
No related branches found
No related tags found
1 merge request
!49
Resolve "Finish installation and usage instruction on the documentation"
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitmodules
+0
-3
0 additions, 3 deletions
.gitmodules
CMakeLists.txt
+14
-6
14 additions, 6 deletions
CMakeLists.txt
ext/ghc
+0
-1
0 additions, 1 deletion
ext/ghc
with
14 additions
and
10 deletions
.gitmodules
deleted
100644 → 0
+
0
−
3
View file @
d52ce7e5
[submodule "dune/copasi/common/ghc"]
path = ext/ghc
url = https://github.com/gulrak/filesystem
This diff is collapsed.
Click to expand it.
CMakeLists.txt
+
14
−
6
View file @
a00fa0d8
...
...
@@ -22,14 +22,22 @@ include(DuneMacros)
# start a dune project with information from dune.module
dune_project
()
# setup fallback filesystem
set
(
USE_FALLBACK_FILESYSTEM no CACHE BOOL
"Use bundled std::filesystem alternative (enable this for macOS older than 10.15)"
)
if
(
USE_FALLBACK_FILESYSTEM
)
add_subdirectory
(
ext/ghc
)
install
(
FILES ext/ghc/include/ghc/filesystem.hpp
COMPONENT Development
DESTINATION
"
${
CMAKE_INSTALL_INCLUDEDIR
}
/ghc"
)
endif
()
include
(
FetchContent
)
message
(
"-- Declaring GHC Filesystem"
)
FetchContent_Declare
(
ghc_filesystem
GIT_REPOSITORY https://github.com/gulrak/filesystem
GIT_TAG v1.4.0
)
if
(
USE_FALLBACK_FILESYSTEM AND NOT ghc_filesystem_POPULATED
)
message
(
"-- Populating GHC Filesystem"
)
FetchContent_Populate
(
ghc_filesystem
)
add_subdirectory
(
"
${
ghc_filesystem_SOURCE_DIR
}
"
"
${
ghc_filesystem_BINARY_DIR
}
"
)
endif
()
# Single domain target
set
(
DUNE_COPASI_SD_EXECUTABLE OFF
...
...
This diff is collapsed.
Click to expand it.
ghc
@
d8abf146
Compare
d8abf146
...
d8abf146
Subproject commit d8abf146a43ea12d28b09dfa71ece3bad4168185
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