diff options
| author | ruki <[email protected]> | 2016-07-13 22:22:34 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-07-13 22:22:34 +0800 |
| commit | e9d8482903f7f765e1141d6cddea67cb9a1d7288 (patch) | |
| tree | 4ac792ff189a9c18efb35b32471450ecf15b2871 /xmake/core/project/option.lua | |
| parent | 526ddbb858b9c49589ff071442b1cefe6913b182 (diff) | |
print colors
Diffstat (limited to 'xmake/core/project/option.lua')
| -rw-r--r-- | xmake/core/project/option.lua | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/xmake/core/project/option.lua b/xmake/core/project/option.lua index af727808f..0056a28cb 100644 --- a/xmake/core/project/option.lua +++ b/xmake/core/project/option.lua @@ -236,7 +236,7 @@ function option:_check_links(cfile, objectfile, targetfile) if ok then ok = self:_check_link(cfile, objectfile, targetfile) end -- trace - utils.printf("checking for the links %s ... %s", links_str, utils.ifelse(ok, "ok", "no")) + utils.print("checking for the links %s ... %s", links_str, utils.ifelse(ok, "ok", "no")) -- cache the result option._CHECKED_LINKS[links_str] = ok @@ -259,7 +259,7 @@ function option:_check_cincludes(cfile, objectfile) local ok = self:_check_include(cinclude, cfile, objectfile) -- trace - utils.printf("checking for the c include %s ... %s", cinclude, utils.ifelse(ok, "ok", "no")) + utils.print("checking for the c include %s ... %s", cinclude, utils.ifelse(ok, "ok", "no")) -- cache the result option._CHECKED_CINCLUDES[cinclude] = ok @@ -286,7 +286,7 @@ function option:_check_cxxincludes(cxxfile, objectfile) local ok = self:_check_include(cxxinclude, cxxfile, objectfile) -- trace - utils.printf("checking for the c++ include %s ... %s", cxxinclude, utils.ifelse(ok, "ok", "no")) + utils.print("checking for the c++ include %s ... %s", cxxinclude, utils.ifelse(ok, "ok", "no")) -- cache the result option._CHECKED_CXXINCLUDES[cxxinclude] = ok @@ -316,7 +316,7 @@ function option:_check_cfuncs(cfile, objectfile, targetfile) if ok and self:get("links") then ok = self:_check_link(cfile, objectfile, targetfile) end -- trace - utils.printf("checking for the c function %s ... %s", checkname, utils.ifelse(ok, "ok", "no")) + utils.print("checking for the c function %s ... %s", checkname, utils.ifelse(ok, "ok", "no")) -- failed if not ok then return false end @@ -343,7 +343,7 @@ function option:_check_cxxfuncs(cxxfile, objectfile, targetfile) if ok and self:get("links") then ok = self:_check_link(cxxfile, objectfile, targetfile) end -- trace - utils.printf("checking for the c++ function %s ... %s", checkname, utils.ifelse(ok, "ok", "no")) + utils.print("checking for the c++ function %s ... %s", checkname, utils.ifelse(ok, "ok", "no")) -- failed if not ok then return false end @@ -363,7 +363,7 @@ function option:_check_ctypes(cfile, objectfile, targetfile) local ok = self:_check_typedef(ctype, cfile, objectfile) -- trace - utils.printf("checking for the c type %s ... %s", ctype, utils.ifelse(ok, "ok", "no")) + utils.print("checking for the c type %s ... %s", ctype, utils.ifelse(ok, "ok", "no")) -- failed if not ok then return false end @@ -383,7 +383,7 @@ function option:_check_cxxtypes(cxxfile, objectfile, targetfile) local ok = self:_check_typedef(cxxtype, cxxfile, objectfile) -- trace - utils.printf("checking for the c++ type %s ... %s", cxxtype, utils.ifelse(ok, "ok", "no")) + utils.print("checking for the c++ type %s ... %s", cxxtype, utils.ifelse(ok, "ok", "no")) -- failed if not ok then return false end |
