mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 07:11:29 +02:00
cmake: remove feather-config.h
This commit is contained in:
@@ -12,7 +12,6 @@ CMakeFiles
|
||||
cmake_install.cmake
|
||||
feather_autogen/
|
||||
feather.cbp
|
||||
src/config-feather.h
|
||||
src/assets_tor.qrc
|
||||
src/assets_docs.qrc
|
||||
feather.AppDir/*
|
||||
|
||||
@@ -67,7 +67,6 @@ if(STATIC)
|
||||
endif()
|
||||
|
||||
include(CMakePackageConfigHelpers)
|
||||
configure_file("cmake/config-feather.h.cmake" "${CMAKE_CURRENT_SOURCE_DIR}/src/config-feather.h")
|
||||
|
||||
#### Dependencies ####
|
||||
# Monero
|
||||
@@ -149,7 +148,6 @@ if(TOR_DIR)
|
||||
endif()
|
||||
|
||||
message(STATUS "Embedded Tor version: ${TOR_VERSION}")
|
||||
configure_file("cmake/config-feather.h.cmake" "${CMAKE_CURRENT_SOURCE_DIR}/src/config-feather.h")
|
||||
|
||||
# Always copy Tor when doing a reproducible build to prevent old versions from getting included
|
||||
if (REPRODUCIBLE)
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
#ifndef FEATHER_VERSION_H
|
||||
#define FEATHER_VERSION_H
|
||||
|
||||
#define FEATHER_VERSION "@PROJECT_VERSION@"
|
||||
|
||||
#define TOR_VERSION "@TOR_VERSION@"
|
||||
|
||||
#define FEATHER_TARGET_TRIPLET "@FEATHER_TARGET_TRIPLET@"
|
||||
|
||||
#endif //FEATHER_VERSION_H
|
||||
@@ -182,6 +182,10 @@ target_include_directories(feather PUBLIC
|
||||
${BCUR_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
target_compile_definitions(feather PRIVATE FEATHER_VERSION="${PROJECT_VERSION}")
|
||||
target_compile_definitions(feather PRIVATE FEATHER_TARGET_TRIPLET="${FEATHER_TARGET_TRIPLET}")
|
||||
target_compile_definitions(feather PRIVATE TOR_VERSION="${TOR_VERSION}")
|
||||
|
||||
if(WITH_SCANNER)
|
||||
target_include_directories(feather PUBLIC
|
||||
${QtMultimedia_INCLUDE_DIRS}
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
#include <QMessageBox>
|
||||
#include <QDate>
|
||||
|
||||
#include "config-feather.h"
|
||||
#include "utils/Utils.h"
|
||||
|
||||
AboutDialog::AboutDialog(QWidget *parent)
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
#include "DebugInfoDialog.h"
|
||||
#include "ui_DebugInfoDialog.h"
|
||||
|
||||
#include "config-feather.h"
|
||||
#include "utils/AppData.h"
|
||||
#include "utils/os/tails.h"
|
||||
#include "utils/os/whonix.h"
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
#include <QSslSocket>
|
||||
|
||||
#include "Application.h"
|
||||
#include "config-feather.h"
|
||||
#include "constants.h"
|
||||
#include "utils/EventFilter.h"
|
||||
#include "WindowManager.h"
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include "utils/Utils.h"
|
||||
#include "utils/os/tails.h"
|
||||
#include "utils/os/whonix.h"
|
||||
#include "config-feather.h"
|
||||
|
||||
TorManager::TorManager(QObject *parent)
|
||||
: QObject(parent)
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
#include <QStandardPaths>
|
||||
#include <QProcess>
|
||||
|
||||
#include "config-feather.h"
|
||||
#include "constants.h"
|
||||
#include "networktype.h"
|
||||
#include "utils/AppData.h"
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
#include <openpgp/hash.h>
|
||||
|
||||
#include "utils/config.h"
|
||||
#include "config-feather.h"
|
||||
#include "Utils.h"
|
||||
#include "utils/AsyncTask.h"
|
||||
#include "utils/Networking.h"
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
|
||||
#include <QTimer>
|
||||
|
||||
#include "config-feather.h"
|
||||
#include "WalletWizard.h"
|
||||
|
||||
PageMenu::PageMenu(WizardFields *fields, WalletKeysFilesModel *wallets, QWidget *parent)
|
||||
|
||||
Reference in New Issue
Block a user