It seems our build system could use some unification - it’s very good that everything works, but it would be lovely if we could unify the different build systems into one.
Others have looked at CMake in the past, but I’d like for us to take another look and hopefully drive adoption.
Project forked at https://github.com/ReubenBond/cocos2d-x (I’m working on the gles20 branch for some reason). CMake is successfully building the HelloCpp sample on Linux with preliminary work done for Android using the android-cmake project.
I’ll keep charging ahead regardless, because this is useful to me, but please do go and check it out, provide suggestions and/or pull requests.
Are you still working on this? Sometimes I use Cmake to crosscompile in Windows, Linux, Android and iOS and its awesome to develop. Tell me if you want some help.
Today Jetbrains released an early preview of the cross-platform C++ IDE called Clion.
Clion supports CMake build system and has lua and js plugins.If the build system was ported to CMake, cocos2d-x would get a cool cross-platform IDE with lots of useful features like static analysis and automated refactoring out of the box.
Thanks, but it’s not my pr, anyway good feature. And if some other pr’s from newnon was ignored too, I’m not sure if he will get back to that pr… time time…
Now I have time to improve that, and thinking how to do that, however no good idea for now, so I came to forum and want to get some help about it. Would you like share you ideas with me? I wonder whether some project like cocos2d-x having much library to link, and using CMake as build system exist. which I can refer to.