diff --git a/premake5.lua b/premake5.lua index a70a1fa..3f5af4f 100644 --- a/premake5.lua +++ b/premake5.lua @@ -308,6 +308,11 @@ pchsource "src/client/std_include.cpp" linkoptions {"/IGNORE:4254", "/DYNAMICBASE:NO", "/SAFESEH:NO", "/LARGEADDRESSAWARE", "/LAST:.main", "/PDBCompress"} files {"./src/client/**.rc", "./src/client/**.hpp", "./src/client/**.cpp", "./src/client/resources/**.*"} +removefiles { "src/client/component/updater.cpp", "src/client/component/updater.hpp" } + +-- filter { "configurations:Release", "files:src/client/component/updater.cpp" } +-- flags { "ExcludeFromBuild" } +-- filter {} includedirs {"./src/client", "./src/common", "%{prj.location}/src"} @@ -359,8 +364,10 @@ resincludedirs {"$(ProjectDir)src"} group "Dependencies" dependencies.projects() -removefiles { "src/client/component/updater.cpp", "src/client/component/updater.hpp" } +-- filter "projects:client" +-- removefiles { "src/client/component/updater.cpp", "src/client/component/updater.hpp" } +-- filter {} --- filter { "configurations:Release", "files:src/client/component/updater.cpp" } +-- filter { "projects:client", "configurations:Release", "files:src/client/component/updater.cpp" } -- flags { "ExcludeFromBuild" } -- filter {}