Replies: 2 comments
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
主要是想使用 target:set_sourcedir 的功能,减少路径拼接 和 includes add_subdirs 都是没有关系的 local lib_home = xxx
target("zlib")
set_kind("static")
add_files(lib_home .. "/*.c")
add_files(lib_home .. xxx) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
你在什么场景下需要该功能?
workdir
----src
----3rd
----xmgr
xmake.lua
3rd 中只放 github 拖下来的源码不写额外的工程文件
描述可能的解决方案
xmake.lua
xmgr/xmake.lua
xmgr/zlib.lua
描述你认为的候选方案
No response
其他信息
No response
Beta Was this translation helpful? Give feedback.
All reactions