Update premake to support vs2017.
This commit is contained in:
parent
cecc66622f
commit
8c16f91b7b
|
@ -1 +1 @@
|
||||||
Subproject commit 8f0683d823963d097cf4bc2958b5f50f35f6456a
|
Subproject commit 5dfb0238bc309df04819dd430def621ce854678d
|
Binary file not shown.
|
@ -356,7 +356,11 @@ def run_platform_premake():
|
||||||
if sys.platform == 'darwin':
|
if sys.platform == 'darwin':
|
||||||
return run_premake('macosx', 'xcode4')
|
return run_premake('macosx', 'xcode4')
|
||||||
elif sys.platform == 'win32':
|
elif sys.platform == 'win32':
|
||||||
return run_premake('windows', 'vs2015')
|
vs_version = '2015'
|
||||||
|
if 'VSVERSION' in os.environ:
|
||||||
|
vs_version = os.environ['VSVERSION']
|
||||||
|
|
||||||
|
return run_premake('windows', 'vs' + vs_version)
|
||||||
else:
|
else:
|
||||||
ret = run_premake('linux', 'gmake')
|
ret = run_premake('linux', 'gmake')
|
||||||
ret = ret != 0 and run_premake('linux', 'codelite') or ret
|
ret = ret != 0 and run_premake('linux', 'codelite') or ret
|
||||||
|
|
Loading…
Reference in New Issue