build(libconfig): got build system and tests working

This commit is contained in:
2025-06-21 08:41:39 -04:00
parent 2775306d50
commit 698e8d2e07
15 changed files with 872 additions and 19 deletions

View File

@@ -23,4 +23,4 @@ config_dep = declare_dependency(
)
# Make headers accessible
install_headers(config_headers, subdir : '4DSSE/config')
install_headers(config_headers, subdir : 'libconfig')

View File

@@ -29,7 +29,7 @@
#include "config.h"
namespace serif::config {
namespace fourdst::config {
Config::Config() {}

View File

@@ -32,11 +32,12 @@
#include "yaml-cpp/yaml.h"
// -- Forward Def of Resource manager to let it act as a friend of Config --
// Note this is for SERiF development
namespace serif::resource { class ResourceManager; }
class configTestPrivateAccessor; // Forward declaration for test utility
namespace serif::config {
namespace fourdst::config {
/**
* @class Config

1
src/meson.build Normal file
View File

@@ -0,0 +1 @@
subdir('config')