cpp: Restore C++2A Kconfig
Restore the legacy C++2a Kconfig for compilers that do not support C++20. Signed-off-by: Alexander Wachter <alexander.wachter@leica-geosystems.com>
This commit is contained in:
parent
b61ea62b6f
commit
ad130f2661
5 changed files with 16 additions and 1 deletions
|
@ -130,6 +130,10 @@ set_property(TARGET compiler-cpp PROPERTY dialect_cpp14 "-std=c++14" "-Wno-regis
|
|||
set_property(TARGET compiler-cpp PROPERTY dialect_cpp17 "-std=c++17" "-Wno-register")
|
||||
set_property(TARGET compiler-cpp PROPERTY dialect_cpp2a "-std=c++2a"
|
||||
"-Wno-register" "-Wno-volatile")
|
||||
set_property(TARGET compiler-cpp PROPERTY dialect_cpp20 "-std=c++20"
|
||||
"-Wno-register" "-Wno-volatile")
|
||||
set_property(TARGET compiler-cpp PROPERTY dialect_cpp2b "-std=c++2b"
|
||||
"-Wno-register" "-Wno-volatile")
|
||||
|
||||
# Disable exeptions flag in C++
|
||||
set_property(TARGET compiler-cpp PROPERTY no_exceptions "-fno-exceptions")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue