Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LHCb
MooreAnalysis
Commits
864fc34e
Commit
864fc34e
authored
Sep 20, 2021
by
Christoph Hasse
🤸🏻
Browse files
fix: move to modern cmake and fix dev4 slot on the way
parent
7e6168aa
Pipeline
#3044199
failed with stage
in 24 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
864fc34e
...
...
@@ -8,23 +8,26 @@
# granted to it by virtue of its status as an Intergovernmental Organization #
# or submit itself to any jurisdiction. #
###############################################################################
CMAKE_MINIMUM_REQUIRED
(
VERSION 3.14
)
project
(
MooreAnalysis LANGUAGES CXX
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 3.15
)
project
(
MooreAnalysis VERSION 1.1
LANGUAGES CXX
)
#---------------------------------------------------------------
# Load macros and functions for Gaudi-based projects
find_package
(
GaudiProject
)
#---------------------------------------------------------------
# Enable testing with CTest/CDash
include
(
CTest
)
# Declare project name and version
gaudi_project
(
MooreAnalysis v1r1
USE Allen v1r4
Moore v52r2
Analysis v34r0
DATA AppConfig VERSION v3r*
FieldMap VERSION v5r*
PRConfig VERSION v1r*
ParamFiles VERSION v8r*
RawEventFormat
TCK/HltTCK VERSION v3r*
TMVAWeights VERSION v1r*
)
list
(
PREPEND CMAKE_MODULE_PATH
${
PROJECT_SOURCE_DIR
}
/cmake
)
# Dependencies
set
(
WITH_MooreAnalysis_PRIVATE_DEPENDENCIES TRUE
)
include
(
MooreAnalysisDependencies
)
lhcb_add_subdirectories
(
HltEfficiencyChecker
HltIntegrationTests
)
lhcb_finalize_configuration
(
NO_EXPORT
)
HltEfficiencyChecker/CMakeLists.txt
View file @
864fc34e
...
...
@@ -9,9 +9,8 @@
# or submit itself to any jurisdiction. #
###############################################################################
find_package
(
pytools
)
gaudi_install_python_modules
()
gaudi_install_scripts
(
hlt_eff_checker.py
)
gaudi_add_tests
(
QMTest
)
gaudi_add_test
(
QMTest QMTEST
)
gaudi_install
(
PYTHON
)
gaudi_install
(
SCRIPTS
)
HltIntegrationTests/CMakeLists.txt
View file @
864fc34e
...
...
@@ -9,4 +9,4 @@
# or submit itself to any jurisdiction. #
###############################################################################
gaudi_add_test
(
QMTest
QMTEST
)
gaudi_add_test
s
(
QMTest
)
cmake/MooreAnalysisDependencies.cmake
0 → 100644
View file @
864fc34e
###############################################################################
# (c) Copyright 2000-2021 CERN for the benefit of the LHCb Collaboration #
# #
# This software is distributed under the terms of the GNU General Public #
# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". #
# #
# In applying this licence, CERN does not waive the privileges and immunities #
# granted to it by virtue of its status as an Intergovernmental Organization #
# or submit itself to any jurisdiction. #
###############################################################################
if
(
NOT COMMAND lhcb_find_package
)
# Look for LHCb find_package wrapper
find_file
(
LHCbFindPackage_FILE LHCbFindPackage.cmake
)
if
(
LHCbFindPackage_FILE
)
include
(
${
LHCbFindPackage_FILE
}
)
else
()
# if not found, use the standard find_package
macro
(
lhcb_find_package
)
find_package
(
${
ARGV
}
)
endmacro
()
endif
()
endif
()
# -- Public dependencies
lhcb_find_package
(
Moore REQUIRED
)
lhcb_find_package
(
Allen REQUIRED
)
lhcb_find_package
(
Analysis REQUIRED
)
# -- Private dependencies
if
(
WITH_MooreAnalysis_PRIVATE_DEPENDENCIES
)
# no private dependencies
endif
()
lhcbproject.yml
0 → 100644
View file @
864fc34e
---
name
:
MooreAnalysis
license
:
GPL-3.0-only
dependencies
:
-
Moore
-
Allen
-
Analysis
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment