Exemplo n.º 1
0
        public ModuleRecipe(RecipeTarget target)
        {
            this.target       = target;
            type              = BuildType.Everything;
            optimizeOutput    = (target.configuration != "Debug");
            debugLibrary      = (target.configuration == "Debug");
            precompiledHeader = "";
            output            = (target.configuration == "Release") ? OutputType.Static : OutputType.Dynamic;

            publicDefinitions  = new List <string>();
            privateDefinitions = new List <string>();

            publicCodeDirectories  = new List <string>();
            privateCodeDirectories = new List <string>();

            publicModuleDependencies  = new List <string>();
            privateModuleDependencies = new List <string>();
        }
Exemplo n.º 2
0
 /// <summary>
 /// Get the desired recipe for a given target
 /// </summary>
 public ModuleRecipe GetRecipe(RecipeTarget target)
 {
     return(recipeLookup[target]);
 }
Exemplo n.º 3
0
 public RecipeCollection(RecipeTarget target)
 {
     this.target   = target;
     moduleRecipes = new Dictionary <string, ModuleRecipe>();
 }