Merge remote-tracking branch 'origin/master' into localization
# Conflicts: # Source/Platforms/DotNet/Newtonsoft.Json.dll # Source/Platforms/DotNet/Newtonsoft.Json.pdb # Source/Platforms/UWP/Binaries/Newtonsoft.Json.dll # Source/Platforms/XboxOne/Binaries/Newtonsoft.Json.dll
This commit is contained in:
@@ -67,10 +67,10 @@ namespace Flax.Build.Platforms
|
||||
options.CompileEnv.PreprocessorDefinitions.Add("PLATFORM_UWP");
|
||||
options.CompileEnv.PreprocessorDefinitions.Add("WINAPI_FAMILY=WINAPI_FAMILY_PC_APP");
|
||||
options.CompileEnv.PreprocessorDefinitions.Add("_WINRT_DLL");
|
||||
options.CompileEnv.PreprocessorDefinitions.Add("_WINDLL");
|
||||
options.CompileEnv.PreprocessorDefinitions.Add("__WRL_NO_DEFAULT_LIB__");
|
||||
|
||||
options.LinkEnv.InputLibraries.Add("WindowsApp.lib");
|
||||
options.LinkEnv.InputLibraries.Add("dloadhelper.lib");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -680,6 +680,8 @@ namespace Flax.Build.Platforms
|
||||
args.Add("/WINMD");
|
||||
args.Add(string.Format("/WINMDFILE:\"{0}\"", Path.ChangeExtension(outputFilePath, "winmd")));
|
||||
args.Add("/APPCONTAINER");
|
||||
if (linkEnvironment.Output == LinkerOutput.SharedLibrary)
|
||||
args.Add("/DYNAMICBASE");
|
||||
}
|
||||
|
||||
if (linkEnvironment.LinkTimeCodeGeneration)
|
||||
@@ -937,7 +939,7 @@ namespace Flax.Build.Platforms
|
||||
xmlTextWriter.WriteStartElement("Properties");
|
||||
|
||||
// TODO: better logo handling
|
||||
var logoSrcPath = Path.Combine(Environment.CurrentDirectory, "Source", "Logo.png");
|
||||
var logoSrcPath = Path.Combine(Globals.EngineRoot, "Source", "Logo.png");
|
||||
var logoDstPath = Path.Combine(options.IntermediateFolder, "Logo.png");
|
||||
if (!File.Exists(logoDstPath))
|
||||
Utilities.FileCopy(logoSrcPath, logoDstPath);
|
||||
|
||||
Reference in New Issue
Block a user