Cosmos/source2/Build/Cosmos.Build.StandAlone/MainForm.cs
kudzu_cp 6e55d327ba
2010-09-07 13:21:12 +00:00

30 lines
957 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Cosmos.Build.StandAlone {
public partial class MainForm : Form {
public MainForm() {
InitializeComponent();
}
private void butnBuild_Click(object sender, EventArgs e) {
var xIL2CPU = new Cosmos.Build.MSBuild.IL2CPU();
xIL2CPU.EmitDebugSymbols = true;
xIL2CPU.OutputFilename = @"m:\temp\Cosmos.asm";
//<Framework>MicrosoftNET</Framework>
xIL2CPU.UseNAsm = true;
//<UseInternalAssembler>False</UseInternalAssembler>
//<DebugMode>Source</DebugMode>
//<TraceMode>
//</TraceMode>
//<TraceAssemblies>Cosmos</TraceAssemblies>
xIL2CPU.Execute();
}
}
}