Skip to content

CMake need to improve, record ideas #18717

@drelaptop

Description

@drelaptop
  • cocos2d-x version: latest in github

  • 1. info.plist is always created when -GXcode, it's bad friendly for custom info.plist

    • can't find a method to solve this for now, most cmake use template info.plist
  • 2. iOS target and macOS can't be in one project, some complex for switch

  • 3. write cmake docs, how to use step by step, add link in main readme.md

  • 4. sub-dir tree of header files isn't include in Xcode or VS project

  • 5. supply simple python script to execute pre-defined shell command, let cmake easy to use

    • plan to do it, in the future, it's better finish this before 3.17 next milestone released.
  • 6. delete the old project build files or not if cmake can do build well

    • the cmake build isn't so good as the older way for iOS platform, need to find a solution
    • might have to wait 4.0 version to do this
  • 7. cmake support pre-compiled headers, to increase the compile speed

    • no plan to do it recently, hope cocos2d-x forum help
  • 8. What about cmake and cocos2d-x-3rd-party-libs?

  • 9. Lua Template project on win32, exist different behavior between run with VS and double-click run on Explorer

refer to: https://stackoverflow.com/questions/23950887/does-cmake-offer-a-method-to-set-the-working-directory-for-a-given-build-system

  • 10. using prebuilt libs on Android Gradle Build, we must set COCOS_PREBUILT_ROOT to finger the prebuilt libs root library.

  • 11. [High Priority] Resource files didn't update before build a target in Xcode, need to solve this issue,

    • temp solution is re-execute cmake .. in the generated Xcode project folder
  • 12. cmake build support mingw on Windows, more than 2 developers asked this

    • no plan yet, might do it in future
  • 13. build APK for android on pure cmake build

    • I think it's impossiable until Google support this firstly.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions