CMake:为其他平台使用生成器。怎么样? [英] CMake: Use generators for other platforms. How?

查看:266
本文介绍了CMake:为其他平台使用生成器。怎么样?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用CMake,如何在Linux上生成Visual Studio项目文件?

Using CMake, how can one generate Visual Studio project files on Linux?

推荐答案

您必须在Windows上运行CMake以为Visual Studio生成。

You can't. You have to run CMake on Windows to generate for Visual Studio.

这篇关于CMake:为其他平台使用生成器。怎么样?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆