summaryrefslogtreecommitdiff
path: root/xmake/core/project/deprecated/project.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-07-17 23:40:30 +0800
committerruki <[email protected]>2017-07-17 23:40:30 +0800
commit2a8458eb016b682f815a26b90ab65abd9e67b37a (patch)
tree7aabde3aadf09029138566027b1b0a0c1b4fb4e7 /xmake/core/project/deprecated/project.lua
parent7cac00bb9cace801c6db9758d2a01d2711738926 (diff)
add includes api instead of add_subdirs and add_subfiles
Diffstat (limited to 'xmake/core/project/deprecated/project.lua')
-rw-r--r--xmake/core/project/deprecated/project.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/project/deprecated/project.lua b/xmake/core/project/deprecated/project.lua
index 4636a35e9..1b86b45e3 100644
--- a/xmake/core/project/deprecated/project.lua
+++ b/xmake/core/project/deprecated/project.lua
@@ -47,14 +47,14 @@ function deprecated_project._api_add_pkgdirs(interp, ...)
end
-- add all packages
- interp:api_builtin_add_subdirs(pkgdirs)
+ interp:api_builtin_includes(pkgdirs)
end
-- load the given packages
function deprecated_project._api_add_pkgs(interp, ...)
-- add all packages
- interp:api_builtin_add_subdirs(...)
+ interp:api_builtin_includes(...)
end
-- load all packages from the given directories