When running vstool from develop.py, use the correct build type.

meow-7.2.2
Bryan O'Sullivan 2008-10-30 18:53:38 +00:00
parent 1f3e44d0e6
commit 4c38e5820a
1 changed files with 5 additions and 5 deletions

View File

@ -544,11 +544,11 @@ class WindowsSetup(PlatformSetup):
PlatformSetup.run_cmake(self, args)
if self.unattended == 'OFF':
for build_dir in self.build_dirs():
vstool_cmd = os.path.join('tools','vstool','VSTool.exe') \
+ ' --solution ' \
+ os.path.join(build_dir,'SecondLife.sln') \
+ ' --config RelWithDebInfo' \
+ ' --startup secondlife-bin'
vstool_cmd = (os.path.join('tools','vstool','VSTool.exe') +
' --solution ' +
os.path.join(build_dir,'SecondLife.sln') +
' --config ' + self.build_type +
' --startup secondlife-bin')
print 'Running %r in %r' % (vstool_cmd, getcwd())
self.run(vstool_cmd)