changes to the build system

This commit is contained in:
Ryzerth
2020-12-22 14:50:26 +01:00
parent e90b6656c3
commit bd545feb2c
57 changed files with 1456 additions and 275 deletions

View File

@ -8,6 +8,7 @@
#include <SoapySDR/Logger.hpp>
#include <core.h>
#include <gui/style.h>
#include <options.h>
#define CONCAT(a, b) ((std::string(a) + b).c_str())
@ -386,7 +387,7 @@ private:
};
MOD_EXPORT void _INIT_() {
config.setPath(ROOT_DIR "/soapy_source_config.json");
config.setPath(options::opts.root + "/soapy_source_config.json");
json defConf;
defConf["device"] = "";
defConf["devices"] = json({});