Exemplo n.º 1
0
        /// <summary>
        /// Helper function to get the console app BinaryName-Cmd.exe filename based on the binary filename.
        /// </summary>
        /// <param name="BinaryPath">Full path to the binary exe.</param>
        /// <returns></returns>
        public static FileReference GetAdditionalConsoleAppPath(FileReference BinaryPath)
        {
            DirectoryReference Directory = BinaryPath.Directory;

            if (Directory.FullName.EndsWith(".app/Contents/MacOS"))
            {
                Directory = Directory.ParentDirectory.ParentDirectory.ParentDirectory;
            }

            return(FileReference.Combine(Directory, BinaryPath.GetFileNameWithoutExtension() + "-Cmd" + BinaryPath.GetExtension()));
        }
Exemplo n.º 2
0
 /// <summary>
 /// Helper function to get the console app BinaryName-Cmd.exe filename based on the binary filename.
 /// </summary>
 /// <param name="BinaryPath">Full path to the binary exe.</param>
 /// <returns></returns>
 public static FileReference GetAdditionalConsoleAppPath(FileReference BinaryPath)
 {
     return(FileReference.Combine(BinaryPath.Directory, BinaryPath.GetFileNameWithoutExtension() + "-Cmd" + BinaryPath.GetExtension()));
 }
        private string GetElfName(FileReference InNMakeOutputPath)
        {
            ConfigHierarchy Ini = ConfigCache.ReadHierarchy(ConfigHierarchyType.Engine, InNMakeOutputPath.Directory.ParentDirectory.ParentDirectory, UnrealTargetPlatform.Lumin);
            bool            bUseMobileRendering = false;

            Ini.GetBool("/Script/LuminRuntimeSettings.LuminRuntimeSettings", "bUseMobileRendering", out bUseMobileRendering);
            bool bUseVulkan = false;

            Ini.GetBool("/Script/LuminRuntimeSettings.LuminRuntimeSettings", "bUseVulkan", out bUseVulkan);

            string OutputFileName = string.Format("{0}-arm64-{1}{2}", InNMakeOutputPath.GetFileNameWithoutExtension(), !(bUseMobileRendering || bUseVulkan) ? "lumingl4" : "lumin", InNMakeOutputPath.GetExtension());

            return(OutputFileName);
        }