diff options
| author | ruki <[email protected]> | 2018-12-05 00:32:14 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-12-04 23:29:11 +0800 |
| commit | 80d75d7bb8b1635562bc7bd6a0a54cdf9715cdb2 (patch) | |
| tree | d95308f5e1bde457dbcb2b83cf25aff8db6b4172 /xmake/core/project | |
| parent | 691915c6ff4629fc53337615a1a8c63a880c5633 (diff) | |
dump table
Diffstat (limited to 'xmake/core/project')
| -rw-r--r-- | xmake/core/project/config.lua | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/xmake/core/project/config.lua b/xmake/core/project/config.lua index 71d28b1be..631ff65d8 100644 --- a/xmake/core/project/config.lua +++ b/xmake/core/project/config.lua @@ -282,7 +282,14 @@ end -- dump the configure function config.dump() if not option.get("quiet") then - table.dump(config.options(), "__%w*", "configure") + utils.print("configure") + utils.print("{") + for name, value in pairs(config.options()) do + if not name:startswith("__") then + utils.print(" %s = %s", name, value) + end + end + utils.print("}") end end |
