mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-31 02:39:48 -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:
13
Tests/JavaModExportImport/BuildExport/Foo.java
Normal file
13
Tests/JavaModExportImport/BuildExport/Foo.java
Normal file
@@ -0,0 +1,13 @@
|
||||
package org.foo;
|
||||
|
||||
public class Foo
|
||||
{
|
||||
public Foo()
|
||||
{
|
||||
}
|
||||
|
||||
public void printName()
|
||||
{
|
||||
System.out.println("Foo");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user