-
-
Notifications
You must be signed in to change notification settings - Fork 784
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
Path with xxx-include not included in pch #5270
Comments
Xmake versionxmake v2.9.3+dev.7f0f823bc Operating system version and architectureWindows 11 Describe the problemWhen the add_includedirs path is xxx-include, such as modules/my-include, the pch defined by set_pcxxheader will not be compiled correctly include Expected resultsNormally accept include Project configurationadd_includedirs("test/my-include"); Additional information and error logsfatal error: 'xx.h' file not found |
给个完整 project example |
Give a complete project example |
再试试,#5284 |
没问题了。 |
No problem. |
Xmake 版本
xmake v2.9.3+dev.7f0f823bc
操作系统版本和架构
Windows 11
描述问题
当add_includedirs 路径为 xxx-include,如 modules/my-include 时,set_pcxxheader 定义的pch编译不会正确 include
期待的结果
正常接受 include
工程配置
add_includedirs("test/my-include");
set_pcxxheader("pch.h");
附加信息和错误日志
fatal error: 'xx.h' file not found
The text was updated successfully, but these errors were encountered: