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

Andreas Schneider asn at cynapses.org
Thu Oct 7 10:57:14 EDT 2010


On Thursday 07 October 2010 16:45:49 Andreas Schneider wrote:
> 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>/foo
> bar.class
> 
> So my current problem is how to point the generator there ...

In the language information file, this is <OBJECT_DIR> so is there something 
like CMAKE_CURRENT_OBJECT_DIR?


	-- andreas



More information about the CMake mailing list