public virtual void Foo(Configuration conf, Target target) { if (executedMethodFlags.Equals(ConfigureMethod.Bar)) { conf.Defines.Add("SECOND_ParentProject_Foo"); } executedMethodFlags |= ConfigureMethod.Foo; }
public virtual void Bar(Configuration conf, Target target) { conf.ProjectPath = @"[project.SharpmakeCsPath]\projects"; if (executedMethodFlags.Equals(ConfigureMethod.None)) { conf.Defines.Add("FIRST_ParentProject_Bar"); } executedMethodFlags |= ConfigureMethod.Bar; }
public virtual void Bar(Configuration conf, Target target) { conf.ProjectPath = @"[project.SharpmakeCsPath]\projects"; conf.IntermediatePath = @"[conf.ProjectPath]\obj\[project.Name]\[target.Platform]\[target.Name]"; if (executedMethodFlags.Equals(ConfigureMethod.None)) { conf.Defines.Add("FIRST_ParentProject_Bar"); } executedMethodFlags |= ConfigureMethod.Bar; }