From 06826ca53dd54e73169514b3de2f81f2a7ca31f4 Mon Sep 17 00:00:00 2001 From: SulfurNitride Date: Thu, 12 Mar 2026 07:20:42 -0500 Subject: Add native Root Builder and OMOD Installer plugins - libs/rootbuilder_native/: Native C++ port of rootbuilder.py (IPluginTool) - Root/ dir scanning, copy (reflink/CoW) and symlink modes - JSON manifest tracking, backup/restore, auto-deploy hooks - Legacy migration and third-party conflict detection - libs/installer_omod_native/: Native C++ port of installer_omod.py - Handles .omod archives (Oblivion Mod Manager format) - Binary config parsing, .NET string format, CRC file parsing - zlib raw deflate and LZMA decompression - Repackages to zip for MO2's installation manager - Added both to build-inner.sh plugin packaging Co-Authored-By: Claude Opus 4.6 --- libs/rootbuilder_native/src/CMakeLists.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 libs/rootbuilder_native/src/CMakeLists.txt (limited to 'libs/rootbuilder_native/src/CMakeLists.txt') diff --git a/libs/rootbuilder_native/src/CMakeLists.txt b/libs/rootbuilder_native/src/CMakeLists.txt new file mode 100644 index 0000000..438c068 --- /dev/null +++ b/libs/rootbuilder_native/src/CMakeLists.txt @@ -0,0 +1,18 @@ +cmake_minimum_required(VERSION 3.16) + +find_package(Qt6 REQUIRED COMPONENTS Widgets) +qt_standard_project_setup() + +file(GLOB SOURCES *.cpp *.h) + +add_library(rootbuilder_native SHARED ${SOURCES}) + +set_target_properties(rootbuilder_native PROPERTIES + AUTOMOC ON + CXX_STANDARD 23 + CXX_STANDARD_REQUIRED ON + PREFIX "lib" +) + +target_link_libraries(rootbuilder_native PRIVATE mo2::uibase Qt6::Widgets) +install(TARGETS rootbuilder_native LIBRARY DESTINATION bin/plugins) -- cgit v1.3.1