-
-
Notifications
You must be signed in to change notification settings - Fork 783
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
安装 target a 时,依赖的 target b 的头文件未被安装 #5822
Comments
Title: When installing target a, the header file of dependent target b is not installed. |
不是 bug,之前安装的逻辑有点混乱,2.9.6 上捋顺改进了下。。 目前新策略, 如果 target a 是 binary ,它的所有依赖的 target headerfiles 不会安装, 没必要。安装 binary a ,它本身不会用到头文件。 |
感谢。我修改为 |
grateful. There was no problem after I modified it to |
Xmake 版本
xmake v2.9.6 dev.3b4a8be
操作系统版本和架构
Linux a7b5f95675d7 5.14.0-70.13.1.el9_0.x86_64 #1 SMP PREEMPT Wed May 25 21:01:57 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
描述问题
target a 依赖了 target b,a 和 b 都有 add_headerfiles。当指定安装 target a 时,target b 导出的头文件没有被安装。
在 xmake 2.9.3 时,b 的头文件会一起被安装。升级到 xmake 2.9.6 时好像 break 掉了。
期待的结果
target 的依赖会一起被安装。
工程配置
附加信息和错误日志
The text was updated successfully, but these errors were encountered: