mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-07 14:20:06 -06:00
UseJava: add INCLUDE_MODULES argument to add_jar
Arguments are added to the dependencies list, and to the "--module-path" passed to javac, which is only generated for adequate JDK versions.
This commit is contained in:
7
Help/release/dev/UseJava-include-modules.rst
Normal file
7
Help/release/dev/UseJava-include-modules.rst
Normal file
@@ -0,0 +1,7 @@
|
||||
UseJava-include-modules
|
||||
-----------------------
|
||||
|
||||
* The :module:`UseJava` module's :command:`add_jar` command now accepts a new
|
||||
option `INCLUDE_MODULES` that adds its arguments to the `--module-path`
|
||||
argument to the Java compiler. This allows building JAR files that use JPMS
|
||||
modules in their build.
|
||||
Reference in New Issue
Block a user