From 39fec386a16e4150d9fc86dcd1a643add465fc25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Tue, 26 May 2020 08:53:37 +0200 Subject: [PATCH] Import project: Add stdcpp20 and stdcpplatest --- lib/importproject.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/importproject.cpp b/lib/importproject.cpp index 0f27e6532..96570f24e 100644 --- a/lib/importproject.cpp +++ b/lib/importproject.cpp @@ -474,6 +474,10 @@ namespace { cppstd = Standards::CPP14; else if (std::strcmp(e->GetText(), "stdcpp17") == 0) cppstd = Standards::CPP17; + else if (std::strcmp(e->GetText(), "stdcpp20") == 0) + cppstd = Standards::CPP20; + else if (std::strcmp(e->GetText(), "stdcpplatest") == 0) + cppstd = Standards::CPPLatest; } } }