summaryrefslogtreecommitdiff
path: root/xmake/plugins/macro/macros/package.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-07-10 16:07:52 +0800
committerruki <[email protected]>2016-07-10 16:07:52 +0800
commite281ea26c19103dcbc7f951a8592eeb6a1ff63a3 (patch)
treeb2ef3ea44478ad5d7ec5cf3f1a11e65213fd379b /xmake/plugins/macro/macros/package.lua
parentfd39adb3d959e605370098a72ec7e92b462fce62 (diff)
parse includes from cl.exe
Diffstat (limited to 'xmake/plugins/macro/macros/package.lua')
-rwxr-xr-xxmake/plugins/macro/macros/package.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/plugins/macro/macros/package.lua b/xmake/plugins/macro/macros/package.lua
index 04947c6d8..ee7e5ca72 100755
--- a/xmake/plugins/macro/macros/package.lua
+++ b/xmake/plugins/macro/macros/package.lua
@@ -55,13 +55,13 @@ function main(argv)
for _, arch in ipairs(platform.archs(plat)) do
-- config it
- os.exec("xmake f -p %s -a %s %s -c", plat, arch, args.config or "")
+ os.exec("xmake f -p %s -a %s %s -c %s", plat, arch, args.config or "", ifelse(option.get("verbose"), "-v", ""))
-- package it
if args.outputdir then
- os.exec("xmake p -o %s", args.outputdir)
+ os.exec("xmake p -o %s %s", args.outputdir, ifelse(option.get("verbose"), "-v", ""))
else
- os.exec("xmake p")
+ os.exec("xmake p %s", ifelse(option.get("verbose"), "-v", ""))
end
end