Browse Source

Fixed the VS build.

The version of Premake that's on the repository does not seem to like the token patterns.
pull/146/merge
triton 12 years ago
parent
commit
66ca3a742b
  1. 3
      build/Tests.lua

3
build/Tests.lua

@ -57,10 +57,11 @@ function SetupTestGeneratorProject(name) @@ -57,10 +57,11 @@ function SetupTestGeneratorProject(name)
end
function SetupTestGeneratorBuildEvent(name)
local exePath = SafePath("%{cfg.buildtarget.directory}/" .. name .. ".Gen.exe")
if string.starts(action, "vs") then
local exePath = SafePath("$(TargetDir)" .. name .. ".Gen.exe")
prebuildcommands { exePath }
else
local exePath = SafePath("%{cfg.buildtarget.directory}/" .. name .. ".Gen.exe")
prebuildcommands { "mono " .. exePath }
end
end

Loading…
Cancel
Save