diff options
author | 2016-01-21 08:41:13 +0100 | |
---|---|---|
committer | 2016-01-21 08:41:13 +0100 | |
commit | 2ac3018ee71381a2fa635e8bcdba214285554a7b (patch) | |
tree | f4f8b1f44671c3ac2acd2196a1c2c0a56970a979 /scripts/genie.lua | |
parent | cac513508fcf22f3b57e7f8cd9253e8b89d65fd5 (diff) |
fix start project for custom builds in Visual Studio (nw)
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r-- | scripts/genie.lua | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua index b9f30782273..cc34fb8c18d 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -1258,15 +1258,19 @@ findfunction("createProjects_" .. _OPTIONS["target"] .. "_" .. _OPTIONS["subtarg group "emulator" dofile(path.join("src", "main.lua")) -if (_OPTIONS["target"] == _OPTIONS["subtarget"]) then - startproject (_OPTIONS["target"]) -else - if (_OPTIONS["subtarget"]=="mess") then - startproject (_OPTIONS["subtarget"]) +if (_OPTIONS["SOURCES"] == nil) then + if (_OPTIONS["target"] == _OPTIONS["subtarget"]) then + startproject (_OPTIONS["target"]) 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 mainProject(_OPTIONS["target"],_OPTIONS["subtarget"]) if (_OPTIONS["STRIP_SYMBOLS"]=="1") then |