From ced9fbfb71fcffc8d9286b20dbd0b921ff09d41c Mon Sep 17 00:00:00 2001 From: ruki Date: Mon, 13 May 2019 22:56:15 +0800 Subject: modify docs --- manual.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'manual.md') diff --git a/manual.md b/manual.md index c3bdb388..c8c10b72 100644 --- a/manual.md +++ b/manual.md @@ -457,6 +457,10 @@ set_xmakever("2.1.0") ###### Add sub-project directories +

+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. +

+ 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 +

+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. +

+ `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. -- cgit v1.2.3