premake5: properly define objdir and targetdir and apply path standards (./)

This commit is contained in:
/dev/urandom 2016-01-04 21:00:17 +01:00
parent f753acbe74
commit 0bfd6992c7
No known key found for this signature in database
GPG Key ID: 41322B973E0F295E

View File

@ -48,7 +48,9 @@ newaction {
}
workspace "iw4x"
location ("./build")
location "./build"
objdir "%{wks.location}/obj"
targetdir "%{wks.location}/bin/%{cfg.buildcfg}"
configurations { "Normal", "Debug", "DebugStatic", "Release", "ReleaseStatic" }
-- VS 2015 toolset only
@ -85,8 +87,8 @@ workspace "iw4x"
-- Virtual paths
if not _OPTIONS["no-new-structure"] then
vpaths {
["Headers/*"] = "src/**.hpp",
["Sources/*"] = {"src/**.cpp"}
["Headers/*"] = "./src/**.hpp",
["Sources/*"] = {"./src/**.cpp"}
}
end