From 24e37fcbf1d0cbb61e61d40dfa97d56a620b77bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Monta=C3=B1ana=20G=C3=B3mez?= Date: Wed, 3 Apr 2024 12:46:01 +0200 Subject: [PATCH] Update config file name --- .gitignore | 2 +- README.md | 6 ++++++ config/CMakeLists.txt | 2 +- folding.hpp | 2 +- tests/TestUtils.h | 2 +- 5 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 47761d0..abd817b 100644 --- a/.gitignore +++ b/.gitignore @@ -38,4 +38,4 @@ cmake-build*/** .idea puml/** .vscode/settings.json -config.h \ No newline at end of file +config_folding.h \ No newline at end of file diff --git a/README.md b/README.md index c840564..c07eea8 100644 --- a/README.md +++ b/README.md @@ -6,3 +6,9 @@ ![Gitea Last Commit](https://img.shields.io/gitea/last-commit/rmontanana/folding?gitea_url=https://gitea.rmontanana.es:3000&logo=gitea) Folding header-only library for BayesNet classifiers & platform + +### Tests + +```bash +make build && make test +``` diff --git a/config/CMakeLists.txt b/config/CMakeLists.txt index df4864c..6ae6b8b 100644 --- a/config/CMakeLists.txt +++ b/config/CMakeLists.txt @@ -1,4 +1,4 @@ configure_file( "config.h.in" - "${Folding_SOURCE_DIR}/config.h" ESCAPE_QUOTES + "${Folding_SOURCE_DIR}/config_folding.h" ESCAPE_QUOTES ) diff --git a/folding.hpp b/folding.hpp index 9035ccd..5da01f7 100644 --- a/folding.hpp +++ b/folding.hpp @@ -4,7 +4,7 @@ #include #include #include -#include "config.h" +#include "config_folding.h" namespace folding { class Fold { protected: diff --git a/tests/TestUtils.h b/tests/TestUtils.h index 11467a4..0e45c6a 100644 --- a/tests/TestUtils.h +++ b/tests/TestUtils.h @@ -8,7 +8,7 @@ #include #include "ArffFiles.h" #include "CPPFImdlp.h" -#include "config.h" +#include "config_folding.h" bool file_exists(const std::string& name); std::pair, map> discretize(std::vector& X, mdlp::labels_t& y, std::vector features);