xmake引用第三方库时,如何将header添加进当前项目文件夹中 #3994
Replies: 1 comment 4 replies
-
库安装目录都是这样的: - f
- fmt
- version
- hash
- bin -> .dll/.exe
- lib -> .lib/.a
- include -> .h/.hpp
这里可能是包没有正确安装头文件导致的,也有可能 flags 没加上,建议先找下原因。 |
Beta Was this translation helpful? Give feedback.
4 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.
-
问题:
我希望在build项目时,把第三方库生成的hearder加入到我root项目下的include文件夹中,方便vscode clangd进行代码提示和补全,还是说主流的做法是到第三方编译好的目录把头文件都拷贝一下到自己项目中,如果有很多依赖库是不是要拷贝很多次?
Beta Was this translation helpful? Give feedback.
All reactions