[CMake] Is there a tool pretty much like cmake for Java?

Andreas Schneider asn at cynapses.org
Sat Oct 16 06:13:02 EDT 2010


On Friday 15 October 2010 23:13:41 Michał Czuczman wrote:
> I use CMake for building a multi-platform multi-language project where
> for most parts it fits very well.  However, one part of the project is
> written in Java, with some native implementations.  So it would be great
> to have a nice Java support in CMake.  Using another build system just
> for that part adds one to many build-time dependency.
> 
> The pitfalls I've encountered in CMake Java support were:
> 
>     * All objects are always rebuilt.

The target is always considered as outdated, I don't know how to change this.

>     * The generated JAR file is polluted with build system CMake files.
> 

I think I have an idea how to fix this. I will implement it.

> This is why I would like to contribute to the great CMake project and
> have a nice simple Java support.


Cheers,

	-- andreas



More information about the CMake mailing list