build: All in. Use clang on Windows too (#43)

This commit is contained in:
6arelyFuture 2023-07-13 22:57:35 +02:00 committed by GitHub
parent b6ceb4aceb
commit 050549653a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,6 +38,9 @@ targetdir "%{wks.location}/bin/%{cfg.platform}/%{cfg.buildcfg}"
configurations {"Debug", "Release"}
language "C++"
cppdialect "C++14"
if os.istarget("darwin") then
platforms {"x64", "arm64"}
else
@ -56,15 +59,8 @@ filter "platforms:arm64"
architecture "ARM64"
filter {}
filter {"language:C++", "toolset:not msc*"}
buildoptions "-std=c++14"
filter {}
filter "toolset:msc*"
buildoptions "/std:c++14"
filter {}
filter {"system:windows"}
toolset "clang"
systemversion "latest"
filter {}