gdx-backend-jtransc is a backend for gdx that works on html5 and C++ (desktop and mobile [android and ios]) with just one target.
It uses internally lime crossplatform Haxe library.
Benefits over other alternatives:
- On Desktop: Native C++. No JVM required. Package in a single executable. Fast startup.
- On Flash: Not yet ready. Will have to emulate shaders (or provide somehow as binary).
You can see the library here: https://github.com/jtransc/gdx-backend-jtransc