Update config.h building

This commit is contained in:
2024-04-03 12:32:34 +02:00
parent 920c7b5d53
commit 212a377ed6
4 changed files with 6 additions and 3 deletions

1
.gitignore vendored
View File

@@ -38,3 +38,4 @@ cmake-build*/**
.idea .idea
puml/** puml/**
.vscode/settings.json .vscode/settings.json
config.h

View File

@@ -1,5 +1,8 @@
# Folding # 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)](<https://opensource.org/licenses/MIT>)
![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 Folding header-only library for BayesNet classifiers & platform

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 "${Folding_SOURCE_DIR}/config.h" ESCAPE_QUOTES
) )

View File

@@ -3,7 +3,6 @@ if(ENABLE_TESTING)
${Folding_SOURCE_DIR} ${Folding_SOURCE_DIR}
${Folding_SOURCE_DIR}/lib/Files ${Folding_SOURCE_DIR}/lib/Files
${Folding_SOURCE_DIR}/lib/mdlp ${Folding_SOURCE_DIR}/lib/mdlp
${CMAKE_BINARY_DIR}/configured_files/include
) )
set(TEST_FOLDING "unit_tests_folding") set(TEST_FOLDING "unit_tests_folding")
add_executable(${TEST_FOLDING} TestFolding.cc TestUtils.cc) add_executable(${TEST_FOLDING} TestFolding.cc TestUtils.cc)