aboutsummaryrefslogtreecommitdiff
path: root/launcher/CMakeLists.txt
diff options
context:
space:
mode:
authorflow <flowlnlnln@gmail.com>2022-09-07 08:30:36 -0300
committerGitHub <noreply@github.com>2022-09-07 08:30:36 -0300
commit333dbca01ed15103b5a36a58a9faad7464ed1582 (patch)
tree744421e688d8772a9be967de4c3c6fe1cd5230cf /launcher/CMakeLists.txt
parent1b0ca476824ad3d704de70720184d2f1e194d2f5 (diff)
parentbedd3c50b6d3c399ccb243c9ea1a62d9b786389f (diff)
downloadPrismLauncher-333dbca01ed15103b5a36a58a9faad7464ed1582.tar.gz
PrismLauncher-333dbca01ed15103b5a36a58a9faad7464ed1582.tar.bz2
PrismLauncher-333dbca01ed15103b5a36a58a9faad7464ed1582.zip
Merge pull request #1105 from flowln/better_resource_packs
Add basic resource pack parsing and fix issues
Diffstat (limited to 'launcher/CMakeLists.txt')
-rw-r--r--launcher/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/launcher/CMakeLists.txt b/launcher/CMakeLists.txt
index dfd56d26..a5303e94 100644
--- a/launcher/CMakeLists.txt
+++ b/launcher/CMakeLists.txt
@@ -322,6 +322,8 @@ set(MINECRAFT_SOURCES
minecraft/mod/Resource.cpp
minecraft/mod/ResourceFolderModel.h
minecraft/mod/ResourceFolderModel.cpp
+ minecraft/mod/ResourcePack.h
+ minecraft/mod/ResourcePack.cpp
minecraft/mod/ResourcePackFolderModel.h
minecraft/mod/ResourcePackFolderModel.cpp
minecraft/mod/TexturePackFolderModel.h
@@ -334,6 +336,8 @@ set(MINECRAFT_SOURCES
minecraft/mod/tasks/LocalModParseTask.cpp
minecraft/mod/tasks/LocalModUpdateTask.h
minecraft/mod/tasks/LocalModUpdateTask.cpp
+ minecraft/mod/tasks/LocalResourcePackParseTask.h
+ minecraft/mod/tasks/LocalResourcePackParseTask.cpp
# Assets
minecraft/AssetsUtils.h
@@ -384,6 +388,10 @@ ecm_add_test(minecraft/Library_test.cpp LINK_LIBRARIES Launcher_logic Qt${QT_VER
ecm_add_test(minecraft/mod/ResourceFolderModel_test.cpp LINK_LIBRARIES Launcher_logic Qt${QT_VERSION_MAJOR}::Test
TEST_NAME ResourceFolderModel)
+ecm_add_test(minecraft/mod/ResourcePackParse_test.cpp
+ LINK_LIBRARIES Launcher_logic Qt${QT_VERSION_MAJOR}::Test
+ TEST_NAME ResourcePackParse)
+
ecm_add_test(minecraft/ParseUtils_test.cpp LINK_LIBRARIES Launcher_logic Qt${QT_VERSION_MAJOR}::Test
TEST_NAME ParseUtils)