From db16c66d2ce15b92d3c4f0e66d33aa1208a27fbf Mon Sep 17 00:00:00 2001
From: Simon Spannagel <simon.spannagel@cern.ch>
Date: Tue, 24 Jan 2023 09:06:49 +0100
Subject: [PATCH] Add copyright header to CMakeLists

---
 .clang-format                                        | 3 +++
 .dockerignore                                        | 3 +++
 src/modules/AlignmentDUTResidual/CMakeLists.txt      | 3 +++
 src/modules/AlignmentMillepede/CMakeLists.txt        | 3 +++
 src/modules/AlignmentTrackChi2/CMakeLists.txt        | 3 +++
 src/modules/AnalysisDUT/CMakeLists.txt               | 3 +++
 src/modules/AnalysisEfficiency/CMakeLists.txt        | 3 +++
 src/modules/AnalysisFASTPIX/CMakeLists.txt           | 3 +++
 src/modules/AnalysisMaterialBudget/CMakeLists.txt    | 3 +++
 src/modules/AnalysisParticleFlux/CMakeLists.txt      | 3 +++
 src/modules/AnalysisPowerPulsing/CMakeLists.txt      | 3 +++
 src/modules/AnalysisSensorEdge/CMakeLists.txt        | 3 +++
 src/modules/AnalysisTelescope/CMakeLists.txt         | 3 +++
 src/modules/AnalysisTimingATLASpix/CMakeLists.txt    | 3 +++
 src/modules/AnalysisTimingFASTPIX/CMakeLists.txt     | 3 +++
 src/modules/AnalysisTrackIntercept/CMakeLists.txt    | 3 +++
 src/modules/AnalysisTracks/CMakeLists.txt            | 3 +++
 src/modules/CMakeLists.txt                           | 3 +++
 src/modules/Clustering4D/CMakeLists.txt              | 3 +++
 src/modules/ClusteringAnalog/CMakeLists.txt          | 3 +++
 src/modules/ClusteringSpatial/CMakeLists.txt         | 3 +++
 src/modules/Correlations/CMakeLists.txt              | 3 +++
 src/modules/DUTAssociation/CMakeLists.txt            | 3 +++
 src/modules/Dummy/CMakeLists.txt                     | 3 +++
 src/modules/EtaCalculation/CMakeLists.txt            | 3 +++
 src/modules/EtaCorrection/CMakeLists.txt             | 3 +++
 src/modules/EventDefinitionM26/CMakeLists.txt        | 3 +++
 src/modules/EventLoaderALiBaVa/CMakeLists.txt        | 3 +++
 src/modules/EventLoaderATLASpix/CMakeLists.txt       | 3 +++
 src/modules/EventLoaderCLICpix/CMakeLists.txt        | 3 +++
 src/modules/EventLoaderCLICpix2/CMakeLists.txt       | 3 +++
 src/modules/EventLoaderEUDAQ/CMakeLists.txt          | 3 +++
 src/modules/EventLoaderEUDAQ2/CMakeLists.txt         | 3 +++
 src/modules/EventLoaderFASTPIX/CMakeLists.txt        | 3 +++
 src/modules/EventLoaderMuPixTelescope/CMakeLists.txt | 3 +++
 src/modules/EventLoaderTimepix1/CMakeLists.txt       | 3 +++
 src/modules/EventLoaderTimepix3/CMakeLists.txt       | 3 +++
 src/modules/EventLoaderTimestamp/CMakeLists.txt      | 3 +++
 src/modules/EventLoaderWaveform/CMakeLists.txt       | 3 +++
 src/modules/FileReader/CMakeLists.txt                | 3 +++
 src/modules/FileWriter/CMakeLists.txt                | 3 +++
 src/modules/FilterEvents/CMakeLists.txt              | 3 +++
 src/modules/ImproveReferenceTimestamp/CMakeLists.txt | 3 +++
 src/modules/JSONWriter/CMakeLists.txt                | 3 +++
 src/modules/MaskCreator/CMakeLists.txt               | 3 +++
 src/modules/MaskCreatorTimepix3/CMakeLists.txt       | 3 +++
 src/modules/Metronome/CMakeLists.txt                 | 3 +++
 src/modules/OnlineMonitor/CMakeLists.txt             | 3 +++
 src/modules/Prealignment/CMakeLists.txt              | 3 +++
 src/modules/TextWriter/CMakeLists.txt                | 3 +++
 src/modules/Tracking4D/CMakeLists.txt                | 3 +++
 src/modules/TrackingMultiplet/CMakeLists.txt         | 3 +++
 src/modules/TreeWriterDUT/CMakeLists.txt             | 3 +++
 53 files changed, 159 insertions(+)

diff --git a/.clang-format b/.clang-format
index 28f728744..3b2d9e566 100644
--- a/.clang-format
+++ b/.clang-format
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2021-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: CC0-1.0
+
 ---
 Language: Cpp
 BasedOnStyle: LLVM
diff --git a/.dockerignore b/.dockerignore
index 66e26ffd0..3874c7a50 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2021-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: CC0-1.0
+
 # exclude everything that is not relevant for Docker context
 *
 !3rdparty
diff --git a/src/modules/AlignmentDUTResidual/CMakeLists.txt b/src/modules/AlignmentDUTResidual/CMakeLists.txt
index 60efd2aef..2df896e53 100644
--- a/src/modules/AlignmentDUTResidual/CMakeLists.txt
+++ b/src/modules/AlignmentDUTResidual/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_DUT_MODULE(MODULE_NAME)
 
diff --git a/src/modules/AlignmentMillepede/CMakeLists.txt b/src/modules/AlignmentMillepede/CMakeLists.txt
index 0e21f07fe..118ed0c7c 100644
--- a/src/modules/AlignmentMillepede/CMakeLists.txt
+++ b/src/modules/AlignmentMillepede/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_GLOBAL_MODULE(MODULE_NAME)
 
diff --git a/src/modules/AlignmentTrackChi2/CMakeLists.txt b/src/modules/AlignmentTrackChi2/CMakeLists.txt
index a6e47d7f2..44e02750c 100644
--- a/src/modules/AlignmentTrackChi2/CMakeLists.txt
+++ b/src/modules/AlignmentTrackChi2/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_GLOBAL_MODULE(MODULE_NAME)
 
diff --git a/src/modules/AnalysisDUT/CMakeLists.txt b/src/modules/AnalysisDUT/CMakeLists.txt
index 9120cde75..3467105d8 100644
--- a/src/modules/AnalysisDUT/CMakeLists.txt
+++ b/src/modules/AnalysisDUT/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_DUT_MODULE(MODULE_NAME)
 
diff --git a/src/modules/AnalysisEfficiency/CMakeLists.txt b/src/modules/AnalysisEfficiency/CMakeLists.txt
index c3d79b2c0..f89f264b7 100644
--- a/src/modules/AnalysisEfficiency/CMakeLists.txt
+++ b/src/modules/AnalysisEfficiency/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_DUT_MODULE(MODULE_NAME)
 
diff --git a/src/modules/AnalysisFASTPIX/CMakeLists.txt b/src/modules/AnalysisFASTPIX/CMakeLists.txt
index 57c92e0a4..e75bc87ad 100644
--- a/src/modules/AnalysisFASTPIX/CMakeLists.txt
+++ b/src/modules/AnalysisFASTPIX/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_DETECTOR_MODULE(MODULE_NAME)
 CORRYVRECKAN_DETECTOR_TYPE(${MODULE_NAME} "FASTPIX")
diff --git a/src/modules/AnalysisMaterialBudget/CMakeLists.txt b/src/modules/AnalysisMaterialBudget/CMakeLists.txt
index 51256e8cd..8f6b58ff1 100644
--- a/src/modules/AnalysisMaterialBudget/CMakeLists.txt
+++ b/src/modules/AnalysisMaterialBudget/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_GLOBAL_MODULE(MODULE_NAME)
 
diff --git a/src/modules/AnalysisParticleFlux/CMakeLists.txt b/src/modules/AnalysisParticleFlux/CMakeLists.txt
index 87491b3f4..3fde50ff8 100644
--- a/src/modules/AnalysisParticleFlux/CMakeLists.txt
+++ b/src/modules/AnalysisParticleFlux/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_GLOBAL_MODULE(MODULE_NAME)
 
diff --git a/src/modules/AnalysisPowerPulsing/CMakeLists.txt b/src/modules/AnalysisPowerPulsing/CMakeLists.txt
index 42556ecb0..ab2406855 100644
--- a/src/modules/AnalysisPowerPulsing/CMakeLists.txt
+++ b/src/modules/AnalysisPowerPulsing/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_DUT_MODULE(MODULE_NAME)
 CORRYVRECKAN_DETECTOR_TYPE(${MODULE_NAME} "Timepix3")
diff --git a/src/modules/AnalysisSensorEdge/CMakeLists.txt b/src/modules/AnalysisSensorEdge/CMakeLists.txt
index dff09c0df..d463aacf2 100644
--- a/src/modules/AnalysisSensorEdge/CMakeLists.txt
+++ b/src/modules/AnalysisSensorEdge/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_DUT_MODULE(MODULE_NAME)
 
diff --git a/src/modules/AnalysisTelescope/CMakeLists.txt b/src/modules/AnalysisTelescope/CMakeLists.txt
index 9cffa89bb..bec7747b5 100644
--- a/src/modules/AnalysisTelescope/CMakeLists.txt
+++ b/src/modules/AnalysisTelescope/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_GLOBAL_MODULE(MODULE_NAME)
 
diff --git a/src/modules/AnalysisTimingATLASpix/CMakeLists.txt b/src/modules/AnalysisTimingATLASpix/CMakeLists.txt
index 8e554740e..6437fd354 100644
--- a/src/modules/AnalysisTimingATLASpix/CMakeLists.txt
+++ b/src/modules/AnalysisTimingATLASpix/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_DUT_MODULE(MODULE_NAME)
 CORRYVRECKAN_DETECTOR_TYPE(${MODULE_NAME} "ATLASpix")
diff --git a/src/modules/AnalysisTimingFASTPIX/CMakeLists.txt b/src/modules/AnalysisTimingFASTPIX/CMakeLists.txt
index c57ee7fa5..c6078ac63 100644
--- a/src/modules/AnalysisTimingFASTPIX/CMakeLists.txt
+++ b/src/modules/AnalysisTimingFASTPIX/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_DETECTOR_MODULE(MODULE_NAME)
 CORRYVRECKAN_DETECTOR_TYPE(${MODULE_NAME} "FASTPIX")
diff --git a/src/modules/AnalysisTrackIntercept/CMakeLists.txt b/src/modules/AnalysisTrackIntercept/CMakeLists.txt
index f658502dd..979b20df0 100644
--- a/src/modules/AnalysisTrackIntercept/CMakeLists.txt
+++ b/src/modules/AnalysisTrackIntercept/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_GLOBAL_MODULE(MODULE_NAME)
 
diff --git a/src/modules/AnalysisTracks/CMakeLists.txt b/src/modules/AnalysisTracks/CMakeLists.txt
index c8efc9045..eb9d81f60 100644
--- a/src/modules/AnalysisTracks/CMakeLists.txt
+++ b/src/modules/AnalysisTracks/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 CORRYVRECKAN_ENABLE_DEFAULT(ON)
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_GLOBAL_MODULE(MODULE_NAME)
diff --git a/src/modules/CMakeLists.txt b/src/modules/CMakeLists.txt
index 95b646afd..afe6e9e7f 100644
--- a/src/modules/CMakeLists.txt
+++ b/src/modules/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Option to build all modules
 OPTION(BUILD_ALL_MODULES "Build all modules?" OFF)
 
diff --git a/src/modules/Clustering4D/CMakeLists.txt b/src/modules/Clustering4D/CMakeLists.txt
index f11d2ea82..1509eced6 100644
--- a/src/modules/Clustering4D/CMakeLists.txt
+++ b/src/modules/Clustering4D/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_DETECTOR_MODULE(MODULE_NAME)
 CORRYVRECKAN_EXCLUDE_AUX(${MODULE_NAME})
diff --git a/src/modules/ClusteringAnalog/CMakeLists.txt b/src/modules/ClusteringAnalog/CMakeLists.txt
index 2e8718d50..9427b831b 100644
--- a/src/modules/ClusteringAnalog/CMakeLists.txt
+++ b/src/modules/ClusteringAnalog/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 CORRYVRECKAN_ENABLE_DEFAULT(ON)
 
 # Define module and return the generated name as MODULE_NAME
diff --git a/src/modules/ClusteringSpatial/CMakeLists.txt b/src/modules/ClusteringSpatial/CMakeLists.txt
index a4ea0da83..39c8ef5a9 100644
--- a/src/modules/ClusteringSpatial/CMakeLists.txt
+++ b/src/modules/ClusteringSpatial/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_DETECTOR_MODULE(MODULE_NAME)
 CORRYVRECKAN_EXCLUDE_AUX(${MODULE_NAME})
diff --git a/src/modules/Correlations/CMakeLists.txt b/src/modules/Correlations/CMakeLists.txt
index 3b183a5e7..83b6755cb 100644
--- a/src/modules/Correlations/CMakeLists.txt
+++ b/src/modules/Correlations/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_DETECTOR_MODULE(MODULE_NAME)
 CORRYVRECKAN_EXCLUDE_AUX(${MODULE_NAME})
diff --git a/src/modules/DUTAssociation/CMakeLists.txt b/src/modules/DUTAssociation/CMakeLists.txt
index 45754cecf..2b4bf1a7a 100644
--- a/src/modules/DUTAssociation/CMakeLists.txt
+++ b/src/modules/DUTAssociation/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_DUT_MODULE(MODULE_NAME)
 
diff --git a/src/modules/Dummy/CMakeLists.txt b/src/modules/Dummy/CMakeLists.txt
index aee45ea22..00ab42848 100644
--- a/src/modules/Dummy/CMakeLists.txt
+++ b/src/modules/Dummy/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_GLOBAL_MODULE(MODULE_NAME)
 
diff --git a/src/modules/EtaCalculation/CMakeLists.txt b/src/modules/EtaCalculation/CMakeLists.txt
index 09b7c3f42..221cd4700 100644
--- a/src/modules/EtaCalculation/CMakeLists.txt
+++ b/src/modules/EtaCalculation/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_DETECTOR_MODULE(MODULE_NAME)
 CORRYVRECKAN_EXCLUDE_AUX(${MODULE_NAME})
diff --git a/src/modules/EtaCorrection/CMakeLists.txt b/src/modules/EtaCorrection/CMakeLists.txt
index e395b2878..f417e0e7f 100644
--- a/src/modules/EtaCorrection/CMakeLists.txt
+++ b/src/modules/EtaCorrection/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_DETECTOR_MODULE(MODULE_NAME)
 CORRYVRECKAN_EXCLUDE_AUX(${MODULE_NAME})
diff --git a/src/modules/EventDefinitionM26/CMakeLists.txt b/src/modules/EventDefinitionM26/CMakeLists.txt
index d68de31fc..5f2d13de5 100644
--- a/src/modules/EventDefinitionM26/CMakeLists.txt
+++ b/src/modules/EventDefinitionM26/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 CORRYVRECKAN_ENABLE_DEFAULT(OFF)
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_GLOBAL_MODULE(MODULE_NAME)
diff --git a/src/modules/EventLoaderALiBaVa/CMakeLists.txt b/src/modules/EventLoaderALiBaVa/CMakeLists.txt
index 9cd401189..6c95ed445 100644
--- a/src/modules/EventLoaderALiBaVa/CMakeLists.txt
+++ b/src/modules/EventLoaderALiBaVa/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 CORRYVRECKAN_ENABLE_DEFAULT(OFF)
 CORRYVRECKAN_DETECTOR_TYPE(${MODULE_NAME} "ALiBaVa")
 
diff --git a/src/modules/EventLoaderATLASpix/CMakeLists.txt b/src/modules/EventLoaderATLASpix/CMakeLists.txt
index fff0a501c..d5af05daf 100644
--- a/src/modules/EventLoaderATLASpix/CMakeLists.txt
+++ b/src/modules/EventLoaderATLASpix/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_DETECTOR_MODULE(MODULE_NAME)
 CORRYVRECKAN_DETECTOR_TYPE(${MODULE_NAME} "ATLASpix")
diff --git a/src/modules/EventLoaderCLICpix/CMakeLists.txt b/src/modules/EventLoaderCLICpix/CMakeLists.txt
index fe4734afc..8b1f434c2 100644
--- a/src/modules/EventLoaderCLICpix/CMakeLists.txt
+++ b/src/modules/EventLoaderCLICpix/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_DETECTOR_MODULE(MODULE_NAME)
 CORRYVRECKAN_DETECTOR_TYPE(${MODULE_NAME} "CLICpix")
diff --git a/src/modules/EventLoaderCLICpix2/CMakeLists.txt b/src/modules/EventLoaderCLICpix2/CMakeLists.txt
index f9fe1c516..4153d6316 100644
--- a/src/modules/EventLoaderCLICpix2/CMakeLists.txt
+++ b/src/modules/EventLoaderCLICpix2/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_DETECTOR_MODULE(MODULE_NAME)
 CORRYVRECKAN_DETECTOR_TYPE(${MODULE_NAME} "CLICpix2")
diff --git a/src/modules/EventLoaderEUDAQ/CMakeLists.txt b/src/modules/EventLoaderEUDAQ/CMakeLists.txt
index a19ca83a6..0376d395a 100644
--- a/src/modules/EventLoaderEUDAQ/CMakeLists.txt
+++ b/src/modules/EventLoaderEUDAQ/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 CORRYVRECKAN_ENABLE_DEFAULT(OFF)
 
 # Define module and return the generated name as MODULE_NAME
diff --git a/src/modules/EventLoaderEUDAQ2/CMakeLists.txt b/src/modules/EventLoaderEUDAQ2/CMakeLists.txt
index 0b9a4b659..8e70da6cb 100644
--- a/src/modules/EventLoaderEUDAQ2/CMakeLists.txt
+++ b/src/modules/EventLoaderEUDAQ2/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 CORRYVRECKAN_ENABLE_DEFAULT(OFF)
 
 # Define module and return the generated name as MODULE_NAME
diff --git a/src/modules/EventLoaderFASTPIX/CMakeLists.txt b/src/modules/EventLoaderFASTPIX/CMakeLists.txt
index 977f854fd..55bfe6bc6 100644
--- a/src/modules/EventLoaderFASTPIX/CMakeLists.txt
+++ b/src/modules/EventLoaderFASTPIX/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_DETECTOR_MODULE(MODULE_NAME)
 CORRYVRECKAN_DETECTOR_TYPE(${MODULE_NAME} "FASTPIX")
diff --git a/src/modules/EventLoaderMuPixTelescope/CMakeLists.txt b/src/modules/EventLoaderMuPixTelescope/CMakeLists.txt
index ccc1e2153..94e0125d6 100644
--- a/src/modules/EventLoaderMuPixTelescope/CMakeLists.txt
+++ b/src/modules/EventLoaderMuPixTelescope/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 CORRYVRECKAN_ENABLE_DEFAULT(OFF)
 
 # Define module and return the generated name as MODULE_NAME
diff --git a/src/modules/EventLoaderTimepix1/CMakeLists.txt b/src/modules/EventLoaderTimepix1/CMakeLists.txt
index c4a955a91..6735e530d 100644
--- a/src/modules/EventLoaderTimepix1/CMakeLists.txt
+++ b/src/modules/EventLoaderTimepix1/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_GLOBAL_MODULE(MODULE_NAME)
 
diff --git a/src/modules/EventLoaderTimepix3/CMakeLists.txt b/src/modules/EventLoaderTimepix3/CMakeLists.txt
index bd1cfbc80..23fddb2b7 100644
--- a/src/modules/EventLoaderTimepix3/CMakeLists.txt
+++ b/src/modules/EventLoaderTimepix3/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_DETECTOR_MODULE(MODULE_NAME)
 CORRYVRECKAN_DETECTOR_TYPE(${MODULE_NAME} "Timepix3")
diff --git a/src/modules/EventLoaderTimestamp/CMakeLists.txt b/src/modules/EventLoaderTimestamp/CMakeLists.txt
index dd78129c6..d37ff87b2 100644
--- a/src/modules/EventLoaderTimestamp/CMakeLists.txt
+++ b/src/modules/EventLoaderTimestamp/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_DETECTOR_MODULE(MODULE_NAME)
 CORRYVRECKAN_DETECTOR_TYPE(${MODULE_NAME} "Timepix3")
diff --git a/src/modules/EventLoaderWaveform/CMakeLists.txt b/src/modules/EventLoaderWaveform/CMakeLists.txt
index 4357c1f6a..33e9b7d6a 100644
--- a/src/modules/EventLoaderWaveform/CMakeLists.txt
+++ b/src/modules/EventLoaderWaveform/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_DETECTOR_MODULE(MODULE_NAME)
 CORRYVRECKAN_DETECTOR_TYPE(${MODULE_NAME} "waveform")
diff --git a/src/modules/FileReader/CMakeLists.txt b/src/modules/FileReader/CMakeLists.txt
index d2e9a59f2..a7202934a 100644
--- a/src/modules/FileReader/CMakeLists.txt
+++ b/src/modules/FileReader/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module
 CORRYVRECKAN_GLOBAL_MODULE(MODULE_NAME)
 
diff --git a/src/modules/FileWriter/CMakeLists.txt b/src/modules/FileWriter/CMakeLists.txt
index fdb9f7151..82fa87796 100644
--- a/src/modules/FileWriter/CMakeLists.txt
+++ b/src/modules/FileWriter/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module
 CORRYVRECKAN_GLOBAL_MODULE(MODULE_NAME)
 
diff --git a/src/modules/FilterEvents/CMakeLists.txt b/src/modules/FilterEvents/CMakeLists.txt
index b7d935429..6741c1606 100644
--- a/src/modules/FilterEvents/CMakeLists.txt
+++ b/src/modules/FilterEvents/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_GLOBAL_MODULE(MODULE_NAME)
 
diff --git a/src/modules/ImproveReferenceTimestamp/CMakeLists.txt b/src/modules/ImproveReferenceTimestamp/CMakeLists.txt
index ce4c595a1..3cfe9b22a 100644
--- a/src/modules/ImproveReferenceTimestamp/CMakeLists.txt
+++ b/src/modules/ImproveReferenceTimestamp/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_GLOBAL_MODULE(MODULE_NAME)
 
diff --git a/src/modules/JSONWriter/CMakeLists.txt b/src/modules/JSONWriter/CMakeLists.txt
index 37078d3e6..db5635537 100644
--- a/src/modules/JSONWriter/CMakeLists.txt
+++ b/src/modules/JSONWriter/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_GLOBAL_MODULE(MODULE_NAME)
 
diff --git a/src/modules/MaskCreator/CMakeLists.txt b/src/modules/MaskCreator/CMakeLists.txt
index 8bc8c9a82..4e536f203 100644
--- a/src/modules/MaskCreator/CMakeLists.txt
+++ b/src/modules/MaskCreator/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_DETECTOR_MODULE(MODULE_NAME)
 CORRYVRECKAN_EXCLUDE_AUX(${MODULE_NAME})
diff --git a/src/modules/MaskCreatorTimepix3/CMakeLists.txt b/src/modules/MaskCreatorTimepix3/CMakeLists.txt
index 7924a38d3..1ca09f735 100644
--- a/src/modules/MaskCreatorTimepix3/CMakeLists.txt
+++ b/src/modules/MaskCreatorTimepix3/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_DETECTOR_MODULE(MODULE_NAME)
 CORRYVRECKAN_DETECTOR_TYPE(${MODULE_NAME} "Timepix3")
diff --git a/src/modules/Metronome/CMakeLists.txt b/src/modules/Metronome/CMakeLists.txt
index 237476f4f..d6fc28e38 100644
--- a/src/modules/Metronome/CMakeLists.txt
+++ b/src/modules/Metronome/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_GLOBAL_MODULE(MODULE_NAME)
 
diff --git a/src/modules/OnlineMonitor/CMakeLists.txt b/src/modules/OnlineMonitor/CMakeLists.txt
index 46d97097b..b479399eb 100644
--- a/src/modules/OnlineMonitor/CMakeLists.txt
+++ b/src/modules/OnlineMonitor/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_GLOBAL_MODULE(MODULE_NAME)
 
diff --git a/src/modules/Prealignment/CMakeLists.txt b/src/modules/Prealignment/CMakeLists.txt
index 341c3c171..c8edaf287 100644
--- a/src/modules/Prealignment/CMakeLists.txt
+++ b/src/modules/Prealignment/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_DETECTOR_MODULE(MODULE_NAME)
 CORRYVRECKAN_EXCLUDE_AUX(${MODULE_NAME})
diff --git a/src/modules/TextWriter/CMakeLists.txt b/src/modules/TextWriter/CMakeLists.txt
index c0b1e3c2e..9b0679310 100644
--- a/src/modules/TextWriter/CMakeLists.txt
+++ b/src/modules/TextWriter/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_GLOBAL_MODULE(MODULE_NAME)
 
diff --git a/src/modules/Tracking4D/CMakeLists.txt b/src/modules/Tracking4D/CMakeLists.txt
index 82985405b..c10d90a2f 100644
--- a/src/modules/Tracking4D/CMakeLists.txt
+++ b/src/modules/Tracking4D/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_GLOBAL_MODULE(MODULE_NAME)
 
diff --git a/src/modules/TrackingMultiplet/CMakeLists.txt b/src/modules/TrackingMultiplet/CMakeLists.txt
index 414698451..4d14f5e3c 100644
--- a/src/modules/TrackingMultiplet/CMakeLists.txt
+++ b/src/modules/TrackingMultiplet/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_GLOBAL_MODULE(MODULE_NAME)
 
diff --git a/src/modules/TreeWriterDUT/CMakeLists.txt b/src/modules/TreeWriterDUT/CMakeLists.txt
index 9e82bcfdc..561e5b430 100644
--- a/src/modules/TreeWriterDUT/CMakeLists.txt
+++ b/src/modules/TreeWriterDUT/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2017-2022 CERN and the Corryvreckan authors
+# SPDX-License-Identifier: MIT
+
 # Define module and return the generated name as MODULE_NAME
 CORRYVRECKAN_DUT_MODULE(MODULE_NAME)
 
-- 
GitLab