Rename config.h to config_platform.h

This commit is contained in:
2024-12-13 19:57:05 +01:00
parent a65955248a
commit ba455bb934
11 changed files with 11 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
configure_file( configure_file(
"config.h.in" "config.h.in"
"${CMAKE_BINARY_DIR}/configured_files/include/config.h" ESCAPE_QUOTES "${CMAKE_BINARY_DIR}/configured_files/include/config_platform.h" ESCAPE_QUOTES
) )

View File

@@ -11,7 +11,7 @@
#include <bayesnet/utils/BayesMetrics.h> #include <bayesnet/utils/BayesMetrics.h>
#include "Models.h" #include "Models.h"
#include "modelRegister.h" #include "modelRegister.h"
#include "config.h" #include "config_platform.h"
const std::string PATH = { platform_data_path.begin(), platform_data_path.end() }; const std::string PATH = { platform_data_path.begin(), platform_data_path.end() };

View File

@@ -5,7 +5,7 @@
#include "common/Paths.h" #include "common/Paths.h"
#include "common/Colors.h" #include "common/Colors.h"
#include "best/BestResults.h" #include "best/BestResults.h"
#include "config.h" #include "config_platform.h"
void manageArguments(argparse::ArgumentParser& program) void manageArguments(argparse::ArgumentParser& program)
{ {

View File

@@ -11,7 +11,7 @@
#include "common/Colors.h" #include "common/Colors.h"
#include "common/DotEnv.h" #include "common/DotEnv.h"
#include "grid/GridSearch.h" #include "grid/GridSearch.h"
#include "config.h" #include "config_platform.h"
using json = nlohmann::ordered_json; using json = nlohmann::ordered_json;
const int MAXL = 133; const int MAXL = 133;

View File

@@ -13,7 +13,7 @@
#include "results/ResultsDatasetConsole.h" #include "results/ResultsDatasetConsole.h"
#include "results/ResultsDataset.h" #include "results/ResultsDataset.h"
#include "results/ResultsDatasetExcel.h" #include "results/ResultsDatasetExcel.h"
#include "config.h" #include "config_platform.h"
void list_datasets(argparse::ArgumentParser& program) void list_datasets(argparse::ArgumentParser& program)

View File

@@ -7,7 +7,7 @@
#include "common/Paths.h" #include "common/Paths.h"
#include "main/Models.h" #include "main/Models.h"
#include "main/modelRegister.h" #include "main/modelRegister.h"
#include "config.h" #include "config_platform.h"
using json = nlohmann::ordered_json; using json = nlohmann::ordered_json;

View File

@@ -5,7 +5,7 @@
#include <argparse/argparse.hpp> #include <argparse/argparse.hpp>
#include "manage/ManageScreen.h" #include "manage/ManageScreen.h"
#include <signal.h> #include <signal.h>
#include "config.h" #include "config_platform.h"
platform::ManageScreen* manager = nullptr; platform::ManageScreen* manager = nullptr;

View File

@@ -9,7 +9,7 @@
#include "folding.hpp" #include "folding.hpp"
#include <ArffFiles.hpp> #include <ArffFiles.hpp>
#include <bayesnet/classifiers/TAN.h> #include <bayesnet/classifiers/TAN.h>
#include "config.h" #include "config_platform.h"
TEST_CASE("Test Platform version", "[Platform]") TEST_CASE("Test Platform version", "[Platform]")

View File

@@ -7,7 +7,7 @@
#include "common/DotEnv.h" #include "common/DotEnv.h"
#include "common/Datasets.h" #include "common/Datasets.h"
#include "common/Paths.h" #include "common/Paths.h"
#include "config.h" #include "config_platform.h"
TEST_CASE("ZeroR comparison in reports", "[Report]") TEST_CASE("ZeroR comparison in reports", "[Report]")

View File

@@ -9,7 +9,7 @@
#include "common/Paths.h" #include "common/Paths.h"
#include "common/Colors.h" #include "common/Colors.h"
#include "main/Scores.h" #include "main/Scores.h"
#include "config.h" #include "config_platform.h"
using json = nlohmann::ordered_json; using json = nlohmann::ordered_json;
auto epsilon = 1e-4; auto epsilon = 1e-4;

View File

@@ -1,5 +1,5 @@
#include "TestUtils.h" #include "TestUtils.h"
#include "config.h" #include "config_platform.h"
class Paths { class Paths {
public: public: