如何从visual studio解决方案生成makefile?

编程入门 行业动态 更新时间:2024-10-20 07:43:42
本文介绍了如何从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,请阅读: stackoverflow/questions/34083466/how-to-export-a-makefile-from-a -visual-studio-2015-c-Project

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

问候,Guido

更多推荐

如何从visual studio解决方案生成makefile?

本文发布于:2023-11-13 14:40:34,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1584603.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:解决方案   visual   studio   makefile

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!