Closed juj closed 11 years ago
Instead of
Yeah, I'm not digging the repo root level "android" folder either, tools would fit like a glove :) But don't wanna bug you guys with extra work for cosmetic things either if it requires a lot of code/script changes.
I don't know if it makes any difference, but note that it contains more than just tools, as there's the whole modified Necessitas java part.
It would make sense to put those under src
. For example the build script parts to tools/android
and needed code to src/Core/Android
or src/Core/TundraAndroid
as its probably the Tundra "executable" for android what code you have there.
Doing something like build/Android/ sounds like an option. I don't like the tools/ folder at all, it's currently a generic place to stash various utility scripts for various build platforms. I favor having a separate build directory for each platform, see e.g. https://github.com/juj/MathGeoLib , and eventually migrating to support out-of-source builds for Tundra, which would allow a cleanly coexisting debug and release build in linux and osx.
Separating the source files to different places is not an option, since the directory structure must follow the hierarchy dictated by the Android SDK project tool. /android is the project root folder.
Idea of cleaning up /tools and having separate directory for each supported platform sounds good.
Implements Android build chain. Tested on Android x86 ABI.
A lot of todos on that front, but works in a proof-of-concept form.