mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03: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:
@@ -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