From 93c6053d5de55624d9f79597d8028b10189df86c Mon Sep 17 00:00:00 2001 From: Matt Firth Date: Tue, 12 Dec 2023 00:23:38 +0000 Subject: [PATCH] update_check needn't be shared Its function is specific to the extension --- reaper-adm-extension/src/reaper_adm/CMakeLists.txt | 12 ++++++------ .../src/reaper_adm}/update_check.cpp | 0 .../src/reaper_adm}/update_check.h | 0 3 files changed, 6 insertions(+), 6 deletions(-) rename {shared => reaper-adm-extension/src/reaper_adm}/update_check.cpp (100%) rename {shared => reaper-adm-extension/src/reaper_adm}/update_check.h (100%) diff --git a/reaper-adm-extension/src/reaper_adm/CMakeLists.txt b/reaper-adm-extension/src/reaper_adm/CMakeLists.txt index f49f362ed..23078fbb6 100644 --- a/reaper-adm-extension/src/reaper_adm/CMakeLists.txt +++ b/reaper-adm-extension/src/reaper_adm/CMakeLists.txt @@ -8,7 +8,6 @@ find_package(JUCE REQUIRED QUIET) set(EXTENSION_SOURCES ${EPS_SHARED_DIR}/helper/common_definition_helper.cpp - ${EPS_SHARED_DIR}/update_check.cpp ${EPS_SHARED_DIR}/update_check_settings_file.cpp actionmanager.cpp @@ -70,6 +69,7 @@ set(EXTENSION_SOURCES reaperguid.cpp reaperhost.cpp track.cpp + update_check.cpp coordinate_conversion/coord_conv.cpp progress/importdialog.cpp progress/importlistener.cpp @@ -85,7 +85,6 @@ set(EXTENSION_HEADERS ${EPS_SHARED_DIR}/helper/resource_paths.hpp ${EPS_SHARED_DIR}/helper/native_message_box.hpp ${EPS_SHARED_DIR}/daw_channel_count.h - ${EPS_SHARED_DIR}/update_check.h ${EPS_SHARED_DIR}/update_check_settings_file.h AppConfig.h @@ -155,6 +154,7 @@ set(EXTENSION_HEADERS reaper_plugin_functions.h resource.h track.h + update_check.h win_mem_debug.h coordinate_conversion/coord_conv.hpp progress/importdialog.h @@ -198,13 +198,13 @@ find_package(WDL REQUIRED QUIET) target_include_directories(reaper_adm_object PRIVATE - ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} $ $ $ $ $ - ${EPS_SHARED_DIR} + ${EPS_SHARED_DIR} ) target_link_libraries(reaper_adm_dependencies @@ -216,9 +216,9 @@ target_link_libraries(reaper_adm_dependencies Boost::filesystem nng::nng ear-version - Juce::core + Juce::core ) - + add_dependencies(reaper_adm_dependencies reaper_adm_object) set_target_properties(reaper_adm diff --git a/shared/update_check.cpp b/reaper-adm-extension/src/reaper_adm/update_check.cpp similarity index 100% rename from shared/update_check.cpp rename to reaper-adm-extension/src/reaper_adm/update_check.cpp diff --git a/shared/update_check.h b/reaper-adm-extension/src/reaper_adm/update_check.h similarity index 100% rename from shared/update_check.h rename to reaper-adm-extension/src/reaper_adm/update_check.h