Hello,
In the process of creating a multi-platform 3D engine, I am currently
having hard times configuring Eclipse properly to handle my project
structure. What is causing my problems is the fact that my project has
a fairly complex structure. I'll try to explain:
My test application uses a custom GLSurfaceView (a derivation of
GLSurfaceView) which is declared and implemented in my SDK. The
application contains Java and C++ code, and so does the SDK. So, each
one produces a JAR archive, and a so library. The SDK's so library's C+
+ code is linked against several static libraries (some third-party,
and 3 internal).
The directory structure is as follows:
some_dir
|-->Products
| |--> MyApp
| | |--> Src
| | | |--> *.cpp & *.java files (in subdirs)
| | |--> Inc
| | | |--> *.h files
| | |--> Makefiles
| | | |--> Android
| | | | |--> Makefile, build.xml, res/,
AndroidManifest, ...
|--> SDK
| |--> Lib1
| | |--> Src
| | | |--> *.cpp files
| | |--> Inc
| | | |--> *.h files
| | |--> Makefiles
| | | |--> Android
| | | | |--> Makefile
| |--> Lib2
| | |--> Src
| | | |--> *.cpp files
| | |--> Inc
| | | |--> *.h files
| | |--> Makefiles
| | | |--> Android
| | | | |--> Makefile
| |--> Lib3
| | |--> Src
| | | |--> *.cpp files
| | |--> Inc
| | | |--> *.h files
| | |--> Makefiles
| | | |--> Android
| | | | |--> Makefile
| |--> MySDK
| | |--> Src
| | | |--> *.cpp & *.java files (in subdirs)
| | |--> Inc
| | | |--> *.h files
| | |--> Makefiles
| | | |-->Android
| | | | |--> Makefile
So long I have been able to build the full bundle using makefiles.
Each project can be compiled in several flavors (depending on target
devices hardware capabilities, debug/release mode, OpenGLES1 or
OpenGLES2 ).
I would like to use the Eclipse IDE for convenience. I have managed to
import the projects and trigger their build through ant & make
scripts, but I haven't found a way to easily configure what "flavor" I
want to build. Also,I can only create my project as "General/Project"
type, which does not seem to be aware of methods, classes, etc...
Eclipse projects are in the "Makefiles/Android" directories.
What I would like is a way to handle:
- source "out-of-project-tree"
- android mixed java/c++ projects (JNI + SWIG + so) which are not
applications
- Compile configurations (debug/release, GLES1/GLES2, ...)
Is there any ?
Thanks,
Florent.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
To unsubscribe, reply using "remove me" as the subject.