我可以强制Visual Studio使用mingw编译器吗 [英] Can I force visual studio to use mingw compiler

查看:845
本文介绍了我可以强制Visual Studio使用mingw编译器吗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不喜欢qt creator作为IDE并且喜欢VS,但是我必须使用完全mingw编译器.悲伤的故事:'(

I don't like qt creator as IDE and love VS, but I must use exactly mingw compiler. Sad story :'(

推荐答案

只需设置一个makefile项目-这样,您就可以告诉VC运行什么命令来编译文件.

Just set up a makefile project - that way you can tell VC what command to run to compile your files.

除了Visual Studio项目之外,您还必须维护一个makefile,但这并不是一个太大的问题,因为在这种情况下,VS项目只是您希望Visual Studio知道的文件列表.

You have to maintain a makefile in addition to the Visual Studio project, but that's really not too big of a problem since in that case the VS project becomes just a list of the files you want Visual Studio to know about.

不幸的是,在这种情况下,VS调试器没有用,但是所有IDE的代码导航都可以正常工作.

Unfortunately, the VS debugger is not useful in this scenario, but all of the IDE's code navigation works fine.

这篇关于我可以强制Visual Studio使用mingw编译器吗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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