Skip to content
Snippets Groups Projects
Commit 77ce4517 authored by Riccardo Maria Bianchi's avatar Riccardo Maria Bianchi :sunny:
Browse files

(CMAKE) Move the Print statements to the bottom of the config

parent bdf6c818
No related branches found
No related tags found
No related merge requests found
...@@ -3,10 +3,6 @@ ...@@ -3,10 +3,6 @@
# === Preamble === # === Preamble ===
cmake_minimum_required(VERSION 3.12...3.19.1) cmake_minimum_required(VERSION 3.12...3.19.1)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
# Make the 'cmake' module directory visible to CMake. # Make the 'cmake' module directory visible to CMake.
list( APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ) list( APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake )
...@@ -23,8 +19,6 @@ project( "GeoModel" VERSION ${GeoModel_VERSION} LANGUAGES CXX ) ...@@ -23,8 +19,6 @@ project( "GeoModel" VERSION ${GeoModel_VERSION} LANGUAGES CXX )
include( GNUInstallDirs ) include( GNUInstallDirs )
# Set a default build type # Set a default build type
include( BuildType ) include( BuildType )
# Print Build Info on screen
include( PrintBuildInfo )
# Set default build and C++ options # Set default build and C++ options
include( configure_cpp_options ) include( configure_cpp_options )
...@@ -115,6 +109,10 @@ if(GEOMODEL_BUILD_GEOMODELG4 OR GEOMODEL_BUILD_EXAMPLES_W_GEANT4) ...@@ -115,6 +109,10 @@ if(GEOMODEL_BUILD_GEOMODELG4 OR GEOMODEL_BUILD_EXAMPLES_W_GEANT4)
endif() endif()
# Print Build Info on screen
include( PrintBuildInfo )
# A function to get a string with comma-separated package names from a list of packages # A function to get a string with comma-separated package names from a list of packages
# NOTE: We could make use of list(JOIN ...) on CMake >= 3.12, # NOTE: We could make use of list(JOIN ...) on CMake >= 3.12,
# but on Ubuntu 18 the apt package installs 3.10 instead # but on Ubuntu 18 the apt package installs 3.10 instead
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment