Gaetan Lehmann wrote:

Hi,

Currently, I'm using the ADD_CUSTOM_TARGET() macro to compile the java tests in WrapITK. The problem is that those files are rebuild for each make.
Is there a better way to build java programs ?

Use ADD_CUSTOM_COMMAND, and then add only one ADD_CUSTOM_TARGET that depends on the outputs of the custom commands.

-Brad
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to