Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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);
}