UseJava: Add RESOURCES with NAMESPACE to add_jar()

add_jar() currently requires (undocumented) that resources be supplied
as relative paths.  The resources *may* then end up in a path which does
not reflect the original path particularly when performing out-of-source
builds.  This change adds a RESOURCE (and NAMESPACE) parameter and a
function to add the names resources into the named namespace within the
jar- and thus address both of these problems.

Fixes: #22101
This commit is contained in:
Smit tay
2021-04-27 21:42:41 +02:00
committed by Brad King
parent 4e5893b658
commit 3e03f359a7
5 changed files with 157 additions and 7 deletions

View File

@@ -0,0 +1 @@
Hello World !