summaryrefslogtreecommitdiff
path: root/xmake/scripts/base/project.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2015-12-15 22:40:25 +0800
committerruki <[email protected]>2015-12-15 22:40:25 +0800
commit686e71f6395ea37d2c496e189cc18380841083b2 (patch)
tree2dfef3e61471fb201610d75a9217264b714cbc8d /xmake/scripts/base/project.lua
parentda041a08d3e2faf3bdb88e9699af4a54f7a50f99 (diff)
add more verbose info
Diffstat (limited to 'xmake/scripts/base/project.lua')
-rw-r--r--xmake/scripts/base/project.lua14
1 files changed, 7 insertions, 7 deletions
diff --git a/xmake/scripts/base/project.lua b/xmake/scripts/base/project.lua
index c9d7bd9b3..d7f81776a 100644
--- a/xmake/scripts/base/project.lua
+++ b/xmake/scripts/base/project.lua
@@ -674,7 +674,7 @@ function project._make_option_for_checking_links(opt, links, cfile, objectfile,
if ok then ok = linker.check_links(opt, links, cfile, objectfile, targetfile) end
-- trace
- utils.verbose("checking for the links %s ... %s", links_str, utils.ifelse(ok, "ok", "no"))
+ utils.printf("checking for the links %s ... %s", links_str, utils.ifelse(ok, "ok", "no"))
-- cache the result
project._CHECKED_LINKS[links_str] = ok
@@ -697,7 +697,7 @@ function project._make_option_for_checking_cincludes(opt, cincludes, cfile, obje
local ok = compiler.check_include(opt, cinclude, cfile, objectfile)
-- trace
- utils.verbose("checking for the c include %s ... %s", cinclude, utils.ifelse(ok, "ok", "no"))
+ utils.printf("checking for the c include %s ... %s", cinclude, utils.ifelse(ok, "ok", "no"))
-- cache the result
project._CHECKED_CINCLUDES[cinclude] = ok
@@ -724,7 +724,7 @@ function project._make_option_for_checking_cxxincludes(opt, cxxincludes, cxxfile
local ok = compiler.check_include(opt, cxxinclude, cxxfile, objectfile)
-- trace
- utils.verbose("checking for the c++ include %s ... %s", cxxinclude, utils.ifelse(ok, "ok", "no"))
+ utils.printf("checking for the c++ include %s ... %s", cxxinclude, utils.ifelse(ok, "ok", "no"))
-- cache the result
project._CHECKED_CXXINCLUDES[cxxinclude] = ok
@@ -750,7 +750,7 @@ function project._make_option_for_checking_cfuncs(opt, cfuncs, cfile, objectfile
if ok and opt.links then ok = linker.check_links(opt, opt.links, cfile, objectfile, targetfile) end
-- trace
- utils.verbose("checking for the c function %s ... %s", cfunc, utils.ifelse(ok, "ok", "no"))
+ utils.printf("checking for the c function %s ... %s", cfunc, utils.ifelse(ok, "ok", "no"))
-- failed
if not ok then return false end
@@ -773,7 +773,7 @@ function project._make_option_for_checking_cxxfuncs(opt, cxxfuncs, cxxfile, obje
if ok and opt.links then ok = linker.check_links(opt, opt.links, cxxfile, objectfile, targetfile) end
-- trace
- utils.verbose("checking for the c++ function %s ... %s", cxxfunc, utils.ifelse(ok, "ok", "no"))
+ utils.printf("checking for the c++ function %s ... %s", cxxfunc, utils.ifelse(ok, "ok", "no"))
-- failed
if not ok then return false end
@@ -793,7 +793,7 @@ function project._make_option_for_checking_ctypes(opt, ctypes, cfile, objectfile
local ok = compiler.check_typedef(opt, ctype, cfile, objectfile)
-- trace
- utils.verbose("checking for the c type %s ... %s", ctype, utils.ifelse(ok, "ok", "no"))
+ utils.printf("checking for the c type %s ... %s", ctype, utils.ifelse(ok, "ok", "no"))
-- failed
if not ok then return false end
@@ -813,7 +813,7 @@ function project._make_option_for_checking_cxxtypes(opt, cxxtypes, cxxfile, obje
local ok = compiler.check_typedef(opt, cxxtype, cxxfile, objectfile)
-- trace
- utils.verbose("checking for the c++ type %s ... %s", cxxtype, utils.ifelse(ok, "ok", "no"))
+ utils.printf("checking for the c++ type %s ... %s", cxxtype, utils.ifelse(ok, "ok", "no"))
-- failed
if not ok then return false end