public static string GetDefaultHeaderOutputDir(Microsoft.Build.Evaluation.Project project, bool evaluated) { string outputdir = project.GetDefaultItemMetadata(ItemMetadataNames.HeaderOutputDir, evaluated); if (string.IsNullOrEmpty(outputdir)) { outputdir = GetDefaultOutputDir(project, evaluated); } return(outputdir); }
public static string GetDefaultOutputDir(Microsoft.Build.Evaluation.Project project, bool evaluated) { return(project.GetDefaultItemMetadata(ItemMetadataNames.OutputDir, evaluated)); }
public static string GetCppGeneratedHeaderItemPath(Microsoft.Build.Evaluation.Project project, string sliceName) { return(GetGeneratedItemPath(sliceName, project.GetDefaultItemMetadata(ItemMetadataNames.HeaderExt, true, ".h"))); }