diff options
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. |
