From 558c5f6146cadd427a3fbd47e3d80cdca28ea9f8 Mon Sep 17 00:00:00 2001
From: Tomas Dado <tomas.dado@cern.ch>
Date: Wed, 28 Oct 2020 17:44:35 +0100
Subject: [PATCH] CMakeLists cleanup

---
 .../TopPhysUtils/TopDataPreparation/CMakeLists.txt        | 4 +---
 PhysicsAnalysis/TopPhys/xAOD/TopAnalysis/CMakeLists.txt   | 7 +------
 PhysicsAnalysis/TopPhys/xAOD/TopCPTools/CMakeLists.txt    | 7 +------
 .../TopPhys/xAOD/TopConfiguration/CMakeLists.txt          | 4 +---
 .../TopPhys/xAOD/TopCorrections/CMakeLists.txt            | 7 +------
 PhysicsAnalysis/TopPhys/xAOD/TopEvent/CMakeLists.txt      | 4 +---
 .../xAOD/TopEventReconstructionTools/CMakeLists.txt       | 4 +---
 .../TopPhys/xAOD/TopEventSelectionTools/CMakeLists.txt    | 7 +------
 PhysicsAnalysis/TopPhys/xAOD/TopExamples/CMakeLists.txt   | 8 +-------
 .../TopPhys/xAOD/TopJetSubstructure/CMakeLists.txt        | 7 +------
 .../TopPhys/xAOD/TopObjectSelectionTools/CMakeLists.txt   | 7 +------
 .../TopPhys/xAOD/TopParticleLevel/CMakeLists.txt          | 7 +------
 PhysicsAnalysis/TopPhys/xAOD/TopPartons/CMakeLists.txt    | 7 +------
 .../TopPhys/xAOD/TopSystematicObjectMaker/CMakeLists.txt  | 7 +------
 14 files changed, 14 insertions(+), 73 deletions(-)

diff --git a/PhysicsAnalysis/TopPhys/TopPhysUtils/TopDataPreparation/CMakeLists.txt b/PhysicsAnalysis/TopPhys/TopPhysUtils/TopDataPreparation/CMakeLists.txt
index 006d0fda5b5..1a8fd7212e7 100644
--- a/PhysicsAnalysis/TopPhys/TopPhysUtils/TopDataPreparation/CMakeLists.txt
+++ b/PhysicsAnalysis/TopPhys/TopPhysUtils/TopDataPreparation/CMakeLists.txt
@@ -1,7 +1,5 @@
-# Auto-generated on: 2017-03-09 17:44:33.125987
-
 # Declare the name of this package:
-atlas_subdir( TopDataPreparation None )
+atlas_subdir( TopDataPreparation )
 
 # This package uses ROOT:
 find_package( ROOT REQUIRED COMPONENTS Core Gpad Tree Hist RIO MathCore Graf )
diff --git a/PhysicsAnalysis/TopPhys/xAOD/TopAnalysis/CMakeLists.txt b/PhysicsAnalysis/TopPhys/xAOD/TopAnalysis/CMakeLists.txt
index 14b4788f5a0..04ec018efe4 100644
--- a/PhysicsAnalysis/TopPhys/xAOD/TopAnalysis/CMakeLists.txt
+++ b/PhysicsAnalysis/TopPhys/xAOD/TopAnalysis/CMakeLists.txt
@@ -1,7 +1,5 @@
-# Auto-generated on: 2017-03-08 14:47:33.629640
-
 # Declare the name of this package:
-atlas_subdir( TopAnalysis None )
+atlas_subdir( TopAnalysis )
 
 # This package depends on other packages:
 atlas_depends_on_subdirs( PUBLIC
@@ -34,9 +32,6 @@ atlas_depends_on_subdirs( PUBLIC
 # This package uses ROOT:
 find_package( ROOT REQUIRED COMPONENTS Core Gpad Tree Hist RIO MathCore Graf )
 
-# Custom definitions needed for this package:
-add_definitions( -g )
-
 # Generate a CINT dictionary source file:
 atlas_add_root_dictionary( TopAnalysis _cintDictSource
                            ROOT_HEADERS Root/LinkDef.h
diff --git a/PhysicsAnalysis/TopPhys/xAOD/TopCPTools/CMakeLists.txt b/PhysicsAnalysis/TopPhys/xAOD/TopCPTools/CMakeLists.txt
index fc1f64a55f9..83394cfc539 100644
--- a/PhysicsAnalysis/TopPhys/xAOD/TopCPTools/CMakeLists.txt
+++ b/PhysicsAnalysis/TopPhys/xAOD/TopCPTools/CMakeLists.txt
@@ -1,7 +1,5 @@
-# Auto-generated on: 2017-03-08 14:47:34.346308
-
 # Declare the name of this package:
-atlas_subdir( TopCPTools None )
+atlas_subdir( TopCPTools )
 
 # This package depends on other packages:
 atlas_depends_on_subdirs( PUBLIC
@@ -59,9 +57,6 @@ atlas_depends_on_subdirs( PUBLIC
 # This package uses ROOT:
 find_package( ROOT REQUIRED COMPONENTS Core Gpad Tree Hist RIO MathCore Graf )
 
-# Custom definitions needed for this package:
-add_definitions( -g -std=c++14 )
-
 # Build a library that other components can link against:
 atlas_add_library( TopCPTools Root/*.cxx Root/*.h Root/*.icc
                    TopCPTools/*.h TopCPTools/*.icc TopCPTools/*/*.h
diff --git a/PhysicsAnalysis/TopPhys/xAOD/TopConfiguration/CMakeLists.txt b/PhysicsAnalysis/TopPhys/xAOD/TopConfiguration/CMakeLists.txt
index 788d9749ce7..cf7eef726ca 100644
--- a/PhysicsAnalysis/TopPhys/xAOD/TopConfiguration/CMakeLists.txt
+++ b/PhysicsAnalysis/TopPhys/xAOD/TopConfiguration/CMakeLists.txt
@@ -1,7 +1,5 @@
-# Auto-generated on: 2017-03-08 14:47:35.608258
-
 # Declare the name of this package:
-atlas_subdir( TopConfiguration None )
+atlas_subdir( TopConfiguration )
 
 # This package depends on other packages:
 atlas_depends_on_subdirs( PUBLIC
diff --git a/PhysicsAnalysis/TopPhys/xAOD/TopCorrections/CMakeLists.txt b/PhysicsAnalysis/TopPhys/xAOD/TopCorrections/CMakeLists.txt
index 84d0e64bfc5..9b933124d83 100644
--- a/PhysicsAnalysis/TopPhys/xAOD/TopCorrections/CMakeLists.txt
+++ b/PhysicsAnalysis/TopPhys/xAOD/TopCorrections/CMakeLists.txt
@@ -1,7 +1,5 @@
-# Auto-generated on: 2017-03-08 14:47:35.652165
-
 # Declare the name of this package:
-atlas_subdir( TopCorrections None )
+atlas_subdir( TopCorrections )
 
 # This package depends on other packages:
 atlas_depends_on_subdirs( PUBLIC
@@ -26,9 +24,6 @@ find_package( Lhapdf )
 # This package uses ROOT:
 find_package( ROOT REQUIRED COMPONENTS Core Gpad Tree Hist RIO MathCore Graf )
 
-# Custom definitions needed for this package:
-add_definitions( -g -std=c++14 )
-
 # Add a ROOT dictionary
 atlas_add_root_dictionary( TopCorrections _cintDictSource
                            ROOT_HEADERS Root/LinkDef.h
diff --git a/PhysicsAnalysis/TopPhys/xAOD/TopEvent/CMakeLists.txt b/PhysicsAnalysis/TopPhys/xAOD/TopEvent/CMakeLists.txt
index d2754af3001..80a5a47fc21 100644
--- a/PhysicsAnalysis/TopPhys/xAOD/TopEvent/CMakeLists.txt
+++ b/PhysicsAnalysis/TopPhys/xAOD/TopEvent/CMakeLists.txt
@@ -1,7 +1,5 @@
-# Auto-generated on: 2017-03-08 14:47:36.020351
-
 # Declare the name of this package:
-atlas_subdir( TopEvent None )
+atlas_subdir( TopEvent )
 
 # This package depends on other packages:
 atlas_depends_on_subdirs( PUBLIC
diff --git a/PhysicsAnalysis/TopPhys/xAOD/TopEventReconstructionTools/CMakeLists.txt b/PhysicsAnalysis/TopPhys/xAOD/TopEventReconstructionTools/CMakeLists.txt
index aba16f9cc60..8eb186314d2 100644
--- a/PhysicsAnalysis/TopPhys/xAOD/TopEventReconstructionTools/CMakeLists.txt
+++ b/PhysicsAnalysis/TopPhys/xAOD/TopEventReconstructionTools/CMakeLists.txt
@@ -1,7 +1,5 @@
-# Auto-generated on: 2017-03-08 14:47:36.489231
-
 # Declare the name of this package:
-atlas_subdir( TopEventReconstructionTools None )
+atlas_subdir( TopEventReconstructionTools )
 
 # This package depends on other packages:
 atlas_depends_on_subdirs( PUBLIC
diff --git a/PhysicsAnalysis/TopPhys/xAOD/TopEventSelectionTools/CMakeLists.txt b/PhysicsAnalysis/TopPhys/xAOD/TopEventSelectionTools/CMakeLists.txt
index d6b986f9c28..9c4ed1d2e36 100644
--- a/PhysicsAnalysis/TopPhys/xAOD/TopEventSelectionTools/CMakeLists.txt
+++ b/PhysicsAnalysis/TopPhys/xAOD/TopEventSelectionTools/CMakeLists.txt
@@ -1,7 +1,5 @@
-# Auto-generated on: 2017-03-08 14:47:36.708684
-
 # Declare the name of this package:
-atlas_subdir( TopEventSelectionTools None )
+atlas_subdir( TopEventSelectionTools )
 
 # This package depends on other packages:
 atlas_depends_on_subdirs( PUBLIC
@@ -17,9 +15,6 @@ atlas_depends_on_subdirs( PUBLIC
 # This package uses ROOT:
 find_package( ROOT REQUIRED COMPONENTS Core Gpad Tree Hist RIO MathCore Graf )
 
-# Custom definitions needed for this package:
-add_definitions( -g )
-
 # Generate a CINT dictionary source file:
 atlas_add_root_dictionary( TopEventSelectionTools _cintDictSource
                            ROOT_HEADERS Root/LinkDef.h
diff --git a/PhysicsAnalysis/TopPhys/xAOD/TopExamples/CMakeLists.txt b/PhysicsAnalysis/TopPhys/xAOD/TopExamples/CMakeLists.txt
index 726bf4fb359..f4694ce281f 100644
--- a/PhysicsAnalysis/TopPhys/xAOD/TopExamples/CMakeLists.txt
+++ b/PhysicsAnalysis/TopPhys/xAOD/TopExamples/CMakeLists.txt
@@ -1,7 +1,5 @@
-# Auto-generated on: 2017-03-08 14:47:36.923782
-
 # Declare the name of this package:
-atlas_subdir( TopExamples None )
+atlas_subdir( TopExamples )
 
 # This package depends on other packages:
 atlas_depends_on_subdirs( PUBLIC
@@ -20,10 +18,6 @@ atlas_depends_on_subdirs( PUBLIC
 # This package uses ROOT:
 find_package( ROOT REQUIRED COMPONENTS Core Gpad Tree Hist RIO Math MathMore MathCore Graf Physics )
 
-
-# Custom definitions needed for this package:
-add_definitions( -g )
-
 # Build a library that other components can link against:
 atlas_add_library( TopExamples Root/*.cxx Root/*.h Root/*.icc
                    TopExamples/*.h TopExamples/*.icc TopExamples/*/*.h
diff --git a/PhysicsAnalysis/TopPhys/xAOD/TopJetSubstructure/CMakeLists.txt b/PhysicsAnalysis/TopPhys/xAOD/TopJetSubstructure/CMakeLists.txt
index 721474570f2..cf1ffff012e 100644
--- a/PhysicsAnalysis/TopPhys/xAOD/TopJetSubstructure/CMakeLists.txt
+++ b/PhysicsAnalysis/TopPhys/xAOD/TopJetSubstructure/CMakeLists.txt
@@ -1,7 +1,5 @@
-# Auto-generated on: 2017-03-08 14:47:37.639679
-
 # Declare the name of this package:
-atlas_subdir( TopJetSubstructure None )
+atlas_subdir( TopJetSubstructure )
 
 # This package depends on other packages:
 atlas_depends_on_subdirs( PUBLIC
@@ -24,9 +22,6 @@ find_package( ROOT REQUIRED COMPONENTS Core Gpad Tree Hist RIO MathCore Graf )
 find_package( FastJet )
 find_package( FastJetContrib )
 
-# Custom definitions needed for this package:
-add_definitions( -g )
-
 # Build a library that other components can link against:
 atlas_add_library( TopJetSubstructure Root/*.cxx Root/*.h Root/*.icc
                    TopJetSubstructure/*.h TopJetSubstructure/*.icc TopJetSubstructure/*/*.h
diff --git a/PhysicsAnalysis/TopPhys/xAOD/TopObjectSelectionTools/CMakeLists.txt b/PhysicsAnalysis/TopPhys/xAOD/TopObjectSelectionTools/CMakeLists.txt
index fd5bbb17159..139045ae499 100644
--- a/PhysicsAnalysis/TopPhys/xAOD/TopObjectSelectionTools/CMakeLists.txt
+++ b/PhysicsAnalysis/TopPhys/xAOD/TopObjectSelectionTools/CMakeLists.txt
@@ -1,7 +1,5 @@
-# Auto-generated on: 2017-03-08 14:47:37.990954
-
 # Declare the name of this package:
-atlas_subdir( TopObjectSelectionTools None )
+atlas_subdir( TopObjectSelectionTools )
 
 # This package depends on other packages:
 atlas_depends_on_subdirs( PUBLIC
@@ -40,9 +38,6 @@ atlas_depends_on_subdirs( PUBLIC
 # This package uses ROOT:
 find_package( ROOT REQUIRED COMPONENTS Core Gpad Tree Hist RIO MathCore Graf )
 
-# Custom definitions needed for this package:
-add_definitions( -g )
-
 # Generate a CINT dictionary source file:
 atlas_add_root_dictionary( TopObjectSelectionTools _cintDictSource
                            ROOT_HEADERS Root/LinkDef.h
diff --git a/PhysicsAnalysis/TopPhys/xAOD/TopParticleLevel/CMakeLists.txt b/PhysicsAnalysis/TopPhys/xAOD/TopParticleLevel/CMakeLists.txt
index 1462dd37605..4ca1c02bfca 100644
--- a/PhysicsAnalysis/TopPhys/xAOD/TopParticleLevel/CMakeLists.txt
+++ b/PhysicsAnalysis/TopPhys/xAOD/TopParticleLevel/CMakeLists.txt
@@ -1,7 +1,5 @@
-# Auto-generated on: 2017-03-08 14:47:38.688787
-
 # Declare the name of this package:
-atlas_subdir( TopParticleLevel None )
+atlas_subdir( TopParticleLevel )
 
 # This package depends on other packages:
 atlas_depends_on_subdirs( PUBLIC
@@ -30,9 +28,6 @@ find_package( ROOT REQUIRED COMPONENTS Core Gpad Tree Hist RIO MathCore Graf )
 find_package( FastJet COMPONENTS fastjetplugins fastjettools )
 find_package( FastJetContrib COMPONENTS EnergyCorrelator Nsubjettiness )
 
-# Custom definitions needed for this package:
-add_definitions( -g )
-
 # Build a library that other components can link against:
 atlas_add_library( TopParticleLevel Root/*.cxx Root/*.h Root/*.icc
                    TopParticleLevel/*.h TopParticleLevel/*.icc TopParticleLevel/*/*.h
diff --git a/PhysicsAnalysis/TopPhys/xAOD/TopPartons/CMakeLists.txt b/PhysicsAnalysis/TopPhys/xAOD/TopPartons/CMakeLists.txt
index 6ca87a65978..d434650d2ff 100644
--- a/PhysicsAnalysis/TopPhys/xAOD/TopPartons/CMakeLists.txt
+++ b/PhysicsAnalysis/TopPhys/xAOD/TopPartons/CMakeLists.txt
@@ -1,7 +1,5 @@
-# Auto-generated on: 2017-03-08 14:47:38.930377
-
 # Declare the name of this package:
-atlas_subdir( TopPartons None )
+atlas_subdir( TopPartons )
 
 # This package depends on other packages:
 atlas_depends_on_subdirs( PUBLIC
@@ -15,9 +13,6 @@ atlas_depends_on_subdirs( PUBLIC
 # This package uses ROOT:
 find_package( ROOT REQUIRED COMPONENTS Core Gpad Tree Hist RIO MathCore TMVA Graf )
 
-# Custom definitions needed for this package:
-add_definitions( -g )
-
 # Generate a CINT dictionary source file:
 atlas_add_root_dictionary( TopPartons _cintDictSource
                            ROOT_HEADERS Root/LinkDef.h
diff --git a/PhysicsAnalysis/TopPhys/xAOD/TopSystematicObjectMaker/CMakeLists.txt b/PhysicsAnalysis/TopPhys/xAOD/TopSystematicObjectMaker/CMakeLists.txt
index e89acc744f3..7b3550af079 100644
--- a/PhysicsAnalysis/TopPhys/xAOD/TopSystematicObjectMaker/CMakeLists.txt
+++ b/PhysicsAnalysis/TopPhys/xAOD/TopSystematicObjectMaker/CMakeLists.txt
@@ -1,7 +1,5 @@
-# Auto-generated on: 2017-03-08 14:47:39.125284
-
 # Declare the name of this package:
-atlas_subdir( TopSystematicObjectMaker None )
+atlas_subdir( TopSystematicObjectMaker )
 
 # This package depends on other packages:
 atlas_depends_on_subdirs( PUBLIC
@@ -38,9 +36,6 @@ atlas_depends_on_subdirs( PUBLIC
 # This package uses ROOT:
 find_package( ROOT REQUIRED COMPONENTS Core Gpad Tree Hist RIO MathCore Graf )
 
-# Custom definitions needed for this package:
-add_definitions( -g )
-
 # Build a library that other components can link against:
 atlas_add_library( TopSystematicObjectMaker Root/*.cxx Root/*.h Root/*.icc
                    TopSystematicObjectMaker/*.h TopSystematicObjectMaker/*.icc TopSystematicObjectMaker/*/*.h
-- 
GitLab