如何从visual studio解决方案生成makefile? [英] How generate makefile from visual studio solution?

查看:1763
本文介绍了如何从visual studio解决方案生成makefile?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有办法吗?在我总是使用devenv之前,通过IDE调整项目设置并添加第三方库,只需将它们拖到项目中并在设置中引用它们即可。现在我需要使用makefile
来提供源代码,而我对CMake一无所知。有没有一种从visual c ++解决方案生成makefile的自动方法?或者至少有一些指南显示解决方案和makefile设置之间的映射,所以我可以手动创建一个makefile?

Is there a way to do that? Before I always used devenv, tweaked project settings through IDE and added third party libraries by just dragging them to the project and referencing them in settings. Now I am required to provive source code with just makefile and I know nothing about CMake. Is there an automatic way to generate makefile from visual c++ solution? Or at least some guide that shows mapping between solution and makefile settings so I could manually create a makefile?

推荐答案

你好,

您使用哪个VS版本?

如果是VS 2015,请阅读:
https://stackoverflow.com/questions/34083466/how-to-export-a-makefile-from-a -visual-studio-2015-c-Project

If VS 2015, read this: https://stackoverflow.com/questions/34083466/how-to-export-a-makefile-from-a-visual-studio-2015-c-Project

问候,Guido


这篇关于如何从visual studio解决方案生成makefile?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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