开发者

Generate an xcodeproj

I know this might sound a bit strange but I'd need to generate a xcodeproj automatically. Basically scanning the filesystem and adding certain files to the project and to a specific target.

The main reason behind this, is that I work in an zero IDE environment. Thus, we have our own build system and source files are added and removed all the time.

I could use "create folder references for any added folders". However, xcode won't ever parse source files if they aren't part of any target. So, no symbols, no code completion...

To me, my only option would be to "auto-update" my xcodeproj with a scri开发者_如何学JAVApt...

Thanks in advance for your inputs!


Cmake is one option (see this related question) and there's also Scons which I think can generate Xcode projects. There's also Qt's qmake which can generate the project files, but this is probably overkill unless you're using full Qt.


You can either user AppleScript (or anything OSA-compatible) to automate the process of creating the project in Xcode itself, or you could look at CMake, which is able to generate Xcode project files.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜