[CMake] CMake Java Support
Andreas Schneider
asn at redhat.com
Sat Feb 5 05:53:54 EST 2011
On Wednesday, January 12, 2011 15:32:08 you wrote:
> Andreas,
> Thanks for providing these files! I have finally been able to progress on
> converting our java product to cmake. I have one suggestion:
>
> Add to the add_java function the classpath for the target;
>
> set(${_TARGET_NAME}_CLASSPATH
> ".${CMAKE_JAVA_INCLUDE_PATH_FINAL}/${_TARGET_NAME}.jar" PARENT_SCOPE)
Wouldn't be
set(${_TARGET_NAME}_CLASSPATH
"${CMAKE_JAVA_CLASS_OUTPUT_PATH}/${_TARGET_NAME}.jar" PARENT_SCOPE)
more correct on the end of the add_jar function?
-- andreas
More information about the CMake
mailing list