public ProjectIncludesWidget(DProject prj, DProjectConfiguration cfg)
        {
            this.Build();

            Project       = prj;
            CurrentConfig = cfg;
        }
        public ProjectDependenciesWidget(DProject prj, DProjectConfiguration cfg)
        {
            this.Build();
            Show();

            Project       = prj;
            CurrentConfig = cfg;
        }
Example #3
0
        protected virtual ExecutionCommand CreateExecutionCommand(DProjectConfiguration conf)
        {
            var app = Path.Combine(conf.OutputDirectory, conf.Output);
            var cmd = new NativeExecutionCommand(app);

            cmd.Arguments            = conf.CommandLineParameters;
            cmd.WorkingDirectory     = Path.GetFullPath(conf.OutputDirectory);
            cmd.EnvironmentVariables = conf.EnvironmentVariables;
            return(cmd);
        }
Example #4
0
        public override SolutionItemConfiguration CreateConfiguration(string name)
        {
            var config = new DProjectConfiguration(this)
            {
                Name = name
            };

            //config.Changed += new EventHandler(config_Changed);

            return(config);
        }
Example #5
0
 protected virtual ExecutionCommand CreateExecutionCommand(DProjectConfiguration conf)
 {
     var app = GetOutputFileName(conf.Selector);
     var cmd = new NativeExecutionCommand (app);
     cmd.Arguments = conf.CommandLineParameters;
     cmd.WorkingDirectory = conf.OutputDirectory.ToAbsolute(BaseDirectory);
     cmd.EnvironmentVariables = conf.EnvironmentVariables;
     return cmd;
 }
Example #6
0
        public override SolutionItemConfiguration CreateConfiguration(string name)
        {
            var config = new DProjectConfiguration (this) { Name=name};
            //config.Changed += new EventHandler(config_Changed);

            return config;
        }
Example #7
0
 protected virtual ExecutionCommand CreateExecutionCommand(DProjectConfiguration conf)
 {
     var app = Path.Combine(conf.OutputDirectory, conf.Output);
     var cmd = new NativeExecutionCommand(app);
     cmd.Arguments = conf.CommandLineParameters;
     cmd.WorkingDirectory = Path.GetFullPath(conf.OutputDirectory);
     cmd.EnvironmentVariables = conf.EnvironmentVariables;
     return cmd;
 }