feat: compile project with clang (with vs on Windows)

This commit is contained in:
2024-04-20 10:30:44 +02:00
parent 779676b8ee
commit b3841d855e
16 changed files with 58 additions and 327 deletions

View File

@ -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"}