Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Project Juggler
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
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
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
EIC
Project Juggler
Merge requests
!472
feat: Add CMakeLists.txt to all algorithms subdirectories
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
feat: Add CMakeLists.txt to all algorithms subdirectories
algorithms-cmake-lists
into
main
Overview
0
Commits
1
Pipelines
0
Changes
9
Merged
Wouter Deconinck
requested to merge
algorithms-cmake-lists
into
main
2 years ago
Overview
0
Commits
1
Pipelines
0
Changes
9
Expand
0
0
Merge request reports
Compare
main
version 1
84142434
2 years ago
main (base)
and
latest version
latest version
32629655
1 commit,
2 years ago
version 1
84142434
3 commits,
2 years ago
9 files
+
347
−
2
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
9
Search (e.g. *.vue) (Ctrl+P)
external/algorithms/acts/CMakeLists.txt
0 → 100644
+
48
−
0
Options
# SPDX-License-Identifier: LGPL-3.0-or-later
# Copyright (C) 2022 Wouter Deconinck, Sylvester Joosten
################################################################################
# Package: algorithms core utilities
################################################################################
set
(
SUBDIR
"acts"
)
set
(
LIBRARY
"algo
${
SUBDIR
}
"
)
set
(
TARGETS
${
TARGETS
}
${
LIBRARY
}
PARENT_SCOPE
)
# FIXME: adding one by one
#file(GLOB SRC CONFIGURE_DEPENDS src/*.cpp)
set
(
SRC
)
add_library
(
${
LIBRARY
}
SHARED
${
SRC
}
)
target_link_libraries
(
${
LIBRARY
}
PUBLIC
EDM4HEP::edm4hep
EDM4EIC::edm4eic
DD4hep::DDRec
algocore
fmt::fmt
)
target_include_directories
(
${
LIBRARY
}
PUBLIC
$<BUILD_INTERFACE:
${
PROJECT_SOURCE_DIR
}
/
${
SUBDIR
}
/include>
$<INSTALL_INTERFACE:
${
CMAKE_INSTALL_INCLUDEDIR
}
>
)
set_target_properties
(
${
LIBRARY
}
PROPERTIES
VERSION
${
PROJECT_VERSION
}
SOVERSION
${
PROJECT_VERSION_MAJOR
}
.
${
PROJECT_VERSION_MINOR
}
)
install
(
TARGETS
${
LIBRARY
}
EXPORT algorithmsTargets
RUNTIME DESTINATION
"
${
CMAKE_INSTALL_BINDIR
}
"
COMPONENT bin
LIBRARY DESTINATION
"
${
CMAKE_INSTALL_LIBDIR
}
"
COMPONENT shlib
ARCHIVE DESTINATION
"
${
CMAKE_INSTALL_LIBDIR
}
"
COMPONENT lib
INCLUDES DESTINATION
"
${
CMAKE_INSTALL_INCLUDEDIR
}
"
NAMESPACE algorithms::
)
install
(
DIRECTORY
${
PROJECT_SOURCE_DIR
}
/
${
SUBDIR
}
/include/algorithms
DESTINATION
${
CMAKE_INSTALL_INCLUDEDIR
}
COMPONENT dev
)
# TODO: Testing
#if(BUILD_TESTING)
# enable_testing()
#endif()
Loading