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
43c581ba
Commit
43c581ba
authored
3 years ago
by
Administrator
Committed by
Florian Uhlig
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Use modern CMake for build sytem
parent
2efee564
No related branches found
No related tags found
1 merge request
!525
Implement CbmStsDigi version without ROOT dependencies
Pipeline
#13347
passed
3 years ago
Stage: documentation
Stage: deploy
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
algo/data/CMakeLists.txt
+9
-15
9 additions, 15 deletions
algo/data/CMakeLists.txt
with
9 additions
and
15 deletions
algo/data/CMakeLists.txt
+
9
−
15
View file @
43c581ba
...
...
@@ -2,25 +2,19 @@
# the array .
# The extension is already found. Any number of sources could be listed here.
set
(
INCLUDE_DIRECTORIES
${
CMAKE_SOURCE_DIR
}
/core/data
${
CMAKE_SOURCE_DIR
}
/core/data/sts
set
(
SRCS
${
CMAKE_SOURCE_DIR
}
/core/data/sts/CbmStsDigi.cxx
)
include_directories
(
${
INCLUDE_DIRECTORIE
S
}
)
add_library
(
OnlineData SHARED
${
SRC
S
}
)
set
(
SYSTEM_INCLUDE_DIRECTORIES
${
Boost_INCLUDE_DIR
}
target_include_directories
(
OnlineData
PUBLIC
${
CMAKE_SOURCE_DIR
}
/core/data
PUBLIC
${
CMAKE_SOURCE_DIR
}
/core/data/sts
)
include_directories
(
SYSTEM
${
SYSTEM_INCLUDE_DIRECTORIES
}
)
set
(
SRCS
${
CMAKE_SOURCE_DIR
}
/core/data/sts/CbmStsDigi.cxx
target_include_directories
(
OnlineData SYSTEM
PUBLIC
${
Boost_INCLUDE_DIR
}
)
ADD_DEFINITIONS
(
-DNO_ROOT
)
#---Create a shared library with geneated dictionary
add_library
(
OnlineData SHARED
${
SRCS
}
)
target_compile_definitions
(
OnlineData PUBLIC NO_ROOT
)
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