visual-studio 在 netbeans 中使用 Visual Studio C++ 编译器

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1506630/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-22 11:03:47  来源:igfitidea点击:

Using visual studio c++ compiler in netbeans

c++visual-studiocompiler-constructionnetbeans

提问by changed

I want to develop a few assignments in C++ on Windows, but Visual Studio does not provide a few user functions that make development a real pain to go without. Can someone help me with setting up the Netbeans C++ environment to use the same compiler that Visual Studio is using?

我想在 Windows 上用 C++ 开发一些作业,但 Visual Studio 没有提供一些用户功能,这些功能使开发变得非常痛苦。有人可以帮助我设置 Netbeans C++ 环境以使用 Visual Studio 使用的相同编译器吗?

回答by Alexey

NetBeans supports so called Tool Collection Descriptors, which are XML files telling NetBeans how to work with specific compiler collection. By default descriptors for Cygwin and MinGW are shipped. But it should be possible to create your own descriptor for Visual Studio and install it into NetBeans.

NetBeans 支持所谓的工具集合描述符,它们是告诉 NetBeans 如何使用特定编译器集合的 XML 文件。默认情况下,Cygwin 和 MinGW 的描述符被提供。但是应该可以为 Visual Studio 创建自己的描述符并将其安装到 NetBeans 中。

See this tutorial: http://www.netbeans.org/kb/docs/cnd/toolchain.html

请参阅本教程: http://www.netbeans.org/kb/docs/cnd/toolchain.html

回答by Maxime Viargues

I am currently writing a plugin/toolchain to use Visual C++ on Netbeans.
You can find the project called VCC4N on source forgeor on NetBeans plugins.

我目前正在编写一个插件/工具链以在 Netbeans 上使用 Visual C++。
您可以在 sourceforge或NetBeans 插件找到名为 VCC4N 的项目。