Coming soon....ish.
Build tools for rosjava and android repositories. Currently includes some cmake macros and python creation scripts.
> mkdir -p ~/rosjava/src
> cd ~/rosjava/src
> catkin_init_workspace .
> wstool init .
> wstool set rosjava_build_tools --git https://github.com/rosjava/rosjava_build_tools -v hydro-devel
> wstool set rosjava_core --git https://github.com/rosjava/rosjava_core -v hydro-devel
> wstool update
> cd ~/rosjava
> catkin_make
The only changes made to the rosjava_core
repo was to add a package.xml
with a depends on rosjava_build_tools
and a
changes to the CMakeLists.txt
as follows:
...
find_package(catkin REQUIRED rosjava_build_tools)
catkin_rosjava_setup()
This cmake makro sets up dummy targets in the cmake configuration which call out to gradle in the actual make step.
It also parses the package.xml
to add target dependencies from each build_depends
tag (subsequently letting you
sequence builds across repositories).
It also adds a global and package gradle-clean
target.
> catkin_make
# Clean a single gradle package
> cd ~/rosjava/build/rosjava_core
> make gradle-clean-rosjava_core
# Clean all gradle packages
> cd ~/rosjava/build
> make gradle-clean
Refer to http://ros.org/wiki/rosjava_build_tools.
This documentation will eventually merge with the rosjava_core and android_core documentation.