From ecbd0d9d2540d182ba5817df31d1028153af3f0a Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 22 Feb 2018 00:54:12 +0800 Subject: update index faq --- README.md | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 30e007c4..857dbb20 100644 --- a/README.md +++ b/README.md @@ -682,12 +682,36 @@ And add `--backtrace` to get the verbose backtrace info, then you can submit the $ xmake -v --backtrace ``` -#### How to see verbose compiling warnings and arguments? +#### How to see verbose compiling warnings? ```bash -$ xmake [-v|--verbose] +$ xmake [-w|--warning] ``` +#### How to scan source code and generate xmake.lua automaticlly + +You only need run the following command: + +```bash +$ xmake +``` + +xmake will scan all source code in current directory and build it automaticlly. + +And we can run it directly. + +```bash +$ xmake run +``` + +If we only want to generate xmake.lua file, we can run: + +```bash +$ xmake f -y +``` + +If you want to known more information please see [Scan source codes and build project without makefile](http://tboox.org/2017/01/07/build-without-makefile/) + ## Backers Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/xmake#backer)] -- cgit v1.2.3