From 05aa96d20ca726908a7d8b1943f86f0c4e11bf18 Mon Sep 17 00:00:00 2001 From: SulfurNitride Date: Wed, 17 Jun 2026 01:46:09 -0500 Subject: Prepare Nexus-safe release cleanup --- libs/installer_fomod_plus/installer/CMakeLists.txt | 53 ---------------------- 1 file changed, 53 deletions(-) delete mode 100644 libs/installer_fomod_plus/installer/CMakeLists.txt (limited to 'libs/installer_fomod_plus/installer/CMakeLists.txt') diff --git a/libs/installer_fomod_plus/installer/CMakeLists.txt b/libs/installer_fomod_plus/installer/CMakeLists.txt deleted file mode 100644 index 07a670b..0000000 --- a/libs/installer_fomod_plus/installer/CMakeLists.txt +++ /dev/null @@ -1,53 +0,0 @@ -cmake_minimum_required(VERSION 3.16) -include(FetchContent) - -file(GLOB_RECURSE INSTALLER_SOURCES CONFIGURE_DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp - ${CMAKE_CURRENT_SOURCE_DIR}/*.h - ${CMAKE_CURRENT_SOURCE_DIR}/*.ui - ${CMAKE_CURRENT_SOURCE_DIR}/*.qrc -) -file(GLOB SHARE_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/../share/**/*.cpp") - -add_library(fomod_plus_installer SHARED ${INSTALLER_SOURCES} ${SHARE_SOURCES}) - -target_include_directories( - fomod_plus_installer - PUBLIC - ${CMAKE_CURRENT_SOURCE_DIR}/../share - ${MO2_UIBASE_INCLUDE_DIRS} - ${MO2_ARCHIVE_INCLUDE_DIRS} - ${CMAKE_CURRENT_SOURCE_DIR} -) - -FetchContent_Declare( - pugixml - GIT_REPOSITORY https://github.com/zeux/pugixml - GIT_TAG v1.14 - PATCH_COMMAND ${CMAKE_COMMAND} - -DPUGIXML_CMAKELISTS=/CMakeLists.txt - -P ${CMAKE_CURRENT_LIST_DIR}/../cmake/patch_pugixml.cmake -) - -FetchContent_Declare(json URL https://github.com/nlohmann/json/releases/download/v3.11.3/json.tar.xz DOWNLOAD_EXTRACT_TIMESTAMP TRUE) -FetchContent_MakeAvailable(pugixml json) - -set(project_type plugin) -project(fomod_plus_installer) - -target_link_libraries(fomod_plus_installer PRIVATE mo2::uibase pugixml nlohmann_json::nlohmann_json) -if (WIN32) - target_link_libraries(fomod_plus_installer PRIVATE dbghelp) -endif () -mo2_configure_plugin(fomod_plus_installer NO_SOURCES WARNINGS OFF PRIVATE_DEPENDS) - -if (MSVC) - target_compile_options(fomod_plus_installer PRIVATE $<$:/Zi>) - target_link_options(fomod_plus_installer PRIVATE $<$:/DEBUG>) - install(FILES $ - DESTINATION ${CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELWITHDEBINFO} - CONFIGURATIONS RelWithDebInfo - OPTIONAL) -endif () - -mo2_install_target(fomod_plus_installer) -- cgit v1.3.1