예제 #1
0
파일: Form1.cs 프로젝트: mheise/Unmake
 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);
 }
예제 #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);
        }