diff options
| author | ruki <waruqi@gmail.com> | 2019-05-13 22:56:15 +0800 |
|---|---|---|
| committer | ruki <waruqi@gmail.com> | 2019-05-13 11:37:34 +0800 |
| commit | ced9fbfb71fcffc8d9286b20dbd0b921ff09d41c (patch) | |
| tree | 26e31dc188f00317602396b9c6b058096bf8c5f5 /manual.md | |
| parent | 8334850371c950c61cd91085c80b34dc79f38155 (diff) | |
| download | xmake-docs-ced9fbfb71fcffc8d9286b20dbd0b921ff09d41c.tar.gz xmake-docs-ced9fbfb71fcffc8d9286b20dbd0b921ff09d41c.zip | |
modify docs
Diffstat (limited to 'manual.md')
| -rw-r--r-- | manual.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -457,6 +457,10 @@ set_xmakever("2.1.0") ###### Add sub-project directories +<p class="tips"> +For xmake 2.x and above, try to use the [includes](#includes) interface, which is a generic version of add_subdirs and add_subfiles, and supports some built-in extensions. +</p> + This interface will add sub-project directories to the current `xmake.lua`, it will load the `xmake.lua` file of the sub-directories. For example, assume we have the following project directory tree: @@ -491,6 +495,10 @@ $ xmake build tbox ###### Add sub-project files +<p class="tips"> +For xmake 2.x and above, try to use the [includes](#includes) interface, which is a generic version of add_subdirs and add_subfiles, and supports some built-in extensions. +</p> + `add_subfiles` is similar to [add_subdirs](#add_subdirs). The only difference is that this interface specifies the path to the 'xmake.lua' file directly, rather than a directory. |
