2022-03-19 17:08:28 +00:00
|
|
|
cmake_minimum_required(VERSION 3.9.4)
|
2013-01-11 01:25:40 +00:00
|
|
|
project(launcher Java)
|
2021-12-19 18:11:08 +00:00
|
|
|
find_package(Java 1.7 REQUIRED COMPONENTS Development)
|
2013-01-11 01:25:40 +00:00
|
|
|
|
|
|
|
include(UseJava)
|
2022-10-18 15:37:04 +01:00
|
|
|
set(CMAKE_JAVA_JAR_ENTRY_POINT org.prismlauncher.EntryPoint)
|
2022-11-04 10:31:31 +00:00
|
|
|
set(CMAKE_JAVA_COMPILE_FLAGS -target 7 -source 7)
|
2013-01-11 01:25:40 +00:00
|
|
|
|
|
|
|
set(SRC
|
2022-10-18 15:37:04 +01:00
|
|
|
org/prismlauncher/EntryPoint.java
|
2022-10-28 00:52:09 +01:00
|
|
|
org/prismlauncher/launcher/Launcher.java
|
|
|
|
org/prismlauncher/launcher/impl/AbstractLauncher.java
|
|
|
|
org/prismlauncher/launcher/impl/StandardLauncher.java
|
2022-11-08 17:51:18 +00:00
|
|
|
org/prismlauncher/launcher/impl/legacy/LegacyLauncher.java
|
|
|
|
org/prismlauncher/launcher/impl/legacy/LegacyFrame.java
|
2022-10-18 15:37:04 +01:00
|
|
|
org/prismlauncher/exception/ParameterNotFoundException.java
|
|
|
|
org/prismlauncher/exception/ParseException.java
|
2022-11-11 10:32:54 +00:00
|
|
|
org/prismlauncher/fix/Fix.java
|
|
|
|
org/prismlauncher/fix/Fixes.java
|
|
|
|
org/prismlauncher/fix/skins/SkinFix.java
|
2022-11-12 12:55:31 +00:00
|
|
|
org/prismlauncher/fix/skins/Handler.java
|
2022-11-12 14:48:42 +00:00
|
|
|
org/prismlauncher/utils/Base64.java
|
|
|
|
org/prismlauncher/utils/JsonParser.java
|
2022-10-18 15:37:04 +01:00
|
|
|
org/prismlauncher/utils/Parameters.java
|
2022-11-01 16:27:04 +00:00
|
|
|
org/prismlauncher/utils/ReflectionUtils.java
|
2022-11-12 12:55:31 +00:00
|
|
|
org/prismlauncher/utils/UrlUtils.java
|
2022-11-05 17:14:12 +00:00
|
|
|
org/prismlauncher/utils/logging/Level.java
|
|
|
|
org/prismlauncher/utils/logging/Log.java
|
2018-07-15 13:51:05 +01:00
|
|
|
net/minecraft/Launcher.java
|
2014-01-09 00:22:34 +00:00
|
|
|
)
|
|
|
|
add_jar(NewLaunch ${SRC})
|
2018-01-22 03:28:07 +00:00
|
|
|
install_jar(NewLaunch "${JARS_DEST_DIR}")
|