diff options
| author | ruki <[email protected]> | 2015-12-15 22:40:25 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2015-12-15 22:40:25 +0800 |
| commit | 686e71f6395ea37d2c496e189cc18380841083b2 (patch) | |
| tree | 2dfef3e61471fb201610d75a9217264b714cbc8d /xmake/scripts/base/compiler.lua | |
| parent | da041a08d3e2faf3bdb88e9699af4a54f7a50f99 (diff) | |
add more verbose info
Diffstat (limited to 'xmake/scripts/base/compiler.lua')
| -rw-r--r-- | xmake/scripts/base/compiler.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/scripts/base/compiler.lua b/xmake/scripts/base/compiler.lua index 22e7d8e53..530c70a29 100644 --- a/xmake/scripts/base/compiler.lua +++ b/xmake/scripts/base/compiler.lua @@ -464,7 +464,7 @@ function compiler.check_include(opt, include, srcpath, objpath) if not module then return end -- execute the compile command - return module:main(compiler._make_for_option(module, opt, srcpath, objpath, xmake._NULDEV)) + return module:main(compiler._make_for_option(module, opt, srcpath, objpath, utils.ifelse(xmake._OPTIONS.verbose, nil, xmake._NULDEV))) end -- check function for the project option @@ -508,7 +508,7 @@ function compiler.check_function(opt, interface, srcpath, objpath) srcfile:close() -- execute the compile command - return module:main(compiler._make_for_option(module, opt, srcpath, objpath, xmake._NULDEV)) + return module:main(compiler._make_for_option(module, opt, srcpath, objpath, utils.ifelse(xmake._OPTIONS.verbose, nil, xmake._NULDEV))) end -- check typedef for the project option @@ -552,7 +552,7 @@ function compiler.check_typedef(opt, typedef, srcpath, objpath) srcfile:close() -- execute the compile command - return module:main(compiler._make_for_option(module, opt, srcpath, objpath, xmake._NULDEV)) + return module:main(compiler._make_for_option(module, opt, srcpath, objpath, utils.ifelse(xmake._OPTIONS.verbose, nil, xmake._NULDEV))) end -- return module: compiler |
