mirror of
https://github.com/diamante0018/master-tool.git
synced 2025-04-19 19:32:53 +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"}
|
||||
|
||||
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 {}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user