fix v3 win32 build issue

This commit is contained in:
andyque 2015-03-03 18:35:43 +08:00
parent 23e49fe2b7
commit 2e2fb122e6
1 changed files with 4 additions and 1 deletions

View File

@ -267,7 +267,10 @@ def main():
close_db(db)
elif(node_name == 'win32' or node_name == 'win32_win7' or node_name == 'win32_bak'):
ret = subprocess.call('"%VS120COMNTOOLS%..\IDE\devenv.com" "build\cocos2d-win32.vc2013.sln" /Build "Debug|Win32"', shell=True)
build_vs_project_name = 'cocos2d-win32.vc2013.sln'
if(branch == 'v3'):
build_vs_project_name = 'cocos2d-win32.vc2012.sln'
ret = subprocess.call('"%VS120COMNTOOLS%..\IDE\devenv.com" "build\"' + build_vs_project_name + ' /Build "Debug|Win32"', shell=True)
elif(node_name == 'windows-universal' or node_name == 'windows-universal_bak'):
ret = subprocess.call('"%VS120COMNTOOLS%..\IDE\devenv.com" "build\cocos2d-win8.1-universal.sln" /Build "Debug|Win32"', shell=True)
elif(node_name == 'ios_mac' or node_name == 'ios' or node_name == 'ios_bak'):