mirror of
https://github.com/diamante0018/MW3ServerFreezer.git
synced 2025-07-03 09:41:49 +00:00
feat: compile project with clang (with vs on Windows)
This commit is contained in:
13
premake5.lua
13
premake5.lua
@ -61,8 +61,15 @@ filter "configurations:release"
|
||||
optimize "Size"
|
||||
defines {"NDEBUG"}
|
||||
flags {"FatalCompileWarnings"}
|
||||
buildoptions {"/GL"}
|
||||
linkoptions {"/IGNORE:4702", "/LTCG"}
|
||||
|
||||
filter "action:msc"
|
||||
buildoptions "/GL"
|
||||
linkoptions {"/IGNORE:4702", "/LTCG"}
|
||||
filter {}
|
||||
|
||||
filter "toolset:not msc*"
|
||||
buildoptions "-Wno-unused-parameter"
|
||||
filter {}
|
||||
filter {}
|
||||
|
||||
filter "configurations:debug"
|
||||
@ -91,8 +98,6 @@ targetname "mw3-server-freezer"
|
||||
pchheader "std_include.hpp"
|
||||
pchsource "src/client/std_include.cpp"
|
||||
|
||||
linkoptions {"/PDBCompress"}
|
||||
|
||||
files {"./src/client/**.hpp", "./src/client/**.cpp"}
|
||||
|
||||
includedirs {"./src/client", "./src/common", "%{prj.location}/src"}
|
||||
|
Reference in New Issue
Block a user