Exemple #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     //this is also horrible practice, and will be fixed after the demo
     CmakeGen cgen = new CmakeGen();
     XmlReader reader = XmlReader.Instance;
     KeyValuePair<Graph<string>,Dictionary<string,BuildElement> > buildinfo = new KeyValuePair<Graph<string>,Dictionary<string,BuildElement> >();
     buildinfo = reader.readbuildfile(textBox2.Text+"\\cbf.xml");
     cgen.CreateCmakeList(textBox2.Text,"CMakeLists.txt",buildinfo.Value, buildinfo.Key);
 }
Exemple #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            //this is also horrible practice, and will be fixed after the demo
            CmakeGen  cgen   = new CmakeGen();
            XmlReader reader = XmlReader.Instance;
            KeyValuePair <Graph <string>, Dictionary <string, BuildElement> > buildinfo = new KeyValuePair <Graph <string>, Dictionary <string, BuildElement> >();

            buildinfo = reader.readbuildfile(textBox2.Text + "\\cbf.xml");
            cgen.CreateCmakeList(textBox2.Text, "CMakeLists.txt", buildinfo.Value, buildinfo.Key);
        }