Windows Visual Studio 2008中的Unix Makefile [英] Unix Makefile in Windows Visual Studio 2008
问题描述
我已经进行了不错的搜索,但是似乎找不到找到一种方法来使Visual Studio 2008使用UNIX Makefile,甚至无法从Makefile创建与MSVC兼容的等效文件.有人有想法或类似问题吗?
I've done a decent search, but can't seem to find a way to get Visual Studio 2008 to use a unix Makefile, or even to create some MSVC compatible equivalent from the Makefile. Does anyone have ideas or similar issues?
注意:我已经知道使用或不使用Makefile的好处/缺点,并且我不想听到您的意见.我现在只想用一些最初的UNIX代码(仅包含一个Makefile)创建一个Windows库,并从中获取功能.
Note: I already know the benefits/drawbacks of using Makefiles or not, and I don't want to hear your opinion. All I'm interested in right now is creating a Windows library from some originally unix code which only has a Makefile, and getting something functional out of it.
TIA.
推荐答案
您也可以将 cccl 与为Windows制作.
cccl是围绕Microsoft的包装 Visual C ++的cl.exe和link.exe.它 将Unix编译器参数转换为 cl和link可以理解的参数.
cccl is a wrapper around Microsoft Visual C++'s cl.exe and link.exe. It converts Unix compiler parameters into parameters understood by cl and link.
这篇关于Windows Visual Studio 2008中的Unix Makefile的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!