From e281ea26c19103dcbc7f951a8592eeb6a1ff63a3 Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 10 Jul 2016 16:07:52 +0800 Subject: parse includes from cl.exe --- xmake/plugins/macro/macros/package.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xmake/plugins/macro') 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 -- cgit v1.3.1