mirror of
https://github.com/diamante0018/master-tool.git
synced 2025-04-20 03:35:44 +00:00
build: All in. Use clang on Windows too (#43)
This commit is contained in:
parent
b6ceb4aceb
commit
050549653a
12
premake5.lua
12
premake5.lua
@ -38,6 +38,9 @@ targetdir "%{wks.location}/bin/%{cfg.platform}/%{cfg.buildcfg}"
|
|||||||
|
|
||||||
configurations {"Debug", "Release"}
|
configurations {"Debug", "Release"}
|
||||||
|
|
||||||
|
language "C++"
|
||||||
|
cppdialect "C++14"
|
||||||
|
|
||||||
if os.istarget("darwin") then
|
if os.istarget("darwin") then
|
||||||
platforms {"x64", "arm64"}
|
platforms {"x64", "arm64"}
|
||||||
else
|
else
|
||||||
@ -56,15 +59,8 @@ filter "platforms:arm64"
|
|||||||
architecture "ARM64"
|
architecture "ARM64"
|
||||||
filter {}
|
filter {}
|
||||||
|
|
||||||
filter {"language:C++", "toolset:not msc*"}
|
|
||||||
buildoptions "-std=c++14"
|
|
||||||
filter {}
|
|
||||||
|
|
||||||
filter "toolset:msc*"
|
|
||||||
buildoptions "/std:c++14"
|
|
||||||
filter {}
|
|
||||||
|
|
||||||
filter {"system:windows"}
|
filter {"system:windows"}
|
||||||
|
toolset "clang"
|
||||||
systemversion "latest"
|
systemversion "latest"
|
||||||
filter {}
|
filter {}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user