コード例 #1
0
        public virtual void Foo(Configuration conf, Target target)
        {
            if (executedMethodFlags.Equals(ConfigureMethod.Bar))
            {
                conf.Defines.Add("SECOND_ParentProject_Foo");
            }

            executedMethodFlags |= ConfigureMethod.Foo;
        }
コード例 #2
0
        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;
        }
コード例 #3
0
        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;
        }