Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Gaudi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Gaudi
Gaudi
Commits
e193dfa7
Commit
e193dfa7
authored
1 year ago
by
Marco Clemencic
Browse files
Options
Downloads
Plain Diff
Fix build with GAUDI_USE_AIDA=OFF
See merge request
!1474
parents
ba821e82
c3c857e5
No related branches found
No related tags found
1 merge request
!1474
Move the tuple examples to build only with AIDA
Pipeline
#5896576
passed
1 year ago
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
GaudiExamples/CMakeLists.txt
+7
-7
7 additions, 7 deletions
GaudiExamples/CMakeLists.txt
GaudiPython/CMakeLists.txt
+4
-4
4 additions, 4 deletions
GaudiPython/CMakeLists.txt
GaudiPython/dict/kernel.h
+4
-4
4 additions, 4 deletions
GaudiPython/dict/kernel.h
with
15 additions
and
15 deletions
GaudiExamples/CMakeLists.txt
+
7
−
7
View file @
e193dfa7
...
@@ -132,19 +132,19 @@ if(GAUDI_USE_AIDA)
...
@@ -132,19 +132,19 @@ if(GAUDI_USE_AIDA)
src/IO/WriteHandleAlg.cpp
src/IO/WriteHandleAlg.cpp
src/RandomNumber/RandomNumberAlg.cpp
)
src/RandomNumber/RandomNumberAlg.cpp
)
target_link_libraries
(
GaudiExamples PRIVATE AIDA::aida
)
target_link_libraries
(
GaudiExamples PRIVATE AIDA::aida
)
if
(
GAUDI_USE_CLHEP
)
target_sources
(
GaudiExamples PRIVATE src/TupleEx/TupleAlg2.cpp
src/TupleEx/TupleAlg3.cpp
src/TupleEx/TupleAlg.cpp
src/TupleEx/TupleDef.cpp
)
target_link_libraries
(
GaudiExamples PRIVATE CLHEP::CLHEP
)
endif
()
endif
()
endif
()
if
(
GAUDI_USE_HEPPDT
)
if
(
GAUDI_USE_HEPPDT
)
target_sources
(
GaudiExamples PRIVATE src/PartProp/GaudiPPS.cpp
target_sources
(
GaudiExamples PRIVATE src/PartProp/GaudiPPS.cpp
src/PartProp/PartPropExa.cpp
)
src/PartProp/PartPropExa.cpp
)
target_link_libraries
(
GaudiExamples PRIVATE HepPDT::heppdt
)
target_link_libraries
(
GaudiExamples PRIVATE HepPDT::heppdt
)
endif
()
endif
()
if
(
GAUDI_USE_CLHEP
)
target_sources
(
GaudiExamples PRIVATE src/TupleEx/TupleAlg2.cpp
src/TupleEx/TupleAlg3.cpp
src/TupleEx/TupleAlg.cpp
src/TupleEx/TupleDef.cpp
)
target_link_libraries
(
GaudiExamples PRIVATE CLHEP::CLHEP
)
endif
()
if
(
TARGET RootCnvLib
)
if
(
TARGET RootCnvLib
)
target_sources
(
GaudiExamples PRIVATE src/MultiInput/DumpAddress.cpp
target_sources
(
GaudiExamples PRIVATE src/MultiInput/DumpAddress.cpp
src/MultiInput/MIReadAlg.cpp
src/MultiInput/MIReadAlg.cpp
...
...
This diff is collapsed.
Click to expand it.
GaudiPython/CMakeLists.txt
+
4
−
4
View file @
e193dfa7
...
@@ -22,10 +22,10 @@ gaudi_add_library(GaudiPythonLib
...
@@ -22,10 +22,10 @@ gaudi_add_library(GaudiPythonLib
if
(
GAUDI_USE_AIDA
)
if
(
GAUDI_USE_AIDA
)
target_sources
(
GaudiPythonLib PRIVATE src/Lib/HistoDecorator.cpp
)
target_sources
(
GaudiPythonLib PRIVATE src/Lib/HistoDecorator.cpp
)
target_link_libraries
(
GaudiPythonLib PUBLIC AIDA::aida
)
target_link_libraries
(
GaudiPythonLib PUBLIC AIDA::aida
)
endif
(
)
if
(
GAUDI_USE_CLHEP
)
if
(
GAUDI_USE_CLHEP
)
target_sources
(
GaudiPythonLib PRIVATE src/Lib/TupleDecorator.cpp
)
target_
sourc
es
(
GaudiPythonLib P
RIVATE src/Lib/TupleDecorator.cpp
)
target_
link_librari
es
(
GaudiPythonLib P
UBLIC CLHEP::CLHEP
)
target_link_libraries
(
GaudiPythonLib PUBLIC CLHEP::CLHEP
)
endif
(
)
endif
()
endif
()
# Build the plugin
# Build the plugin
...
...
This diff is collapsed.
Click to expand it.
GaudiPython/dict/kernel.h
+
4
−
4
View file @
e193dfa7
...
@@ -75,13 +75,13 @@
...
@@ -75,13 +75,13 @@
#include
"GaudiPython/GaudiPython.h"
#include
"GaudiPython/GaudiPython.h"
#ifdef AIDA_FOUND
#ifdef AIDA_FOUND
# include "GaudiPython/HistoDecorator.h"
# include "GaudiPython/HistoDecorator.h"
#endif // AIDA_FOUND
# ifdef CLHEP_FOUND
# include "GaudiPython/TupleDecorator.h"
# endif // CLHEP_FOUND
#endif // AIDA_FOUND
#include
"GaudiPython/Interface.h"
#include
"GaudiPython/Interface.h"
#include
"GaudiPython/Printer.h"
#include
"GaudiPython/Printer.h"
#include
"GaudiPython/Vector.h"
#include
"GaudiPython/Vector.h"
#ifdef CLHEP_FOUND
# include "GaudiPython/TupleDecorator.h"
#endif // CLHEP_FOUND
#ifdef AIDA_FOUND
#ifdef AIDA_FOUND
# include "GaudiAlg/GaudiHistoAlg.h"
# include "GaudiAlg/GaudiHistoAlg.h"
...
...
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