[CMake] How to compile java files using cmake?

Rakesh Kukkamalla rakesh.asu08 at gmail.com
Wed Oct 10 17:10:14 EDT 2007


Hi,

 

    I am new to cmake and I am trying to compile java classes. I used
ADD_LIBRARY with Java language support but the jar file created has many
more unnecessary files apart from the class file.

 

I can use ADD_CUSTOM_COMMAND and create the class files but I wonder if
there is any better solution to compile java files and build jars using
cmake?

 

Thank you.

Rakesh Kukkamalla

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20071010/5ed67da4/attachment.htm


More information about the CMake mailing list