realXtend / tundra

realXtend Tundra SDK, a 3D virtual world application platform.
www.realxtend.org
Apache License 2.0
84 stars 70 forks source link

Android #574

Closed juj closed 11 years ago

juj commented 11 years ago

Implements Android build chain. Tested on Android x86 ABI.

A lot of todos on that front, but works in a proof-of-concept form.

Stinkfist0 commented 11 years ago

Instead of /android, maybe /tools/Android would be more logical place for the Android-related build etc. scripts?

jonnenauha commented 11 years ago

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.

cadaver commented 11 years ago

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.

jonnenauha commented 11 years ago

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.

juj commented 11 years ago

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.

Stinkfist0 commented 11 years ago

Idea of cleaning up /tools and having separate directory for each supported platform sounds good.