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