From bf0df30b9c89a954d475639e781d5676c385cc5e Mon Sep 17 00:00:00 2001 From: Vakho Tsulaia <tsulaia@cern.ch> Date: Thu, 17 Apr 2025 09:14:43 -0700 Subject: [PATCH] Do cmake_minimum_required centrally in one single place --- CMakeLists.txt | 2 +- FSL/CMakeLists.txt | 1 - FullSimLight/CMakeLists.txt | 1 - FullSimLight/Plugins/CMakeLists.txt | 1 - .../FSLExamplePrimaryGeneratorPlugin/CMakeLists.txt | 1 - .../UniformMagneticFieldPlugin/CMakeLists.txt | 1 - .../PhysicsListPlugins/FSLTestPhysListPlugins/CMakeLists.txt | 1 - .../Examples/SensitiveDetectorPlugins/SDPlugin/CMakeLists.txt | 1 - FullSimLight/Plugins/Examples/UserActionPlugins/CMakeLists.txt | 1 - .../UserActionPlugins/DummyUserActionPlugin/CMakeLists.txt | 1 - .../DummyUserActionPlugin/DummyUserActionsPlugin/CMakeLists.txt | 1 - FullSimLight/Plugins/HitsPlugin/CMakeLists.txt | 1 - FullSimLight/Plugins/TracksPlugin/CMakeLists.txt | 1 - FullSimLight/perf/CMakeLists.txt | 1 - GeoModelCore/CMakeLists.txt | 1 - GeoModelExamples/CMakeLists.txt | 1 - GeoModelExamples/GeoActions/CMakeLists.txt | 1 - GeoModelExamples/GeoActionsCountNodes/CMakeLists.txt | 1 - GeoModelExamples/GeoFullPhysVol/CMakeLists.txt | 1 - GeoModelExamples/GeoShapeExamples/CMakeLists.txt | 1 - GeoModelExamples/GeoShiftUnion/CMakeLists.txt | 1 - GeoModelExamples/GeoTessellatedSolidExamples/CMakeLists.txt | 1 - GeoModelExamples/HelloDummyMaterial/CMakeLists.txt | 1 - GeoModelExamples/HelloGeo/CMakeLists.txt | 1 - GeoModelExamples/HelloGeoRead/CMakeLists.txt | 1 - GeoModelExamples/HelloGeoRead2G4/CMakeLists.txt | 1 - GeoModelExamples/HelloGeoReadNodeAction/CMakeLists.txt | 1 - GeoModelExamples/HelloGeoWrite/CMakeLists.txt | 1 - GeoModelExamples/HelloGeoWriteReadWrite/CMakeLists.txt | 1 - GeoModelExamples/HelloGeoWrite_direct_noHelpers/CMakeLists.txt | 1 - GeoModelExamples/HelloToy/CMakeLists.txt | 1 - GeoModelExamples/HelloToyDetectorFactory/CMakeLists.txt | 1 - GeoModelExamples/HelloToyWrite/CMakeLists.txt | 1 - GeoModelExamples/HelloToyXML/CMakeLists.txt | 1 - GeoModelExamples/KitchenSinkPlugin/CMakeLists.txt | 1 - GeoModelExamples/MinimalPlugin/CMakeLists.txt | 1 - GeoModelExamples/NestedVolumes/CMakeLists.txt | 1 - GeoModelExamples/SharedNodes/CMakeLists.txt | 1 - GeoModelExamples/SiliconSystemExample/CMakeLists.txt | 1 - GeoModelExamples/SurfAlignTestPlugin/CMakeLists.txt | 1 - GeoModelExamples/SurfAnnulusDemo/CMakeLists.txt | 1 - GeoModelExamples/SurfDiamond/CMakeLists.txt | 1 - GeoModelExamples/SurfaceTestPlugin/CMakeLists.txt | 1 - GeoModelG4/CMakeLists.txt | 1 - GeoModelG4/GeoMaterial2G4/CMakeLists.txt | 1 - GeoModelG4/GeoModel2G4/CMakeLists.txt | 1 - .../GeoModelRead/examples/hellogeo/CMakeLists.txt.example | 1 - GeoModelTools/CMakeLists.txt | 1 - GeoModelVisualization/CMakeLists.txt | 1 - documentation/docs/fullsimlight/plugins/index.md | 1 - 50 files changed, 1 insertion(+), 50 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 50b4f7282..60e06c8b1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ # Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration # === Preamble === -cmake_minimum_required(VERSION 3.16...3.26) +cmake_minimum_required(VERSION 3.16) # === Project's settings === include( ${CMAKE_CURRENT_SOURCE_DIR}/cmake/GeoModel-version.cmake ) diff --git a/FSL/CMakeLists.txt b/FSL/CMakeLists.txt index ab5f32257..02c10976f 100644 --- a/FSL/CMakeLists.txt +++ b/FSL/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required(VERSION 3.16...3.26) project(fsl VERSION 0.1 LANGUAGES CXX) diff --git a/FullSimLight/CMakeLists.txt b/FullSimLight/CMakeLists.txt index ffe89491c..706d4b1e1 100644 --- a/FullSimLight/CMakeLists.txt +++ b/FullSimLight/CMakeLists.txt @@ -1,7 +1,6 @@ # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration # CMake settings -cmake_minimum_required(VERSION 3.16...3.26) file( GLOB MANPAGES man/man1/* ) diff --git a/FullSimLight/Plugins/CMakeLists.txt b/FullSimLight/Plugins/CMakeLists.txt index 3fccb0bd3..ae5b41f3b 100644 --- a/FullSimLight/Plugins/CMakeLists.txt +++ b/FullSimLight/Plugins/CMakeLists.txt @@ -1,7 +1,6 @@ # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration # CMake settings -cmake_minimum_required(VERSION 3.16...3.26) # Dummy call to 'project()', needed to set 'PROJECT_SOURCE_DIR' project( "Plugins" ) diff --git a/FullSimLight/Plugins/Examples/EventGeneratorPlugins/FSLExamplePrimaryGeneratorPlugin/CMakeLists.txt b/FullSimLight/Plugins/Examples/EventGeneratorPlugins/FSLExamplePrimaryGeneratorPlugin/CMakeLists.txt index a7966a15a..e79cd7ba2 100644 --- a/FullSimLight/Plugins/Examples/EventGeneratorPlugins/FSLExamplePrimaryGeneratorPlugin/CMakeLists.txt +++ b/FullSimLight/Plugins/Examples/EventGeneratorPlugins/FSLExamplePrimaryGeneratorPlugin/CMakeLists.txt @@ -1,5 +1,4 @@ # Set up the project. -cmake_minimum_required(VERSION 3.16...3.26) project( "ExamplePrimaryGeneratorPlugin" ) diff --git a/FullSimLight/Plugins/Examples/MagneticFieldPlugins/UniformMagneticFieldPlugin/CMakeLists.txt b/FullSimLight/Plugins/Examples/MagneticFieldPlugins/UniformMagneticFieldPlugin/CMakeLists.txt index b341f8021..40d458c7c 100644 --- a/FullSimLight/Plugins/Examples/MagneticFieldPlugins/UniformMagneticFieldPlugin/CMakeLists.txt +++ b/FullSimLight/Plugins/Examples/MagneticFieldPlugins/UniformMagneticFieldPlugin/CMakeLists.txt @@ -1,5 +1,4 @@ # Set up the project. -cmake_minimum_required(VERSION 3.16...3.26) project( "UniformMagneticFieldPlugin" ) diff --git a/FullSimLight/Plugins/Examples/PhysicsListPlugins/FSLTestPhysListPlugins/CMakeLists.txt b/FullSimLight/Plugins/Examples/PhysicsListPlugins/FSLTestPhysListPlugins/CMakeLists.txt index 9f3df39dc..d1b319b47 100644 --- a/FullSimLight/Plugins/Examples/PhysicsListPlugins/FSLTestPhysListPlugins/CMakeLists.txt +++ b/FullSimLight/Plugins/Examples/PhysicsListPlugins/FSLTestPhysListPlugins/CMakeLists.txt @@ -1,5 +1,4 @@ # Set up the project. -cmake_minimum_required(VERSION 3.16...3.26) project( "TestPhysicsListPlugin" ) diff --git a/FullSimLight/Plugins/Examples/SensitiveDetectorPlugins/SDPlugin/CMakeLists.txt b/FullSimLight/Plugins/Examples/SensitiveDetectorPlugins/SDPlugin/CMakeLists.txt index bccb8a35e..484109178 100644 --- a/FullSimLight/Plugins/Examples/SensitiveDetectorPlugins/SDPlugin/CMakeLists.txt +++ b/FullSimLight/Plugins/Examples/SensitiveDetectorPlugins/SDPlugin/CMakeLists.txt @@ -1,5 +1,4 @@ # Set up the project. -cmake_minimum_required(VERSION 3.16...3.26) project( "SDPlugin" ) diff --git a/FullSimLight/Plugins/Examples/UserActionPlugins/CMakeLists.txt b/FullSimLight/Plugins/Examples/UserActionPlugins/CMakeLists.txt index 436fd3c3c..9010d44fd 100644 --- a/FullSimLight/Plugins/Examples/UserActionPlugins/CMakeLists.txt +++ b/FullSimLight/Plugins/Examples/UserActionPlugins/CMakeLists.txt @@ -1,7 +1,6 @@ # (C) 2002-2022 CERN for the benefit of the ATLAS collaboration # Set up the project. -cmake_minimum_required(VERSION 3.16...3.26) project( "UserActionsPlugins" ) #Set up the project. Check if we build it with GeoModel or individually diff --git a/FullSimLight/Plugins/Examples/UserActionPlugins/DummyUserActionPlugin/CMakeLists.txt b/FullSimLight/Plugins/Examples/UserActionPlugins/DummyUserActionPlugin/CMakeLists.txt index 865f4e10b..ab26eb5d6 100644 --- a/FullSimLight/Plugins/Examples/UserActionPlugins/DummyUserActionPlugin/CMakeLists.txt +++ b/FullSimLight/Plugins/Examples/UserActionPlugins/DummyUserActionPlugin/CMakeLists.txt @@ -1,5 +1,4 @@ # Set up the project. -cmake_minimum_required(VERSION 3.16...3.26) project( "DummyUserActionPlugin" ) diff --git a/FullSimLight/Plugins/Examples/UserActionPlugins/DummyUserActionPlugin/DummyUserActionsPlugin/CMakeLists.txt b/FullSimLight/Plugins/Examples/UserActionPlugins/DummyUserActionPlugin/DummyUserActionsPlugin/CMakeLists.txt index 0d1fcd998..c2ab27c1a 100644 --- a/FullSimLight/Plugins/Examples/UserActionPlugins/DummyUserActionPlugin/DummyUserActionsPlugin/CMakeLists.txt +++ b/FullSimLight/Plugins/Examples/UserActionPlugins/DummyUserActionPlugin/DummyUserActionsPlugin/CMakeLists.txt @@ -1,6 +1,5 @@ # Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration # Set up the project. -cmake_minimum_required(VERSION 3.16...3.26) project( "DummyUserActionsPlugin" ) diff --git a/FullSimLight/Plugins/HitsPlugin/CMakeLists.txt b/FullSimLight/Plugins/HitsPlugin/CMakeLists.txt index 43ff7def3..7f8bb0f9f 100644 --- a/FullSimLight/Plugins/HitsPlugin/CMakeLists.txt +++ b/FullSimLight/Plugins/HitsPlugin/CMakeLists.txt @@ -1,5 +1,4 @@ # Set up the project. -cmake_minimum_required(VERSION 3.16...3.26) project( "GenerateHitsPlugin" ) diff --git a/FullSimLight/Plugins/TracksPlugin/CMakeLists.txt b/FullSimLight/Plugins/TracksPlugin/CMakeLists.txt index 0be93559a..828bf9430 100644 --- a/FullSimLight/Plugins/TracksPlugin/CMakeLists.txt +++ b/FullSimLight/Plugins/TracksPlugin/CMakeLists.txt @@ -1,5 +1,4 @@ # Set up the project. -cmake_minimum_required(VERSION 3.16...3.26) project( "GenerateTracksPlugin" ) diff --git a/FullSimLight/perf/CMakeLists.txt b/FullSimLight/perf/CMakeLists.txt index c4d585389..1714924d9 100644 --- a/FullSimLight/perf/CMakeLists.txt +++ b/FullSimLight/perf/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required(VERSION 3.16...3.26) project(FullSimLightPerf) diff --git a/GeoModelCore/CMakeLists.txt b/GeoModelCore/CMakeLists.txt index 4a8c37c04..3bcfb3f56 100644 --- a/GeoModelCore/CMakeLists.txt +++ b/GeoModelCore/CMakeLists.txt @@ -1,7 +1,6 @@ # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration # Set up the (sub-)project. -cmake_minimum_required(VERSION 3.16...3.26) #project( "GeoModelCore" VERSION 4.1.0 LANGUAGES CXX ) project( "GeoModelCore" VERSION ${GeoModel_VERSION} LANGUAGES CXX ) diff --git a/GeoModelExamples/CMakeLists.txt b/GeoModelExamples/CMakeLists.txt index c3071f150..0bc13a5fd 100644 --- a/GeoModelExamples/CMakeLists.txt +++ b/GeoModelExamples/CMakeLists.txt @@ -6,7 +6,6 @@ ################################################################################ # Set up the project. -cmake_minimum_required(VERSION 3.16...3.26) project( "GeoModelExamples" VERSION 4.1.0 LANGUAGES CXX ) # Getting-started examples diff --git a/GeoModelExamples/GeoActions/CMakeLists.txt b/GeoModelExamples/GeoActions/CMakeLists.txt index 5de3ebfac..393ae17c4 100644 --- a/GeoModelExamples/GeoActions/CMakeLists.txt +++ b/GeoModelExamples/GeoActions/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - Nov, 2018 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) #project(GeoActions) diff --git a/GeoModelExamples/GeoActionsCountNodes/CMakeLists.txt b/GeoModelExamples/GeoActionsCountNodes/CMakeLists.txt index a5419c636..383d6ea00 100644 --- a/GeoModelExamples/GeoActionsCountNodes/CMakeLists.txt +++ b/GeoModelExamples/GeoActionsCountNodes/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - Jan, 2023 ################################################################################ -cmake_minimum_required(VERSION 3.1.0) project(GeoActionsCountingNodes) diff --git a/GeoModelExamples/GeoFullPhysVol/CMakeLists.txt b/GeoModelExamples/GeoFullPhysVol/CMakeLists.txt index cf0c93517..837bd6354 100644 --- a/GeoModelExamples/GeoFullPhysVol/CMakeLists.txt +++ b/GeoModelExamples/GeoFullPhysVol/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - Aug, 2020 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) #project(GeoFullPhysVolEx) diff --git a/GeoModelExamples/GeoShapeExamples/CMakeLists.txt b/GeoModelExamples/GeoShapeExamples/CMakeLists.txt index 86162d7a3..a8e3e1440 100644 --- a/GeoModelExamples/GeoShapeExamples/CMakeLists.txt +++ b/GeoModelExamples/GeoShapeExamples/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - Nov, 2018 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) #project(GeoShapeExamples) diff --git a/GeoModelExamples/GeoShiftUnion/CMakeLists.txt b/GeoModelExamples/GeoShiftUnion/CMakeLists.txt index d461bb5b7..3d3556275 100644 --- a/GeoModelExamples/GeoShiftUnion/CMakeLists.txt +++ b/GeoModelExamples/GeoShiftUnion/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - Nov, 2018 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) #project(GeoShiftUnion) diff --git a/GeoModelExamples/GeoTessellatedSolidExamples/CMakeLists.txt b/GeoModelExamples/GeoTessellatedSolidExamples/CMakeLists.txt index a630d513a..118deebfa 100644 --- a/GeoModelExamples/GeoTessellatedSolidExamples/CMakeLists.txt +++ b/GeoModelExamples/GeoTessellatedSolidExamples/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - Sep, 2019 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) #project(GeoTessellatedSolidExample) diff --git a/GeoModelExamples/HelloDummyMaterial/CMakeLists.txt b/GeoModelExamples/HelloDummyMaterial/CMakeLists.txt index 3fd4c6bb3..577ad715b 100644 --- a/GeoModelExamples/HelloDummyMaterial/CMakeLists.txt +++ b/GeoModelExamples/HelloDummyMaterial/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - Nov, 2019 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) #project(HelloDummyMaterial) diff --git a/GeoModelExamples/HelloGeo/CMakeLists.txt b/GeoModelExamples/HelloGeo/CMakeLists.txt index 92702a18c..4f73711aa 100644 --- a/GeoModelExamples/HelloGeo/CMakeLists.txt +++ b/GeoModelExamples/HelloGeo/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - Nov, 2018 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) # Compile with C++17 set(CMAKE_CXX_STANDARD_REQUIRED ON) diff --git a/GeoModelExamples/HelloGeoRead/CMakeLists.txt b/GeoModelExamples/HelloGeoRead/CMakeLists.txt index 9ab5fcfb4..de02df3e1 100644 --- a/GeoModelExamples/HelloGeoRead/CMakeLists.txt +++ b/GeoModelExamples/HelloGeoRead/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - Nov, 2018 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) project(HelloGeoRead) diff --git a/GeoModelExamples/HelloGeoRead2G4/CMakeLists.txt b/GeoModelExamples/HelloGeoRead2G4/CMakeLists.txt index db4e5b1ec..4ed4a323d 100644 --- a/GeoModelExamples/HelloGeoRead2G4/CMakeLists.txt +++ b/GeoModelExamples/HelloGeoRead2G4/CMakeLists.txt @@ -6,7 +6,6 @@ # update: Riccardo Maria BIANCHI @ CERN - Jul, 2023 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) project(HelloGeoRead2G4) diff --git a/GeoModelExamples/HelloGeoReadNodeAction/CMakeLists.txt b/GeoModelExamples/HelloGeoReadNodeAction/CMakeLists.txt index d304a4f31..d05f18aa0 100644 --- a/GeoModelExamples/HelloGeoReadNodeAction/CMakeLists.txt +++ b/GeoModelExamples/HelloGeoReadNodeAction/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - May, 2022 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) #project(HelloGeoRead) diff --git a/GeoModelExamples/HelloGeoWrite/CMakeLists.txt b/GeoModelExamples/HelloGeoWrite/CMakeLists.txt index fc12752a2..0f21a39ad 100644 --- a/GeoModelExamples/HelloGeoWrite/CMakeLists.txt +++ b/GeoModelExamples/HelloGeoWrite/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - Nov, 2018 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) project(HelloGeoWrite) diff --git a/GeoModelExamples/HelloGeoWriteReadWrite/CMakeLists.txt b/GeoModelExamples/HelloGeoWriteReadWrite/CMakeLists.txt index 3e927f6ca..3acff84a9 100644 --- a/GeoModelExamples/HelloGeoWriteReadWrite/CMakeLists.txt +++ b/GeoModelExamples/HelloGeoWriteReadWrite/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - May, 2022 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) #project(HelloGeoWrite) diff --git a/GeoModelExamples/HelloGeoWrite_direct_noHelpers/CMakeLists.txt b/GeoModelExamples/HelloGeoWrite_direct_noHelpers/CMakeLists.txt index 23a6df786..b42d29a25 100644 --- a/GeoModelExamples/HelloGeoWrite_direct_noHelpers/CMakeLists.txt +++ b/GeoModelExamples/HelloGeoWrite_direct_noHelpers/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - Nov, 2018 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) #project(HelloGeoWrite) diff --git a/GeoModelExamples/HelloToy/CMakeLists.txt b/GeoModelExamples/HelloToy/CMakeLists.txt index b522ec325..f5c0fdcbb 100644 --- a/GeoModelExamples/HelloToy/CMakeLists.txt +++ b/GeoModelExamples/HelloToy/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - Aug, 2020 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) #project(HelloToy) diff --git a/GeoModelExamples/HelloToyDetectorFactory/CMakeLists.txt b/GeoModelExamples/HelloToyDetectorFactory/CMakeLists.txt index 48085e109..888b22f56 100644 --- a/GeoModelExamples/HelloToyDetectorFactory/CMakeLists.txt +++ b/GeoModelExamples/HelloToyDetectorFactory/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - Nov, 2018 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) #project(HelloToyDetectorFactory) diff --git a/GeoModelExamples/HelloToyWrite/CMakeLists.txt b/GeoModelExamples/HelloToyWrite/CMakeLists.txt index a078f162b..2ca485e8a 100644 --- a/GeoModelExamples/HelloToyWrite/CMakeLists.txt +++ b/GeoModelExamples/HelloToyWrite/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - Aug, 2020 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) project(HelloToyWrite) diff --git a/GeoModelExamples/HelloToyXML/CMakeLists.txt b/GeoModelExamples/HelloToyXML/CMakeLists.txt index 53544575b..9e1b0d9d1 100644 --- a/GeoModelExamples/HelloToyXML/CMakeLists.txt +++ b/GeoModelExamples/HelloToyXML/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - Aug, 2020 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) project(HelloToyXML) diff --git a/GeoModelExamples/KitchenSinkPlugin/CMakeLists.txt b/GeoModelExamples/KitchenSinkPlugin/CMakeLists.txt index aee0bee56..bb0feeb99 100644 --- a/GeoModelExamples/KitchenSinkPlugin/CMakeLists.txt +++ b/GeoModelExamples/KitchenSinkPlugin/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - Nov, 2018 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) # Compile with C++17 set(CMAKE_CXX_STANDARD_REQUIRED ON) diff --git a/GeoModelExamples/MinimalPlugin/CMakeLists.txt b/GeoModelExamples/MinimalPlugin/CMakeLists.txt index 47c628b37..9ff94da8f 100644 --- a/GeoModelExamples/MinimalPlugin/CMakeLists.txt +++ b/GeoModelExamples/MinimalPlugin/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - May, 2022 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) # Compile with C++17 set(CMAKE_CXX_STANDARD_REQUIRED ON) diff --git a/GeoModelExamples/NestedVolumes/CMakeLists.txt b/GeoModelExamples/NestedVolumes/CMakeLists.txt index 57dbe8aba..59417aa3b 100644 --- a/GeoModelExamples/NestedVolumes/CMakeLists.txt +++ b/GeoModelExamples/NestedVolumes/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - Nov, 2018 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) #project(HelloGeoWrite) diff --git a/GeoModelExamples/SharedNodes/CMakeLists.txt b/GeoModelExamples/SharedNodes/CMakeLists.txt index d23cd796c..a033fad24 100644 --- a/GeoModelExamples/SharedNodes/CMakeLists.txt +++ b/GeoModelExamples/SharedNodes/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - May, 2022 ################################################################################ -cmake_minimum_required(VERSION 3.1.0) project(SharedNodes) diff --git a/GeoModelExamples/SiliconSystemExample/CMakeLists.txt b/GeoModelExamples/SiliconSystemExample/CMakeLists.txt index ae8ef96ee..2462fa5c2 100644 --- a/GeoModelExamples/SiliconSystemExample/CMakeLists.txt +++ b/GeoModelExamples/SiliconSystemExample/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - Nov, 2018 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) # Compile with C++17 set(CMAKE_CXX_STANDARD_REQUIRED ON) diff --git a/GeoModelExamples/SurfAlignTestPlugin/CMakeLists.txt b/GeoModelExamples/SurfAlignTestPlugin/CMakeLists.txt index 687ff0be1..180715d2d 100644 --- a/GeoModelExamples/SurfAlignTestPlugin/CMakeLists.txt +++ b/GeoModelExamples/SurfAlignTestPlugin/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - Nov, 2018 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) # Compile with C++17 set(CMAKE_CXX_STANDARD_REQUIRED ON) diff --git a/GeoModelExamples/SurfAnnulusDemo/CMakeLists.txt b/GeoModelExamples/SurfAnnulusDemo/CMakeLists.txt index 87a4c98ba..cae90e46b 100644 --- a/GeoModelExamples/SurfAnnulusDemo/CMakeLists.txt +++ b/GeoModelExamples/SurfAnnulusDemo/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required(VERSION 3.16...3.26) # Compile with C++17 set(CMAKE_CXX_STANDARD_REQUIRED ON) diff --git a/GeoModelExamples/SurfDiamond/CMakeLists.txt b/GeoModelExamples/SurfDiamond/CMakeLists.txt index 6542f7488..a9b39babc 100644 --- a/GeoModelExamples/SurfDiamond/CMakeLists.txt +++ b/GeoModelExamples/SurfDiamond/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required(VERSION 3.16...3.26) # Compile with C++17 set(CMAKE_CXX_STANDARD_REQUIRED ON) diff --git a/GeoModelExamples/SurfaceTestPlugin/CMakeLists.txt b/GeoModelExamples/SurfaceTestPlugin/CMakeLists.txt index 6959a2ca5..dc46bfb84 100644 --- a/GeoModelExamples/SurfaceTestPlugin/CMakeLists.txt +++ b/GeoModelExamples/SurfaceTestPlugin/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - Nov, 2018 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) # Compile with C++17 set(CMAKE_CXX_STANDARD_REQUIRED ON) diff --git a/GeoModelG4/CMakeLists.txt b/GeoModelG4/CMakeLists.txt index c8f4e326e..a0af51906 100644 --- a/GeoModelG4/CMakeLists.txt +++ b/GeoModelG4/CMakeLists.txt @@ -1,7 +1,6 @@ # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration # CMake settings -cmake_minimum_required(VERSION 3.16...3.26) #Set up the project. Check if we build it with GeoModel or individually if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR) diff --git a/GeoModelG4/GeoMaterial2G4/CMakeLists.txt b/GeoModelG4/GeoMaterial2G4/CMakeLists.txt index 717e9ead3..65437d5f6 100644 --- a/GeoModelG4/GeoMaterial2G4/CMakeLists.txt +++ b/GeoModelG4/GeoMaterial2G4/CMakeLists.txt @@ -3,7 +3,6 @@ ################################################################################ # Package: GeoMaterial2G4 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) project(GeoMaterial2G4 VERSION ${GeoModel_VERSION} LANGUAGES CXX) # Use the GNU install directory names. diff --git a/GeoModelG4/GeoModel2G4/CMakeLists.txt b/GeoModelG4/GeoModel2G4/CMakeLists.txt index 157a3cf88..0822a03b2 100644 --- a/GeoModelG4/GeoModel2G4/CMakeLists.txt +++ b/GeoModelG4/GeoModel2G4/CMakeLists.txt @@ -4,7 +4,6 @@ # Package: GeoModel2G4 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) # Declare the package name project(GeoModel2G4 VERSION ${GeoModel_VERSION} LANGUAGES CXX) diff --git a/GeoModelIO/GeoModelRead/examples/hellogeo/CMakeLists.txt.example b/GeoModelIO/GeoModelRead/examples/hellogeo/CMakeLists.txt.example index 65aaaad54..1d831d3c8 100644 --- a/GeoModelIO/GeoModelRead/examples/hellogeo/CMakeLists.txt.example +++ b/GeoModelIO/GeoModelRead/examples/hellogeo/CMakeLists.txt.example @@ -3,7 +3,6 @@ # author: Riccardo Maria BIANCHI <rbianchi@cern.ch> - Nov, 2018 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) project(hellogeo) diff --git a/GeoModelTools/CMakeLists.txt b/GeoModelTools/CMakeLists.txt index 1f7861e77..3543c55c9 100644 --- a/GeoModelTools/CMakeLists.txt +++ b/GeoModelTools/CMakeLists.txt @@ -1,7 +1,6 @@ # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration # CMake settings -cmake_minimum_required(VERSION 3.16...3.26) # Dummy call to 'project()', needed to set 'PROJECT_SOURCE_DIR' project( "GeoModelTools" ) diff --git a/GeoModelVisualization/CMakeLists.txt b/GeoModelVisualization/CMakeLists.txt index 135776857..8ff09fcf0 100644 --- a/GeoModelVisualization/CMakeLists.txt +++ b/GeoModelVisualization/CMakeLists.txt @@ -1,7 +1,6 @@ # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration # CMake settings -cmake_minimum_required(VERSION 3.16...3.26) # Dummy call to 'project()', needed to set 'PROJECT_SOURCE_DIR' project( "GeoModelTools" ) diff --git a/documentation/docs/fullsimlight/plugins/index.md b/documentation/docs/fullsimlight/plugins/index.md index 3cf7ba8e7..228d061a4 100644 --- a/documentation/docs/fullsimlight/plugins/index.md +++ b/documentation/docs/fullsimlight/plugins/index.md @@ -85,7 +85,6 @@ Opening up the CMakeLists.txt file, we call our project GenerateHitsPlugin and c ```cmake # Set up the project. -cmake_minimum_required( VERSION 3.1 ) set(CMAKE_CXX_STANDARD 17) project( "GenerateHitsPlugin" ) -- GitLab