mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
build: Update to C++20
This commit is contained in:
@@ -26,7 +26,7 @@ get_version_number()
|
||||
configure_target_platform()
|
||||
|
||||
# CMake config
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD 20)
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
set(CMAKE_AUTORCC ON)
|
||||
set(CMAKE_AUTOUIC ON)
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
arch=x86_64
|
||||
build_type=RelWithDebInfo
|
||||
compiler=gcc
|
||||
compiler.cppstd=gnu17
|
||||
compiler.cppstd=gnu20
|
||||
compiler.libcxx=libstdc++11
|
||||
compiler.version=11
|
||||
os=Linux
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
arch=x86_64
|
||||
build_type=RelWithDebInfo
|
||||
compiler=apple-clang
|
||||
compiler.cppstd=gnu17
|
||||
compiler.cppstd=gnu20
|
||||
compiler.libcxx=libc++
|
||||
compiler.version=15
|
||||
os=Macos
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
arch=x86_64
|
||||
build_type=RelWithDebInfo
|
||||
compiler=msvc
|
||||
compiler.cppstd=17
|
||||
compiler.cppstd=20
|
||||
compiler.runtime=dynamic
|
||||
compiler.version=194
|
||||
os=Windows
|
||||
|
||||
Reference in New Issue
Block a user