[CMake] Howot add jar files in final jar file

Marc CHEVRIER marc.chevrier at gmail.com
Mon Oct 22 05:15:40 EDT 2018


Option INCLUDE_JARS is used to specify classpath javac option for java
sources compilation.
Currently, there is no possibility to add jars using add_jar command. You
have to use a custom command for that purpose.


Le lun. 22 oct. 2018 à 11:05, Stéphane Ancelot <sancelot at numalliance.com> a
écrit :

> Hi,
>
> I have to package some jar files in the final jar.
>
> I can compile it with add_jar specifying INCLUDE_JARS but unfortunately,
> they are not added to the final target jarfile
>
> Regards
>
> S.Ancelot
> --
>
> Powered by www.kitware.com
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Kitware offers various services to support the CMake community. For more
> information on each offering, please visit:
>
> CMake Support: http://cmake.org/cmake/help/support.html
> CMake Consulting: http://cmake.org/cmake/help/consulting.html
> CMake Training Courses: http://cmake.org/cmake/help/training.html
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> https://cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20181022/37cbe673/attachment.html>


More information about the CMake mailing list