Skip to content

Commit

Permalink
Bump C++ version to 20
Browse files Browse the repository at this point in the history
  • Loading branch information
kordejong committed Mar 26, 2024
1 parent 07dbdae commit ecc1a39
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion environment/cmake/Lue.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ useCompilerCache()
include(FetchContent)
include(GenerateExportHeader)

set(LUE_CXX_STANDARD 17)
set(LUE_CXX_STANDARD 20)

# Handle configuration and 3rd party libraries and tools, and ...
include(LueConfiguration)
Expand Down
8 changes: 4 additions & 4 deletions environment/script/write_conan_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def gcc_settings(compiler_filename):
Return a dictionary with the GCC compiler settings
"""
compiler = "gcc"
compiler_cppstd = "17"
compiler_cppstd = "20"
compiler_libcxx = "libstdc++11"
compiler_version = gcc_version(compiler_filename)

Expand All @@ -187,7 +187,7 @@ def apple_clang_settings(compiler_filename):
Return a dictionary with the Apple Clang compiler settings
"""
compiler = "apple-clang"
compiler_cppstd = "17"
compiler_cppstd = "20"
compiler_libcxx = "libc++"
compiler_version = clang_version(compiler_filename)

Expand All @@ -204,7 +204,7 @@ def clang_settings(compiler_filename):
Return a dictionary with the Clang compiler settings
"""
compiler = "clang"
compiler_cppstd = "17"
compiler_cppstd = "20"
compiler_libcxx = "libstdc++11"
compiler_version = clang_version(compiler_filename)

Expand All @@ -221,7 +221,7 @@ def msvc_settings(compiler_filename):
Return a dictionary with the MSVC compiler settings
"""
compiler = "msvc"
compiler_cppstd = "17"
compiler_cppstd = "20"
compiler_version = msvc_version(compiler_filename)
compiler_runtime = "dynamic"

Expand Down

0 comments on commit ecc1a39

Please sign in to comment.