Update premake to support vs2017.
This commit is contained in:
2
third_party/premake-core
vendored
2
third_party/premake-core
vendored
Submodule third_party/premake-core updated: 8f0683d823...5dfb0238bc
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
|
||||||
|
|||||||
Reference in New Issue
Block a user