summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/main.lua
diff options
context:
space:
mode:
author Björn Moser <nc-moserbj@netcologne.de>2018-01-07 18:12:45 +0100
committer smf- <smf-@users.noreply.github.com>2018-01-08 22:29:19 +0000
commit71074fe12645eb3a4f51ec89989d0af54ce57901 (patch)
treebadb6674c3e69f3ff094b6200c85eb541c14fa59 /scripts/src/main.lua
parent41bfa719c6a9a4483b04818cc515c10b3bd39167 (diff)
VS Compile Fix
Diffstat (limited to 'scripts/src/main.lua')
-rw-r--r--scripts/src/main.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/src/main.lua b/scripts/src/main.lua
index 075f850a95f..a4bb6d3eab6 100644
--- a/scripts/src/main.lua
+++ b/scripts/src/main.lua
@@ -413,9 +413,9 @@ if (STANDALONE~=true) then
configuration { "vs*" }
prebuildcommands {
- "mkdir " .. path.translate(GEN_DIR .. "resource/","\\") .. " 2>NUL",
+ "mkdir \"" .. path.translate(GEN_DIR .. "resource/","\\") .. "\" 2>NUL",
"@echo Emitting ".. rctarget .. "vers.rc...",
- PYTHON .. " " .. path.translate(MAME_DIR .. "scripts/build/verinfo.py","\\") .. " -r -b " .. rctarget .. " " .. path.translate(GEN_DIR .. "version.cpp","\\") .. " > " .. path.translate(GEN_DIR .. "resource/" .. rctarget .. "vers.rc", "\\") ,
+ PYTHON .. " \"" .. path.translate(MAME_DIR .. "scripts/build/verinfo.py","\\") .. "\" -r -b " .. rctarget .. " \"" .. path.translate(GEN_DIR .. "version.cpp","\\") .. "\" > \"" .. path.translate(GEN_DIR .. "resource/" .. rctarget .. "vers.rc", "\\") .. "\"" ,
}
end