build(yaml-cpp): added yaml-cpp as a dependency

config files will be written in yaml, added a well tested yaml parser to 4DSSE
This commit is contained in:
2025-02-19 14:50:44 -05:00
parent 096d9b278c
commit 53fc943129
5 changed files with 15 additions and 2 deletions

1
.gitignore vendored
View File

@@ -60,5 +60,6 @@ tags
subprojects/mfem/
subprojects/tetgen/
subprojects/yaml-cpp/
.vscode/

View File

@@ -1 +1,4 @@
subdir('mfem')
cmake = import('cmake')
subdir('mfem')
subdir('yaml-cpp')

View File

@@ -1,4 +1,3 @@
cmake = import('cmake')
patchFile = files('disable_mfem_selfcheck.patch')
patch_check = run_command('grep', '-q', 'MFEM_CHECK_TARGET_NAME', 'subprojects/mfem/CMakeLists.txt', check: false)

View File

@@ -0,0 +1,5 @@
yaml_cpp_sp = cmake.subproject(
'yaml-cpp'
)
yaml_cpp_dep = yaml_cpp_sp.dependency('yaml-cpp')
add_project_arguments('-I' + meson.current_build_dir() + '/subprojects/yaml-cpp/__CMake_build', language: 'cpp')

View File

@@ -0,0 +1,5 @@
[wrap-git]
url = https://github.com/jbeder/yaml-cpp.git
revision = yaml-cpp-0.7.0
[cmake]