mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-13 09:49:42 -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/InstallExport/Bar.java
Normal file
13
Tests/JavaModExportImport/InstallExport/Bar.java
Normal file
@@ -0,0 +1,13 @@
|
||||
package com.bar;
|
||||
|
||||
public class Bar
|
||||
{
|
||||
public Bar()
|
||||
{
|
||||
}
|
||||
|
||||
public void printName()
|
||||
{
|
||||
System.out.println("Bar");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user