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
dhb112358@mail.ustc.edu.cn
CEPCSW
Commits
efedcb7f
Commit
efedcb7f
authored
4 years ago
by
lintao@ihep.ac.cn
Browse files
Options
Downloads
Patches
Plain Diff
Migrate KalTest. Add the missing config cmake.
parent
924eea29
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Utilities/CMakeLists.txt
+1
-1
1 addition, 1 deletion
Utilities/CMakeLists.txt
Utilities/KalTest/CMakeLists.txt
+10
-8
10 additions, 8 deletions
Utilities/KalTest/CMakeLists.txt
cmake/CEPCSWConfig.cmake
+13
-0
13 additions, 0 deletions
cmake/CEPCSWConfig.cmake
with
24 additions
and
9 deletions
Utilities/CMakeLists.txt
+
1
−
1
View file @
efedcb7f
add_subdirectory
(
DataHelper
)
# add_subdirectory(KalDet)
#
add_subdirectory(KalTest)
add_subdirectory
(
KalTest
)
# add_subdirectory(KiTrack)
This diff is collapsed.
Click to expand it.
Utilities/KalTest/CMakeLists.txt
+
10
−
8
View file @
efedcb7f
...
...
@@ -3,15 +3,11 @@
# Desc: import from ILCSoft
##############################################################################
gaudi_subdir
(
KalTest v0r0
)
find_package
(
ROOT REQUIRED COMPONENTS MathCore
)
gaudi_depends_on_subdirs
()
set
(
DICT_CINT_DEFINITIONS
"HANDLE_DICT_EXCEPTIONS=IGNORED_FOR_CINT"
)
set
(
DICT_INPUT_DIRS geomlib kallib kaltracklib utils
)
set
(
DICT_OUTPUT_DIR
${
CMAKE_CURRENT_
SOURCE
_DIR
}
/rootdict
)
set
(
DICT_OUTPUT_DIR
${
CMAKE_CURRENT_
BINARY
_DIR
}
/rootdict
)
foreach
(
DICT
${
DICT_INPUT_DIRS
}
)
list
(
APPEND DICT_INCLUDE_DIRS
${
CMAKE_CURRENT_SOURCE_DIR
}
/src/
${
DICT
}
)
...
...
@@ -54,7 +50,13 @@ include_directories( ${ROOT_INCLUDE_DIRS} )
set
(
KalTestLib_srcs
${
LIB_SOURCES
}
)
gaudi_add_library
(
KalTestLib
${
KalTestLib_srcs
}
PUBLIC_HEADERS kaltest
LINK_LIBRARIES GaudiKernel ROOT
gaudi_add_library
(
KalTestLib
SOURCES
${
KalTestLib_srcs
}
LINK Gaudi::GaudiKernel
${
ROOT_LIBRARIES
}
)
install
(
TARGETS KalTestLib
EXPORT CEPCSWTargets
RUNTIME DESTINATION
"
${
CMAKE_INSTALL_BINDIR
}
"
COMPONENT bin
LIBRARY DESTINATION
"
${
CMAKE_INSTALL_LIBDIR
}
"
COMPONENT shlib
COMPONENT dev
)
This diff is collapsed.
Click to expand it.
cmake/CEPCSWConfig.cmake
0 → 100644
+
13
−
0
View file @
efedcb7f
include
(
CMakeFindDependencyMacro
)
find_dependency
(
podio REQUIRED
)
find_dependency
(
Gaudi REQUIRED
)
find_dependency
(
k4FWCore REQUIRED
)
find_dependency
(
EDM4HEP REQUIRED
)
find_dependency
(
ROOT REQUIRED
)
# - Include the targets file to create the imported targets that a client can
# link to (libraries) or execute (programs)
include
(
"
${
CMAKE_CURRENT_LIST_DIR
}
/CEPCSWTargets.cmake"
)
get_property
(
TEST_CEPCSW_LIBRARY TARGET CEPCSW::GeomSvc PROPERTY LOCATION
)
find_package_handle_standard_args
(
CEPCSW DEFAULT_MSG CMAKE_CURRENT_LIST_FILE TEST_CEPCSW_LIBRARY
)
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