aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends.py4
-rw-r--r--coredata.py2
-rw-r--r--interpreter.py2
3 files changed, 4 insertions, 4 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'
diff --git a/coredata.py b/coredata.py
index 42a70d1..94c8ea1 100644
--- a/coredata.py
+++ b/coredata.py
@@ -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
diff --git a/interpreter.py b/interpreter.py
index 34d9721..2a27b4b 100644
--- a/interpreter.py
+++ b/interpreter.py
@@ -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: