Exemple #1
0
 /// <summary>
 /// Determines if a filename is a default UBT build product
 /// </summary>
 /// <param name="FileName">The name to check</param>
 /// <param name="NamePrefixes">Target or application names that may appear at the start of the build product name (eg. "UE4Editor", "ShooterGameEditor")</param>
 /// <param name="NameSuffixes">Suffixes which may appear at the end of the build product name</param>
 /// <returns>True if the substring matches the name of a build product, false otherwise</returns>
 public static bool IsDefaultBuildProduct(string FileName, string[] NamePrefixes, string[] NameSuffixes)
 {
     return(UEBuildPlatform.IsBuildProductName(FileName, NamePrefixes, NameSuffixes, ".target") ||
            UEBuildPlatform.IsBuildProductName(FileName, NamePrefixes, NameSuffixes, ".modules") ||
            UEBuildPlatform.IsBuildProductName(FileName, NamePrefixes, NameSuffixes, ".version"));
 }