Skip to content

Commit 0b7fffe

Browse files
committed
Upgrade to C++17 Standard
-------------------------------- C++17 contains much more features that: 1. add flexibility (eg. std::any, std::variant) 2. potential performance improvement 3. type safety For more info see: https://en.cppreference.com/w/cpp/17 Compiler support (min version required to access all C++17 features): 1. GCC ^7 2. MSVC ^19.14 Our current version: 1. GCC 7.5 2. MSVC 2017 = MSVC 19.16 To figure out local MSVC compiler version run: `cl /Bv` For more information about what feature is supported at which version see: https://en.cppreference.com/w/cpp/compiler_support
1 parent 8cd410f commit 0b7fffe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ cmake_minimum_required(VERSION 3.10)
66
project(fpga-runtime-for-opencl C CXX)
77

88
# Set default C++ standard property of targets.
9-
set(CMAKE_CXX_STANDARD 11)
9+
set(CMAKE_CXX_STANDARD 17)
1010
set(CMAKE_CXX_STANDARD_REQUIRED ON)
1111

1212
# https://gitlab.kitware.com/cmake/community/-/wikis/doc/cpack/Packaging-With-CPack

0 commit comments

Comments
 (0)