开发者

Converting a makefile to an Xcode project

So here's my dilemma. I am familiar with compiling programs from makefiles on the command line. I am more than familiar with compiling programs in Xcode. My question is - Is there a straightforward process for converting a makefile to an Xcode project?

Just to be clear, I know how to build an Xcode project with an external target. This is not what I am looking to do.

I want to add this to be a little more clear. I am porting a game written in C++ utilizing libSDL to iOS 3.2. I, therefore, have no choice but to convert the makefile to an Xcode proj开发者_高级运维ect.


Have you looked at cmake ? I haven't used it myself but apparently it can generate Xcode project files.


Except for using the "External Build System" project template (which sounds like not what you want), there is no Makefile import tool in Xcode. What features are you missing by using an external target, however? You can still use Xcode, of course. You won't be able to use the build settings UI, but you claim to be comfortable enough with Make to not need it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜