使用Visual Studio为Mac OSX构建C ++应用程序

问题描述:

我们可以在Windows Visual Studio 2017解决方案中将项目配置为针对Linux或iOS,这两个项目都在本机计算机(分别是Linux或OSX)上进行远程编译和构建,而这本身就非常强大。但是,我们错过了一个
的东西吗?使用Visual Studio定位OSX的选项在哪里?如果目前不可能,考虑到我们已经需要连接到OSX机器来构建iOS,似乎不会太过分。

We can configure projects in a Windows Visual Studio 2017 solution to target Linux or iOS, both of which compile and build remotely on a native machine (Linux or OSX respectively), and this in and of itself is extremely powerful. But, are we missing one thing? Where is the option to target OSX using Visual Studio? If this is currently not possible, it seems like it wouldn't be too much of a stretch considering we already need to connect to an OSX machine to build iOS.

我问,因为我'我正在开发一个面向7个不同平台的C ++跨平台库,我最熟悉的是使用Visual Studio。我已经使用一个Visual Studio解决方案支持4个不同的平台,而Linux和iOS接下来会有
,因为它们有很好的教程,但到目前为止,OSX是我唯一不知道的。

I ask because I'm working on a C++ cross platform library that would target 7 different platforms, and I am most comfortable using Visual Studio. I already support 4 distinct platforms using a single Visual Studio solution, and Linux and iOS would come next as there are good tutorials for them, but OSX, so far, is the only unknown for me.

嗨CoreyShay,

Hi CoreyShay,

感谢您在这里发帖。

>>我问,因为我正在开发一个针对7个不同平台的C ++跨平台库,我最熟悉使用Visual Studio。我已经使用单个Visual Studio解决方案支持4个不同的平台,接下来会有Linux
和iOS,因为有很好的教程,但到目前为止,OSX是我唯一不知道的。

根据这个
博客
,OSX在不久的将来不在微软的计划中。如果您在
visualstudio.uservoice.com 上发布您的建议,那么人们可以对其投票,这可能会影响我们未来的计划。

According to this blog, OSX is not in Microsoft plans for the near future. If you post your suggestion on visualstudio.uservoice.com folks could vote on it and that can influence our future plans.

您的理解与合作将不胜感激。

Your understanding and cooperation will be grateful.

最诚挚的问候,

Baron Bi

Baron Bi