CMake Java Support


At the end of last year I've worked on Dogtag PKI, which is enterprise-class open source Certificate Authority. The project is written in serveral different laguages (C, C++ and Java), so I've used CMake as the new build system. I know CMake very well and use it since a long time. To be able to build the java project I needed Java support in CMake. The current support is broken and after talking to Bill Hoffman he suggested to write CMake functions. So I've started to write functions to compile java files, find jar files, bundle jar files and generate javadoc. My Java support for CMake should provide everything you need to build java and jni projects. You find the…