cmake_install.cmake
feather_autogen/
feather.cbp
-src/config-feather.h
src/assets_tor.qrc
src/assets_docs.qrc
feather.AppDir/*
endif()
include(CMakePackageConfigHelpers)
-configure_file("cmake/config-feather.h.cmake" "${CMAKE_CURRENT_SOURCE_DIR}/src/config-feather.h")
#### Dependencies ####
# Monero
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)
+++ /dev/null
-#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
${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}
#include <QMessageBox>
#include <QDate>
-#include "config-feather.h"
#include "utils/Utils.h"
AboutDialog::AboutDialog(QWidget *parent)
#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"
#include <QSslSocket>
#include "Application.h"
-#include "config-feather.h"
#include "constants.h"
#include "utils/EventFilter.h"
#include "WindowManager.h"
#include "utils/Utils.h"
#include "utils/os/tails.h"
#include "utils/os/whonix.h"
-#include "config-feather.h"
TorManager::TorManager(QObject *parent)
: QObject(parent)
#include <QStandardPaths>
#include <QProcess>
-#include "config-feather.h"
#include "constants.h"
#include "networktype.h"
#include "utils/AppData.h"
#include <openpgp/hash.h>
#include "utils/config.h"
-#include "config-feather.h"
#include "Utils.h"
#include "utils/AsyncTask.h"
#include "utils/Networking.h"
#include <QTimer>
-#include "config-feather.h"
#include "WalletWizard.h"
PageMenu::PageMenu(WizardFields *fields, WalletKeysFilesModel *wallets, QWidget *parent)