Commit 360bcada authored by CARDOSI Paul's avatar CARDOSI Paul

Turn C++17 requirement back on. Turn disabling of compiler specific extensions...

Turn C++17 requirement back on. Turn disabling of compiler specific extensions back on. Fix minor typing error.
parent 1f2d5286
......@@ -27,9 +27,9 @@ endif(insource)
# Adds the CMAKE_DEPENDENT_OPTION command
INCLUDE(CMakeDependentOption)
# set(CMAKE_CXX_STANDARD 17)
# set(CMAKE_CXX_STANDARD_REQUIRED ON)
# set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
# need pthread
set(SPETABARU_LIBRARIES pthread)
......@@ -90,7 +90,7 @@ if( SPETABARU_USE_COVERAGE )
message(STATUS "Main -- Use code coverage")
set(SPETABARU_CXX_FLAGS "${SPETABARU_CXX_FLAGS} -g -O0 --coverage")
list(APPEND SPETABARU_LIBRARIES gcov)
# Then one can use these commande:
# Then one can use these commands:
# lcov --directory CMakeFiles/ -c -o coverage-rapport.info
# genhtml -o ./coverage -t "Coverage example" coverage-rapport.info
endif()
......
......@@ -12,6 +12,10 @@ Replica Exchange Monte Carlo (RMC/Parallel tempering).
This is an on-going project under development.
# Installation requirements
1. C++17 standard compliant toolchain
2. CMake (version 2.8.3 or after)
# Installation
SPETABARU requires an out of source tree build.
1. First create a new directory outside of SPETABARU's source tree with mkdir <dir_name>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment