With Cocos2d-x 2.1.4, I used the following Python script to generate project files for a game using Lua.
This created the game’s directory under cocos2d-x-2.1.4/projects. I do not want it there, I want to put it into a git repo with other things (e.g. art assets).
I can move it easily enough, but the generated project for BlackBerry 10 is all hardcoded to look for header files in paths such as …/…/…/…/cocos2dx. In other words, it assumes the project directory isn’t moved from where it is created. Same for linking libraries.
Are all the generated project files going to be like this?
It would be much better if they worked off an environment variable, or a project setting, or something like that. For example, in Eclipse you can reference something in the workspace instead of directly in the file system.
Suggestions for dealing with this issue?