Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cbmroot
Manage
Activity
Members
Labels
Plan
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Show more breadcrumbs
Computing
cbmroot
Commits
f694bbaf
Commit
f694bbaf
authored
2 years ago
by
Felix Weiglhofer
Committed by
Administrator
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
external: Add Microsoft GSL library.
parent
44db5a9d
No related branches found
No related tags found
1 merge request
!933
Add GSL as external dependency
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CMakeLists.txt
+6
-0
6 additions, 0 deletions
CMakeLists.txt
external/.gitignore
+1
-0
1 addition, 0 deletions
external/.gitignore
external/CMakeLists.txt
+8
-0
8 additions, 0 deletions
external/CMakeLists.txt
with
15 additions
and
0 deletions
CMakeLists.txt
+
6
−
0
View file @
f694bbaf
...
...
@@ -216,6 +216,12 @@ ${XPU_INCLUDE_DIRECTORY} # Required for XPU_D macro in base data types
)
set
(
BASE_INCLUDE_DIRECTORIES
${
BASE_INCLUDE_DIRECTORIES
}
${
GSL_INCLUDE_DIRECTORY
}
)
### Base directories
add_subdirectory
(
core
)
add_subdirectory
(
algo
)
...
...
This diff is collapsed.
Click to expand it.
external/.gitignore
+
1
−
0
View file @
f694bbaf
...
...
@@ -11,3 +11,4 @@ jsroot
googletest
yaml-cpp/
xpu/
GSL
This diff is collapsed.
Click to expand it.
external/CMakeLists.txt
+
8
−
0
View file @
f694bbaf
...
...
@@ -22,6 +22,14 @@ if(DOWNLOAD_EXTERNALS)
Add_Subdirectory
(
flib_dpb
)
download_project_if_needed
(
PROJECT gsl
GIT_REPOSITORY
"https://github.com/microsoft/GSL.git"
GIT_TAG
"v4.0.0"
SOURCE_DIR
${
CMAKE_CURRENT_SOURCE_DIR
}
/GSL
)
set
(
GSL_INCLUDE_DIRECTORY
${
CMAKE_CURRENT_SOURCE_DIR
}
/GSL/include PARENT_SCOPE
)
install
(
DIRECTORY GSL/include/gsl TYPE INCLUDE
)
find_package
(
Vc 1.4.1
)
if
(
NOT Vc_FOUND
)
Message
(
"Vc not found in FairSoft installation, Build included version."
)
...
...
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