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!
This commit is contained in:
parent
c3794e003f
commit
7f07bc72c5
|
@ -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'
|
||||
|
|
|
@ -23,7 +23,7 @@ version = '0.14.0-research'
|
|||
class CoreData():
|
||||
|
||||
def __init__(self, options):
|
||||
self.guid = str(uuid.uuid4())
|
||||
self.guid = str(uuid.uuid4()).upper()
|
||||
self.target_guids = {}
|
||||
self.version = version
|
||||
self.prefix = options.prefix
|
||||
|
|
|
@ -1162,7 +1162,7 @@ class Interpreter():
|
|||
l = targetclass(name, self.subdir, is_cross, sources, objs, self.environment, kwargs)
|
||||
self.build.targets[name] = l.held_object
|
||||
if name not in self.coredata.target_guids:
|
||||
self.coredata.target_guids[name] = str(uuid.uuid4())
|
||||
self.coredata.target_guids[name] = str(uuid.uuid4()).upper()
|
||||
if self.environment.is_cross_build() and l.is_cross:
|
||||
txt = ' cross build '
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue