Add SkipUnusedDotnetLibsPackaging to build settings for optional whole C# stdlib packaging
This commit is contained in:
@@ -77,11 +77,17 @@ public:
|
||||
bool ShadersGenerateDebugData = false;
|
||||
|
||||
/// <summary>
|
||||
/// If checked, .NET 7 Runtime won't be packaged with a game and will be required by user to be installed on system upon running game build. Available only on supported platforms such as Windows, Linux and macOS.
|
||||
/// If checked, .NET Runtime won't be packaged with a game and will be required by user to be installed on system upon running game build. Available only on supported platforms such as Windows, Linux and macOS.
|
||||
/// </summary>
|
||||
API_FIELD(Attributes="EditorOrder(3000), EditorDisplay(\"Scripting\", \"Skip .NET Runtime Packaging\")")
|
||||
bool SkipDotnetPackaging = false;
|
||||
|
||||
/// <summary>
|
||||
/// If checked, .NET Runtime packaging will skip unused libraries from packaging resulting in smaller game builds.
|
||||
/// </summary>
|
||||
API_FIELD(Attributes="EditorOrder(3010), EditorDisplay(\"Scripting\", \"Skip Unused .NET Runtime Libs Packaging\")")
|
||||
bool SkipUnusedDotnetLibsPackaging = true;
|
||||
|
||||
public:
|
||||
/// <summary>
|
||||
/// Gets the instance of the settings asset (default value if missing). Object returned by this method is always loaded with valid data to use.
|
||||
@@ -101,5 +107,6 @@ public:
|
||||
DESERIALIZE(ShadersNoOptimize);
|
||||
DESERIALIZE(ShadersGenerateDebugData);
|
||||
DESERIALIZE(SkipDotnetPackaging);
|
||||
DESERIALIZE(SkipUnusedDotnetLibsPackaging);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user