Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/premake5.lua
diff options
context:
space:
mode:
authorLeitwolf2026-11-01 01:39:21 +0300
committerGitHub2026-11-01 01:39:21 +0300
commit654b0158978b65caa27925b02aa8a8d228e2f386 (patch)
tree25841e888932ebac3a51c4b59f77cea5a87ae5bd /premake5.lua
parent42c68725c816963ec6529dd635d5aaaac23b1c05 (diff)
parentff1da91edffa9ee887e9fe737fcd87ec540dfa60 (diff)
downloadcatch3-654b0158978b65caa27925b02aa8a8d228e2f386.tar.gz
Merge pull request #26 from Progmasoft/chore/cpp17-descriptions
Say C++17 everywhere the project describes itself
Diffstat (limited to 'premake5.lua')
-rw-r--r--premake5.lua9
1 files changed, 4 insertions, 5 deletions
diff --git a/premake5.lua b/premake5.lua
index d8a005d5..a1427cf3 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -33,12 +33,11 @@ workspace "Catch3"
filter {}
-- The Catch2-compatible engine, the Catch3 runner, property testing and
--- snapshots; the library is C++20, the engine's headers need only C++14 in
--- the code that includes them.
+-- snapshots; the library and the code that includes it need C++17.
project "Catch3"
kind "StaticLib"
language "C++"
- cppdialect "C++20"
+ cppdialect "C++17"
targetdir "build/premake/bin/%{cfg.buildcfg}"
objdir "build/premake/obj/Catch3/%{cfg.buildcfg}"
files {
@@ -64,7 +63,7 @@ project "Catch3"
project "Catch3WithMain"
kind "StaticLib"
language "C++"
- cppdialect "C++14"
+ cppdialect "C++17"
-- Visual Studio injects UNICODE for Windows projects, which would select
-- Catch2's wmain entry point instead of the normal console main.
defines { "DO_NOT_USE_WMAIN" }
@@ -77,7 +76,7 @@ project "Catch3WithMain"
project "ProgmasoftPropertyTests"
kind "ConsoleApp"
language "C++"
- cppdialect "C++20"
+ cppdialect "C++17"
targetdir "build/premake/bin/%{cfg.buildcfg}"
objdir "build/premake/obj/ProgmasoftPropertyTests/%{cfg.buildcfg}"
files {