deps: added toml-c

This commit is contained in:
Cereska
2026-04-14 08:19:55 -04:00
parent b40f2e50a2
commit af8782c8b8
10 changed files with 49 additions and 14 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
/**
* @file chipper_common.h
* @brief Common definitions and small helpers
* @author Darwin Cereska (darwin@darwincereska.dev)
* @brief Standard options and small helpers
*/
#ifndef CHIPPER_COMMON_H
+5
View File
@@ -0,0 +1,5 @@
/**
* @file chipper_config.h
* @author Darwin Cereska (darwin@darwincereska.dev)
* @brief
*/
+3 -1
View File
@@ -1,5 +1,7 @@
/**
* @file chipper_daemon
* @file chipper_daemon.h
* @author Darwin Cereska (darwin@darwincereska.dev)
* @brief Daemon functions
*/
#ifndef CHIPPER_DAEMON_H
+2 -1
View File
@@ -1,6 +1,7 @@
/**
* @file chipper_log.h
* @brief Low-level log output
* @author Darwin Cereska (darwin@darwincereska.dev)
* @brief Logging functions
*/
#ifndef CHIPPER_LOG_H
+1
View File
@@ -1,5 +1,6 @@
/**
* @file chipper_common.c
* @author Darwin Cereska (darwin@darwincereska.dev)
*/
#include "chipper_common.h"
+1
View File
@@ -1,5 +1,6 @@
/**
* @file chipper_daemon.c
* @author Darwin Cereska (darwin@darwincereska.dev)
*/
#include "chipper_daemon.h"
+1
View File
@@ -1,5 +1,6 @@
/**
* @file chipper_log.c
* @author Darwin Cereska (darwin@darwincereska.dev)
*/
#include "chipper_log.h"
+5
View File
@@ -1,3 +1,8 @@
/**
* @file main.c
* @author Darwin Cereska (darwin@darwincereska.dev)
*/
#include "chipper_daemon.h"
#include "chipper_common.h"
#include <stdio.h>
@@ -0,0 +1,11 @@
project('toml-c', 'c', version: '1.0.0')
toml_lib = static_library('toml',
'toml.c',
include_directories: include_directories('.')
)
toml_dep = declare_dependency(
include_directories: include_directories('.'),
link_with: toml_lib
)
+7
View File
@@ -0,0 +1,7 @@
[wrap-git]
url = https://github.com/arp242/toml-c.git
revision = main
depth = 1
[provide]
toml-c = toml_dep