premake5: properly define objdir and targetdir and apply path standards (./)
This commit is contained in:
parent
f753acbe74
commit
0bfd6992c7
@ -48,7 +48,9 @@ newaction {
|
|||||||
}
|
}
|
||||||
|
|
||||||
workspace "iw4x"
|
workspace "iw4x"
|
||||||
location ("./build")
|
location "./build"
|
||||||
|
objdir "%{wks.location}/obj"
|
||||||
|
targetdir "%{wks.location}/bin/%{cfg.buildcfg}"
|
||||||
configurations { "Normal", "Debug", "DebugStatic", "Release", "ReleaseStatic" }
|
configurations { "Normal", "Debug", "DebugStatic", "Release", "ReleaseStatic" }
|
||||||
|
|
||||||
-- VS 2015 toolset only
|
-- VS 2015 toolset only
|
||||||
@ -85,8 +87,8 @@ workspace "iw4x"
|
|||||||
-- Virtual paths
|
-- Virtual paths
|
||||||
if not _OPTIONS["no-new-structure"] then
|
if not _OPTIONS["no-new-structure"] then
|
||||||
vpaths {
|
vpaths {
|
||||||
["Headers/*"] = "src/**.hpp",
|
["Headers/*"] = "./src/**.hpp",
|
||||||
["Sources/*"] = {"src/**.cpp"}
|
["Sources/*"] = {"./src/**.cpp"}
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user