mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-11 04:52:21 +02:00
Added 'not supported' build type for friendlier "won't built" marking
This commit is contained in:
parent
c334761aaa
commit
2f33b193bd
3 changed files with 40 additions and 2 deletions
|
@ -150,6 +150,11 @@ namespace IDE.Compiler
|
|||
public BfPassInstance mPassInstance;
|
||||
}
|
||||
|
||||
class DeletePassInstanceCommand : Command
|
||||
{
|
||||
public BfPassInstance mPassInstance;
|
||||
}
|
||||
|
||||
class SetupProjectSettingsCommand : Command
|
||||
{
|
||||
public Project mProject;
|
||||
|
@ -265,6 +270,13 @@ namespace IDE.Compiler
|
|||
QueueCommand(command);
|
||||
}
|
||||
|
||||
public void QueueDeletePassInstance(BfPassInstance passInstance)
|
||||
{
|
||||
DeletePassInstanceCommand command = new DeletePassInstanceCommand();
|
||||
command.mPassInstance = passInstance;
|
||||
QueueCommand(command);
|
||||
}
|
||||
|
||||
public void QueueSetupProjectSettings(Project project)
|
||||
{
|
||||
SetupProjectSettingsCommand command = new SetupProjectSettingsCommand();
|
||||
|
@ -338,6 +350,13 @@ namespace IDE.Compiler
|
|||
{
|
||||
var setPassInstanceCommand = (SetPassInstanceCommand)command;
|
||||
passInstance = setPassInstanceCommand.mPassInstance;
|
||||
}
|
||||
else if (command is DeletePassInstanceCommand)
|
||||
{
|
||||
var deletePassInstanceCommand = (DeletePassInstanceCommand)command;
|
||||
if (passInstance == deletePassInstanceCommand.mPassInstance)
|
||||
passInstance = null;
|
||||
delete deletePassInstanceCommand.mPassInstance;
|
||||
}
|
||||
else if (passInstance == null)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue