Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CEPCSW
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
maxt@ihep.ac.cn
CEPCSW
Commits
742f0554
Commit
742f0554
authored
10 months ago
by
lintao@ihep.ac.cn
Browse files
Options
Downloads
Patches
Plain Diff
Try to use FetchContent to install ckf ported from Belle.
parent
1404ce43
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+1
-0
1 addition, 0 deletions
CMakeLists.txt
cmake/CEPCSWOptions.cmake
+25
-0
25 additions, 0 deletions
cmake/CEPCSWOptions.cmake
with
26 additions
and
0 deletions
CMakeLists.txt
+
1
−
0
View file @
742f0554
...
@@ -29,6 +29,7 @@ endif()
...
@@ -29,6 +29,7 @@ endif()
list
(
PREPEND CMAKE_MODULE_PATH $ENV{PANDORAPFA}/cmakemodules
)
list
(
PREPEND CMAKE_MODULE_PATH $ENV{PANDORAPFA}/cmakemodules
)
list
(
PREPEND CMAKE_MODULE_PATH
"
${
PROJECT_SOURCE_DIR
}
/cmake"
)
# (Find*.cmake)
list
(
PREPEND CMAKE_MODULE_PATH
"
${
PROJECT_SOURCE_DIR
}
/cmake"
)
# (Find*.cmake)
include
(
cmake/CEPCSWOptions.cmake
)
include
(
cmake/CEPCSWDependencies.cmake
)
include
(
cmake/CEPCSWDependencies.cmake
)
add_subdirectory
(
Analysis
)
add_subdirectory
(
Analysis
)
...
...
This diff is collapsed.
Click to expand it.
cmake/CEPCSWOptions.cmake
0 → 100644
+
25
−
0
View file @
742f0554
# Define necessary options
##############################################################################
## CKF Belle
##############################################################################
option
(
CEPCSW_USE_SYSTEM_CKF_BELLE
"Use the existing installation of CKF BELLE"
TRUE
)
if
(
CEPCSW_USE_SYSTEM_CKF_BELLE
)
message
(
"Try to use an existing installation of CKF BELLE"
)
else
()
message
(
"Try to use an internal installation of CKF BELLE"
)
include
(
FetchContent
)
FetchContent_Declare
(
ckf_belle
GIT_REPOSITORY https://code.ihep.ac.cn/cepc/externals/ckf_belle.git
GIT_TAG 11624a552a9d2382bba3ce9ed9b0cf2d05a89b6e
)
FetchContent_MakeAvailable
(
ckf_belle
)
endif
()
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