Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/premake-4.x.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Perkins <starkos@industriousone.com>2010-08-10 00:17:03 +0400
committerJason Perkins <starkos@industriousone.com>2010-08-10 00:17:03 +0400
commit1be943947a5a941f4445794fd1e3cbfae6af94f8 (patch)
tree7ec9deed0c250dbcdf24fa481760b2195159fa1e
parentf40e8a2c45c0448ef3025e7367d5140938d8fc42 (diff)
Added imagepath to set Xbox360 image file name (Jarod)
-rw-r--r--CHANGES.txt1
-rw-r--r--src/actions/vstudio/vs200x_vcproj.lua3
-rw-r--r--src/base/api.lua6
3 files changed, 10 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index f2d57d2..ed5edd3 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -13,6 +13,7 @@
* Patch 3011940: Add support for MFC (JTAnderson)
* Bug 2997728: Project dependencies should be case-sensitive
* Fixed handling of icons in Xcode (bitshifter)
+* Added imagepath to set Xbox360 image file name (Jarod)
-------
diff --git a/src/actions/vstudio/vs200x_vcproj.lua b/src/actions/vstudio/vs200x_vcproj.lua
index bd46faa..426f569 100644
--- a/src/actions/vstudio/vs200x_vcproj.lua
+++ b/src/actions/vstudio/vs200x_vcproj.lua
@@ -602,6 +602,9 @@ local vcproj = premake.vstudio.vcproj
if #cfg.imageoptions > 0 then
_p(4,'AdditionalOptions="%s"', table.concat(premake.esc(cfg.imageoptions), " "))
end
+ if cfg.imagepath ~= nil then
+ _p(4,'OutputFileName="%s"', premake.esc(path.translate(cfg.imagepath)))
+ end
_p(3,'/>')
elseif block == "DebuggerTool" then
diff --git a/src/base/api.lua b/src/base/api.lua
index a2cc9c4..165b113 100644
--- a/src/base/api.lua
+++ b/src/base/api.lua
@@ -117,6 +117,12 @@
}
},
+ imagepath =
+ {
+ kind = "path",
+ scope = "config",
+ },
+
imageoptions =
{
kind = "list",