Now I know this question pops-up frequently, but since I could not find a satisfying answer yet, I'm gonna ask here again:
现在我知道这个问题经常出现,但是由于我还没有找到一个满意的答案,所以我要再问一次:
I'd like to setup a cross-platform project for cocos2d-x using cmake.
我想用cmake来设置一个cocos2d-x的跨平台项目。
My intention would be to have the general setup in my CMakeLists.txt files and be able to use this setup for Windows and Mac development at the same time, so I would easily be able to test our progress on Windows Phone, Android, iOS (iPad), Blackberry, etc.
我的意图是在我的CMakeLists中设置一般的设置。txt文件可以同时使用Windows和Mac的开发,所以我可以很容易的测试我们在Windows Phone, Android, iOS (iPad),黑莓等方面的进展。
I don't want to drag and drop files to XCode every time I need to deploy the game on the iPad when I applied changes to my Visual Studio solution and vice versa (when a colleague made a change to the XCode project).
我不想每次需要在iPad上部署游戏时拖放文件到XCode中,当我对Visual Studio解决方案进行更改时,反之亦然(当一个同事对XCode项目做了更改)。
Now I found the ios-cmake project hereand the android-cmake here.
现在我在这里找到了ios-cmake项目和android-cmake。
Are they any good, i.e. are they still maintained and any good for developing with cocos2d-x?
它们有什么好处吗,比如它们仍然保持着,和cocos2d-x一起发展有什么好处吗?
Has anyone of you gathered any experience using cmake for cocos2d-x development or is there another common way to handle that kind of cross-system development with cocos2d-x? (I know there is the python script for the initial setup, but as I said, i need it to keep the project maintained at any time).
你们当中有没有人使用cmake来进行cocos2d-x开发,或者有另一种常见的方式来处理cocos2d-x的跨系统开发?(我知道初始设置有python脚本,但是正如我所说的,我需要它随时保持项目的维护)。
Thanks in advance!
提前谢谢!
1 个解决方案
#1
2
A year ago, Reuben Bond made a fork to crosscompile cocos2d-x, you can see it Here. Exist a pull request supported by the official cocos2d-x project Here 3 months ago for Linux only, and another with windows Here.
一年前,鲁本·邦德做了一个叉叉,用交叉编译cocos2d-x,你可以在这里看到。3个月前,在这里的官方cocos2d-x项目支持的一个pull请求只适用于Linux,而另一个则支持windows。
I'm interested on cross-compiling and I hope cocos2d-x V3 support it.
我对交叉编译感兴趣,希望cocos2d-x V3支持它。
#1
2
A year ago, Reuben Bond made a fork to crosscompile cocos2d-x, you can see it Here. Exist a pull request supported by the official cocos2d-x project Here 3 months ago for Linux only, and another with windows Here.
一年前,鲁本·邦德做了一个叉叉,用交叉编译cocos2d-x,你可以在这里看到。3个月前,在这里的官方cocos2d-x项目支持的一个pull请求只适用于Linux,而另一个则支持windows。
I'm interested on cross-compiling and I hope cocos2d-x V3 support it.
我对交叉编译感兴趣,希望cocos2d-x V3支持它。