fix start project for custom builds in Visual Studio (nw)

This commit is contained in:
Miodrag Milanovic 2016-01-21 08:41:13 +01:00
parent cac513508f
commit 2ac3018ee7

View File

@ -1258,14 +1258,18 @@ findfunction("createProjects_" .. _OPTIONS["target"] .. "_" .. _OPTIONS["subtarg
group "emulator" group "emulator"
dofile(path.join("src", "main.lua")) dofile(path.join("src", "main.lua"))
if (_OPTIONS["target"] == _OPTIONS["subtarget"]) then if (_OPTIONS["SOURCES"] == nil) then
startproject (_OPTIONS["target"]) if (_OPTIONS["target"] == _OPTIONS["subtarget"]) then
else startproject (_OPTIONS["target"])
if (_OPTIONS["subtarget"]=="mess") then
startproject (_OPTIONS["subtarget"])
else else
startproject (_OPTIONS["target"] .. _OPTIONS["subtarget"]) if (_OPTIONS["subtarget"]=="mess") then
startproject (_OPTIONS["subtarget"])
else
startproject (_OPTIONS["target"] .. _OPTIONS["subtarget"])
end
end end
else
startproject (_OPTIONS["subtarget"])
end end
mainProject(_OPTIONS["target"],_OPTIONS["subtarget"]) mainProject(_OPTIONS["target"],_OPTIONS["subtarget"])