generate_projects.py should make directories.

That's necessary for generating Visual Studio project files that are in separate empty directories otherwise.
pull/2408/head
Nicolas "Pixel" Noble 10 years ago
parent 294d972629
commit 4d811daf52
  1. 5
      tools/buildgen/generate_projects.py

@ -50,7 +50,10 @@ jobs = []
for root, dirs, files in os.walk('templates'):
for f in files:
if os.path.splitext(f)[1] == '.template':
out = '.' + root[len('templates'):] + '/' + os.path.splitext(f)[0]
out_dir = '.' + root[len('templates'):]
out = out_dir + '/' + os.path.splitext(f)[0]
if not os.path.exists(out_dir):
os.makedirs(out_dir)
cmd = ['tools/buildgen/mako_renderer.py']
for plugin in plugins:
cmd.append('-p')

Loading…
Cancel
Save