summaryrefslogtreecommitdiffstats
path: root/Tests/JavaExportImport/Import/CMakeLists.txt
blob: 79a14477a1f78f96416510d063f0a06db20886d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
project(import Java)

cmake_minimum_required (VERSION 3.5)
set(CMAKE_VERBOSE_MAKEFILE 1)

find_package(Java COMPONENTS Development)
include(UseJava)

find_package(JavaBuildExportTest REQUIRED)
find_package(JavaInstallExportTest REQUIRED)

add_jar(${PROJECT_NAME}
  SOURCES Import.java
  INCLUDE_JARS foo bar)