如何使用makeFile使用visual studio编译代码 [英] How to compile code with visual studio using makeFile

查看:206
本文介绍了如何使用makeFile使用visual studio编译代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好。

我刚刚下载了一个开源项目,据说是使用visual studio c ++编译的。它包含3个makeFiles(makeFile,makeFile(1)和makeFile(2))

我总是使用.sln文件在VS中打开程序,现在我不知道如何处理这个makeFile。 />
有人可以指导我如何处理它。



问候

解决方案

Visual Studio有一个特殊类型的项目,称为Makefile Project,它允许您使用自己的make文件和其他命令行工具来构建项目。参见



MSDN VisualStudio 2005 Makefile项目 [ ^ ]



在这样的项目中,你可以使用makeof实用程序的微软版本,称为NMAKE来构建你的项目。



所有这些都适用于VS 2005.我不确定VS的新版本是否仍支持此功能。


你可以在Visual Studio中使用等效的MakeFIle。

这称为MSBuild [ ^ ]。

Hello every one
I have just downloaded a open source project which is said to be compiled using visual studio c++. It contains 3 makeFiles (makeFile, makeFile(1) and makeFile(2) )
I always open programs in VS using the .sln files and now I dont know what to do with this makeFile.
can anyone instruct me how to deal with it please.

regards

解决方案

Visual Studio has a special type of project, called Makefile Project, that allows you to use your own make file and other command line tools to build your project. See

MSDN VisualStudio 2005 Makefile Project[^]

In such a project you can use for example Microsofts version of the make utility, called NMAKE, to build your project.

All this applies to VS 2005. I am not sure whether newer versions of VS still support this.


You can use the equivalent of MakeFIle in Visual Studio.
This is called MSBuild[^].


这篇关于如何使用makeFile使用visual studio编译代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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