diff options
| author | ruki <[email protected]> | 2015-06-20 20:34:37 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2015-06-20 20:34:37 +0800 |
| commit | a3f92451ca522092bd12e0c64a73b1154993253d (patch) | |
| tree | a85127fb03d430cd25ee65db410aee944321ce8e /xmake/scripts/platform/platform.lua | |
| parent | 8452df53aca437c49963afdf9738022c198365a5 (diff) | |
install c++ console template
Diffstat (limited to 'xmake/scripts/platform/platform.lua')
| -rw-r--r-- | xmake/scripts/platform/platform.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xmake/scripts/platform/platform.lua b/xmake/scripts/platform/platform.lua index bad7c8969..c2057e246 100644 --- a/xmake/scripts/platform/platform.lua +++ b/xmake/scripts/platform/platform.lua @@ -157,8 +157,12 @@ end -- make the current platform configure function platform.make() + -- get the platform + local plat = config.get("plat") + assert(plat) + -- make and get the current platform configure - return platform._configs(config.get("plat")) + return platform._configs(plat) end -- get the platform os |
