An example of combining cmake, swig and java