From 212a377ed6b36467e5bb624a247d464149a0dde2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Monta=C3=B1ana=20G=C3=B3mez?= Date: Wed, 3 Apr 2024 12:32:34 +0200 Subject: [PATCH] Update config.h building --- .gitignore | 1 + README.md | 5 ++++- config/CMakeLists.txt | 2 +- tests/CMakeLists.txt | 1 - 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 268bb77..47761d0 100644 --- a/.gitignore +++ b/.gitignore @@ -38,3 +38,4 @@ cmake-build*/** .idea puml/** .vscode/settings.json +config.h \ No newline at end of file diff --git a/README.md b/README.md index 80e418f..c840564 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # Folding -[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) +![C++](https://img.shields.io/badge/c++-%2300599C.svg?style=flat&logo=c%2B%2B&logoColor=white) +[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)]() +![Gitea Release](https://img.shields.io/gitea/v/release/rmontanana/folding?gitea_url=https://gitea.rmontanana.es:3000) +![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 diff --git a/config/CMakeLists.txt b/config/CMakeLists.txt index c6c4cde..df4864c 100644 --- a/config/CMakeLists.txt +++ b/config/CMakeLists.txt @@ -1,4 +1,4 @@ configure_file( "config.h.in" - "${CMAKE_BINARY_DIR}/configured_files/include/config.h" ESCAPE_QUOTES + "${Folding_SOURCE_DIR}/config.h" ESCAPE_QUOTES ) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 5a00026..61a6c54 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -3,7 +3,6 @@ if(ENABLE_TESTING) ${Folding_SOURCE_DIR} ${Folding_SOURCE_DIR}/lib/Files ${Folding_SOURCE_DIR}/lib/mdlp - ${CMAKE_BINARY_DIR}/configured_files/include ) set(TEST_FOLDING "unit_tests_folding") add_executable(${TEST_FOLDING} TestFolding.cc TestUtils.cc)