Chris Babcock
0acbd3e5e5
Fix arm64 non-debug flags for -fdata-sections
...
#jira FORT-270813
#ue4
#android
#fyi Josh.Adams
#rb Josh.Adams
[CL 12239693 by Chris Babcock in 4.25 branch]
2020-03-17 23:51:44 -04:00
Chris Babcock
c6fa3b2b71
Fix broken changelist as version
...
#jira none
#ue4
#android
#fyi Michael.Sartain
#rb trivial
[CL 12237191 by Chris Babcock in 4.25 branch]
2020-03-17 19:20:20 -04:00
Ben Marsh
b07e6b5177
UBT: Ignore any targets that can't be built on the current host platform when generating intellisense data for project files.
...
#rb none
#jira
[CL 12232883 by Ben Marsh in 4.25 branch]
2020-03-17 11:59:16 -04:00
Michael Sartain
cd38c7ef53
Fix Windows UBT build break caused by 12224860
...
#jira none
#rb none
#fyi Matt.Hoffman, Michael.Forot, Ben.Marsh
[CL 12226010 by Michael Sartain in 4.25 branch]
2020-03-16 20:14:47 -04:00
Michael Sartain
4bb8a0e646
Fix UnrealBuildTool unused variable warnings
...
#jira none
#rb Ben.Marsh
#fyi Andrew.Grant, Brandon.Schaefer
[CL 12224860 by Michael Sartain in 4.25 branch]
2020-03-16 19:03:39 -04:00
Ben Marsh
dfe44a2b5c
Remove unused variables causing warnings on Mono.
...
#jira
#rb none
#rnx
[CL 12223682 by Ben Marsh in 4.25 branch]
2020-03-16 17:07:01 -04:00
Ben Marsh
0e8fcf2088
Remove redundant null checks causing warnings on latest version of Mono.
...
#rb none
#rnx
#jira
[CL 12202600 by Ben Marsh in 4.25 branch]
2020-03-16 11:26:09 -04:00
Ben Marsh
973a7f3e01
Fix installed files being deleted when cleaning a target from an installed engine build.
...
#rb none
#jira UE-90547, UE-89724
[CL 12170007 by Ben Marsh in 4.25 branch]
2020-03-13 23:44:01 -04:00
Ben Marsh
c4f9571172
UBT: Add a BuildConfiguration setting for forcing UBT to be built in debug configuration (VCProjectFileGenerator/bBuildUBTInDebug).
...
#rb none
#jira
[CL 12169952 by Ben Marsh in 4.25 branch]
2020-03-13 23:17:21 -04:00
Ben Marsh
bea4f5c119
Fix exception generating project files.
...
#rb none
#jira
#rnx
[CL 12169912 by Ben Marsh in 4.25 branch]
2020-03-13 23:03:39 -04:00
Ben Marsh
7d1474895f
Make sure UBT and HoloLens platforms agree on the architecture being compiled. The architecture setting is now driven by the target being built, and cannot be overridden later. The HoloLens platform returns the default architecture value to UBT, ensuring that intermediate folders and the like are named consistently between builds where an architecture isn't specified (and it uses the default), and and builds where an architecture is explicitly specified.
...
#rb Steve.Smith
#rnx
#jira
[CL 12167048 by Ben Marsh in 4.25 branch]
2020-03-13 16:20:22 -04:00
Chris Babcock
f34a5246d0
Added more control over Gradle project
...
- ANDROID_TOOLS_BUILD_GRADLE_VERSION may be set in gradle.properties by <gradleProperties> in UPL
- settings.gradle may be added to with <settingsGradleAdditions> in UPL
#jira UE-90616
#ue4
#android
#fyi Jack.Porter
#rb trivial
[CL 12161607 by Chris Babcock in 4.25 branch]
2020-03-13 06:47:07 -04:00
Ben Marsh
d7c640078c
Use a subdirectory for storing PVS studio artifacts, to avoid triggering a full rebuild with the next regular compile.
...
#rb none
#jira
[CL 12157003 by Ben Marsh in 4.25 branch]
2020-03-12 18:38:38 -04:00
paul chipchase
eb022c565e
Fixed MSVC code analysis from giving compiler errors when run with Conformance Mode enabled.
...
When the '/permissive- is set we get a number of compile errors (C2337) due to microsoft attributes in \include\CodeAnalysis\sourceannotations.h
#jira none
#rnx
#rb Ben.Marsh
[CL 12124774 by paul chipchase in 4.25 branch]
2020-03-11 09:16:22 -04:00
Ben Marsh
89707d48c4
Fix recursive action when running PVS toolchain.
...
#rb none
#rnx
#jira
[CL 12056498 by Ben Marsh in 4.25 branch]
2020-03-08 18:00:50 -04:00
Ben Marsh
c5e461075f
Add missing copyright notice.
...
#rb none
#rnx
#jira
[CL 12049506 by Ben Marsh in 4.25 branch]
2020-03-07 15:17:52 -05:00
Ben Marsh
bf0b702d4b
UBT: Fix makefile being invalidated by response files updated during the build process. Also fix certain source files excluded from unity builds from triggering makefile invalidation.
...
Creation time of the makefile was being used to test whether dependencies have been modified, which is valid for external dependencies (since we want to catch any files modified after the build process starts), but not valid for files we create during the makefile building (such as response files).
Code attempting to detect response files was also incorrect, and would find any leaf files not included in a unity blob. Response files are now detected explicitly.
#rb none
#jira
[CL 12039693 by Ben Marsh in 4.25 branch]
2020-03-06 21:02:25 -05:00
Ben Marsh
71f5ab51b6
Refactor UBT to use an interface (IActionGraphBuilder) to construct the action graph. Response files are also constructed through this interface, allowing them to be tracked as dependencies (will be added in subsequent change).
...
#rb none
#jira
[CL 12038895 by Ben Marsh in 4.25 branch]
2020-03-06 20:42:36 -05:00
steve smith
4052195319
Fix build break in HL manifest generator
...
#rb trivial
#jira none
[CL 11910704 by steve smith in 4.25 branch]
2020-03-04 14:49:01 -05:00
steve smith
95a26ce666
From Microsoft:
...
Autoincrement project version after each build
Opt-in in HoloLens project settings under packaging/ Auto Increment Version
The store requires unique version numbers for each update, this makes it easier to track.
#RB steve.smith, jeff.fisher
#jira none
[CL 11909159 by steve smith in 4.25 branch]
2020-03-04 14:27:53 -05:00
steve smith
3dc636be43
Set default resource entries to pass WACK
...
Previously, resources.resw contained empty entries which would fail WACK
#rb trivial
#jira none
[CL 11849019 by steve smith in 4.25 branch]
2020-03-02 18:55:13 -05:00
steve smith
2ebf466cd7
Prevent store logo from falling back to the wrong size logo
...
The application logo is not a valid fallback if the package logo is not available. This will cause it to fail WACK, and prevent it being uploaded to the store / downloaded on a user's device.
#rb trivial
#jira none
[CL 11848979 by steve smith in 4.25 branch]
2020-03-02 18:54:02 -05:00
steve smith
548d37c037
Update default min Win10 SDK for HL packaging
...
SDK's < 17763 will fail to package if one of these SDKs is installed on the build machine (eg: 16299)
#rb trivial
#jira none
[CL 11848824 by steve smith in 4.25 branch]
2020-03-02 18:49:15 -05:00
Andrew Grant
f7a1951313
Add Thread_UseAllCpuGroups to UnrealBuildTool config to enable UBT to use both CPU groups on high-core systems such as 64-core ThreadRippers.
...
See - https://docs.microsoft.com/en-us/dotnet/framework/configure-apps/file-schema/runtime/thread-useallcpugroups-element
Also added MaxParallelActions command-line flag to UBT that can be used to restrict the number of cores used for local (e.g. nonxge).
Added -cores=X+Y=Z option to benchmark script for profiling
#rb swarm
#review-11806361 @ben.marsh
#jira nojira
[CL 11845433 by Andrew Grant in 4.25 branch]
2020-03-02 15:49:57 -05:00
Josh Adams
39345e391b
- Removed extra Engine directory under the UE4 project above the Platforms directory (Platforms was the only folder in the Engine folder)
...
#jira UE-89854
#rb ben.marsh
[CL 11827890 by Josh Adams in 4.25 branch]
2020-03-02 11:48:16 -05:00