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

github.com/windirstat/premake-4.x-stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES.txt1
-rw-r--r--src/actions/vstudio/_vstudio.lua6
2 files changed, 5 insertions, 2 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index 6052e7f..8bbd43e 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -60,6 +60,7 @@
* Patch 3476176: Remove conditionals from makefile compiler assignments (Konstantin Tokarev)
* Pull 1: Fixed path to Info.plist in Xcode projects (Adrien Anselme)
* Patch 3367642: Add support for targetextension property to Xcode
+* Patch 3435716: Fix for PS3 config generation in VS2010 (Jake)
-------
diff --git a/src/actions/vstudio/_vstudio.lua b/src/actions/vstudio/_vstudio.lua
index 6297644..9b868d3 100644
--- a/src/actions/vstudio/_vstudio.lua
+++ b/src/actions/vstudio/_vstudio.lua
@@ -99,8 +99,10 @@
entry.src_platform = platform
-- PS3 is funky and needs special handling; it's more of a build
- -- configuration than a platform from Visual Studio's point of view
- if platform ~= "PS3" then
+ -- configuration than a platform from Visual Studio's point of view.
+ -- This has been fixed in VS2010 as it now truly supports 3rd party
+ -- platforms, so only do this fixup when not in VS2010
+ if platform ~= "PS3" or _ACTION > "vs2008" then
entry.buildcfg = buildcfg
entry.platform = vstudio.platforms[platform]
else