Tests: require C++14 for the Tutorial

Clang++ on Windows with the MSVC STL requires C++14 to compile.
The C++ standard is set to C++14 for the entire tutorial instead of
MSVC/clang specific conditions to keep it simple.
This commit is contained in:
Zsolt Parragi
2019-03-21 19:54:03 +01:00
parent 4819ff9647
commit a2a90f41e3
13 changed files with 13 additions and 27 deletions
+1 -2
View File
@@ -1,8 +1,7 @@
cmake_minimum_required(VERSION 3.3)
project(Tutorial)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED True)
set(CMAKE_CXX_STANDARD 14)
# should we use our own math functions
option(USE_MYMATH "Use tutorial provided math implementation" ON)