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

Andreas Schneider asn at cynapses.org
Thu Oct 7 10:45:49 EDT 2010


On Sunday 22 August 2010 22:11:28 Alexander Neundorf wrote:
> CMake "supports" Java, but that support is ... needs some work, there are
> some issues (I think this had to do with the location of the compiled
> files and the java packages or something).
> I assume patches to improve the situation would be accepted :-)

Hi,

I'm currently helping a project written in Java and C to improve the build 
system. I've already improved the Java .cmake files and got some stuff 
compiling.

As soon as more of the projects builds and the file are in a state to be used 
by other I will post them.

My current problem is with javah (C header file generator). This generator 
works on the class files. The class files aren't in CMAKE_CURRENT_BINARY_DIR 
they are located in:

${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/<project>.dir/<some>/<directory>/foobar.class

So my current problem is how to point the generator there ...
 
> Alex


Cheers,

	-- andreas



More information about the CMake mailing list