diff options
| author | ruki <[email protected]> | 2015-05-26 10:19:43 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2015-05-26 10:19:43 +0800 |
| commit | f4562609df7ac3f395e5178e76fcefa2c1ffa980 (patch) | |
| tree | 526caad47b590de1be57996ee19b28d4e34d082a /xmake/scripts/platform/windows/_windows.lua | |
| parent | 49ae120e090b2d4dd15e486ade2dfc2ea1ded440 (diff) | |
probe configure for macosx
Diffstat (limited to 'xmake/scripts/platform/windows/_windows.lua')
| -rw-r--r-- | xmake/scripts/platform/windows/_windows.lua | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/xmake/scripts/platform/windows/_windows.lua b/xmake/scripts/platform/windows/_windows.lua index 7a31eabaa..793de81b0 100644 --- a/xmake/scripts/platform/windows/_windows.lua +++ b/xmake/scripts/platform/windows/_windows.lua @@ -26,6 +26,9 @@ local _windows = _windows or {} -- init _windows function _windows.init(configs) + -- init host + configs.host = "windows" + -- init the file name formats configs.formats = {} configs.formats.static = {"", ".lib"} @@ -45,15 +48,15 @@ function _windows.menu(action) -- init config option menu _windows._MENU_CONFIG = _windows._MENU_CONFIG or { {} - , {nil, "vs", "kv", "auto", "The Microsoft Visual Studio directory" } - , {nil, "vs_sdk", "kv", "auto", "The Microsoft Visual Studio SDK directory" } + , {nil, "vs", "kv", "auto", "The Microsoft Visual Studio Directory" } + , {nil, "vs_sdk", "kv", "auto", "The Microsoft Visual Studio SDK Directory" } , } -- init global option menu _windows._MENU_GLOBAL = _windows._MENU_GLOBAL or { {} - , {nil, "vs", "kv", "auto", "The Microsoft Visual Studio directory" } - , {nil, "vs_sdk", "kv", "auto", "The Microsoft Visual Studio SDK directory" } + , {nil, "vs", "kv", "auto", "The Microsoft Visual Studio Directory" } + , {nil, "vs_sdk", "kv", "auto", "The Microsoft Visual Studio SDK Directory" } , } -- get the option menu |
