instanciate the graph
the code examples are taken from examples/project_C/main.rs.
first instanciate a instance of M::G ( cli is the command line arguments, here we pass srcdir and sandbox )
#![allow(unused)]
fn main() {
use argh::FromArgs;
use log::info;
use std::path::PathBuf;
use yamake::c_nodes::{AFile, CFile, HFile, OFile, XFile};
use yamake::model::G;
}
#![allow(unused)]
fn main() {
let mut g = G::new(srcdir, sandbox);
}