aboutsummaryrefslogtreecommitdiff
path: root/libs/lootcli/CMakeLists.txt
diff options
context:
space:
mode:
authorSulfurNitride <SulfurNitride@users.noreply.github.com>2026-04-12 03:00:11 -0500
committerSulfurNitride <SulfurNitride@users.noreply.github.com>2026-04-12 03:00:11 -0500
commitb54e479a3f9e973a083c643905f21c59fadd63bb (patch)
treeff920cc2614c5d014e7de910cbad75875257776e /libs/lootcli/CMakeLists.txt
parentbf7a57fc55493247a624ecfd65e4d73964e7d8d2 (diff)
Remove LOOT integration entirely
The sort button was already hidden on Linux (setVisible(false)) and the LOOT feedback path (LootDialog -> addLootReport) has always been Windows-only, meaning the dirty/incompatibilities/missingMasters/messages tooltip bullets and the dirty-plugin icon could never fire on Linux. MO2 shipped lootcli + libloot for a load-order sort mechanism that was unreachable from the UI. Users who want LOOT can download it from https://github.com/loot/loot and run it against their instance directly. - Drop libs/lootcli/, libloot Dockerfile build step, and lootcli staging/patchelf in build-inner.sh - Drop src/src/loot.{cpp,h}, src/src/lootdialog.{cpp,h,ui} - Extract MarkdownDocument / MarkdownPage (used by UpdateDialog for its changelog view) into src/src/markdowndocument.{h,cpp} - Strip addLootReport, makeLootTooltip, Loot::Plugin field, LOOT icon checks, and LOOT tooltip/isProblematic/hasInfo paths from pluginlist - Delete sortButton widget, updateSortButton(), onSortButtonClicked(), and all m_didUpdateMasterList wiring - Delete lootLogLevel setting, combo box, and "Integrated LOOT" group from the diagnostics settings tab
Diffstat (limited to 'libs/lootcli/CMakeLists.txt')
-rw-r--r--libs/lootcli/CMakeLists.txt32
1 files changed, 0 insertions, 32 deletions
diff --git a/libs/lootcli/CMakeLists.txt b/libs/lootcli/CMakeLists.txt
deleted file mode 100644
index 35e9d98..0000000
--- a/libs/lootcli/CMakeLists.txt
+++ /dev/null
@@ -1,32 +0,0 @@
-cmake_minimum_required(VERSION 3.16)
-
-include(CMakePackageConfigHelpers)
-
-project(lootcli)
-
-add_subdirectory(src)
-
-# install the header helper
-configure_package_config_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/config.cmake.in
- "${CMAKE_CURRENT_BINARY_DIR}/mo2-lootcli-header-config.cmake"
- INSTALL_DESTINATION "lib/cmake/mo2-lootcli-header"
- NO_SET_AND_CHECK_MACRO
- NO_CHECK_REQUIRED_COMPONENTS_MACRO
-)
-
-file(READ "${CMAKE_CURRENT_SOURCE_DIR}/src/version.h" lootcli_version)
-string(REGEX MATCH "#define LOOTCLI_VERSION_STRING[ \t]*\"([0-9.]+)\"" _ ${lootcli_version})
-set(lootcli_version ${CMAKE_MATCH_1})
-
-write_basic_package_version_file(
- "${CMAKE_CURRENT_BINARY_DIR}/mo2-lootcli-header-config-version.cmake"
- VERSION "${lootcli_version}"
- COMPATIBILITY AnyNewerVersion
- ARCH_INDEPENDENT
-)
-
-install(FILES
- ${CMAKE_CURRENT_BINARY_DIR}/mo2-lootcli-header-config.cmake
- ${CMAKE_CURRENT_BINARY_DIR}/mo2-lootcli-header-config-version.cmake
- DESTINATION lib/cmake/mo2-lootcli-header
-)