aboutsummaryrefslogtreecommitdiff
path: root/backends.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2014-03-18 00:43:04 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2014-03-18 00:43:04 +0200
commit7f07bc72c536eb1f1a2b75d1d1f57d4f0044f903 (patch)
tree1db26cfeb250d26463b39119b57061a112230a2b /backends.py
parentc3794e003f42cacca64833a6824980847b28a05e (diff)
downloadmeson-7f07bc72c536eb1f1a2b75d1d1f57d4f0044f903.zip
meson-7f07bc72c536eb1f1a2b75d1d1f57d4f0044f903.tar.gz
meson-7f07bc72c536eb1f1a2b75d1d1f57d4f0044f903.tar.bz2
Thanks, Microsoft! Thanks a fucking lot for making your uuids case sensitive in one location and case insensitive in another. And thanks especially a fucking lot for failing in this case while pretending thate everything works. Fuck you!
Diffstat (limited to 'backends.py')
-rw-r--r--backends.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends.py b/backends.py
index d64a307..85b1f64 100644
--- a/backends.py
+++ b/backends.py
@@ -1232,7 +1232,7 @@ class Vs2010Backend(Backend):
ofile.write('Microsoft Visual Studio Solution File, Format Version 11.00\n')
ofile.write('# Visual Studio 2010\n')
for p in projlist:
- prj_line = 'Project("%s") = "%s", "%s", "{%s}"\nEndProject\n' % \
+ prj_line = 'Project("{%s}") = "%s", "%s", "{%s}"\nEndProject\n' % \
(self.environment.coredata.guid, p[0], p[1], p[2])
ofile.write(prj_line)
ofile.write('Global\n')
@@ -1288,7 +1288,7 @@ class Vs2010Backend(Backend):
pl = ET.SubElement(prjconf, 'Platform')
pl.text = platform
globalgroup = ET.SubElement(root, 'PropertyGroup', Label='Globals')
- guidelem = ET.SubElement(globalgroup, 'ProjectGUID')
+ guidelem = ET.SubElement(globalgroup, 'ProjectGuid')
guidelem.text = guid
kw = ET.SubElement(globalgroup, 'Keyword')
kw.text = 'Win32Proj'