cbuild 0.1.4

A Build System that uses a YAML file to build your C/C++ projects.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use serde::Deserialize;

pub type BuildConfig = Vec<BuildFile>;

#[derive(Deserialize, Debug)]
pub struct BuildFile {
    pub(crate) name: String,
    #[serde(default)]
    pub(crate) out: String,
    #[serde(default)]
    pub(crate) uses: Vec<String>,
    #[serde(default)]
    pub(crate) headers: Vec<String>,
    #[serde(default)]
    pub(crate) includes: Vec<String>,
}