-
-
Notifications
You must be signed in to change notification settings - Fork 817
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
Ninja 配置文件生成错误 #3082
Comments
再试试 xmake update -s dev |
|
我没怎么用过 msvc,不清楚这是我的安装问题还是 xmake |
如果你走 xmake 直接编译,那么 xmake 会自动加载 msvc 环境,但是你走 ninja 生成,ninja 不会给你加载 msvc 环境,没有 msvc 的各种环境变量,你只能在 vc prompt cmd 下运行才行。 这跟 xmake 没啥关系。 另外,xmake 编译速度原本就跟 ninja 一样快,没必要还去额外生成 ninja 再去用 ninja 编译。 |
原来如此明白了。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Xmake 版本
xmake v2.7.3+HEAD.b35ff3118
操作系统版本和架构
Windows 10 Pro for Workstations 22H2 19045.2251
描述问题
期待的结果
生成正确的 build.ninja
工程配置
默认的
附加信息和错误日志
No response
The text was updated successfully, but these errors were encountered: