Пример #1
0
 public void SetCommand(NdkBuild.Defaults cmd)
 {
     Special = (int)cmd;
 }
Пример #2
0
        private void CleanButton_Click(object sender, EventArgs e)
        {
            ICommandCommunicator mockConsole    = new MessageScreenScrollable();
            List<Command> commands              = new List<Command>();

            mockConsole.SetName("(NDK-Build clean) Output");

            try
            {
                MessageScreenScrollable msg = (MessageScreenScrollable)mockConsole;
                msg.Show();
            }
            catch (Exception ex) { }

            ProjectEnvironmentContext ctx = GetProjectContext();
            NdkBuild verbose = new NdkBuild(ref mockConsole, ref ctx, ref SelectedProjectModule);
            verbose.SetCommand(NdkBuild.Defaults.CLEAN);
            commands.Add(new NdkBuild(ref mockConsole, ref ctx, ref SelectedProjectModule));

            BuildCommandDispatch dispatch = new BuildCommandDispatch(ref mockConsole, commands);
            dispatch.Execute();
        }