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

Add build info and C++ standard to CMake output

parent ba9a69db
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,9 @@ set( CMAKE_BUILD_TYPE "Release" CACHE STRING "CMake build mode to use" )
set( CMAKE_CXX_STANDARD 17 CACHE STRING "C++ standard used for the build" )
set( CMAKE_CXX_EXTENSIONS FALSE CACHE BOOL "(Dis)allow using GNU extensions" )
# Print Build Info on screen
include(cmake/PrintBuildInfo.cmake)
# Make the module directory visible to CMake.
list( APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake )
......
message(STATUS "-----")
message(STATUS "Building with type: ${CMAKE_BUILD_TYPE}")
message(STATUS "Using C++ standard: ${CMAKE_CXX_STANDARD}")
message(STATUS "-----")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment