Ben Marsh
6b1d263572
Make bEnableShadowVariableWarnings a per-module setting, so we don't break reuse of shared build intermediates.
...
#codereview Marc.Audy, Wes.Hunt
[CL 2547047 by Ben Marsh in Main branch]
2015-05-12 08:03:21 -04:00
Mark Satterthwaite
5b5808d149
Use a single flat .dSYM on OS X for debug symbols on Josh's advice, this can reside next to the corresponding binary file without breaking the MAX_PATH limit.
...
#codereview michael.trepka, ben.marsh, josh.adams
[CL 2534903 by Mark Satterthwaite in Main branch]
2015-05-02 12:42:12 -04:00
Ben Marsh
9e6f653803
Strip symbols from iOS and Mac libraries in Rocket builds.
...
[CL 2527243 by Ben Marsh in Main branch]
2015-04-27 14:20:54 -04:00
Mark Satterthwaite
b3d4de4640
Disabled Mac .dSYM generation as we hit the Windows build machine's MAX_PATH limit for various projects.
...
#codereview michael.trepka, ben.marsh, zachary.edgertonjones
[CL 2521023 by Mark Satterthwaite in Main branch]
2015-04-22 10:14:12 -04:00
Marc Audy
5eba946116
Allow -Wshadow to be enabled via build configuration
...
[CL 2520977 by Marc Audy in Main branch]
2015-04-22 09:58:49 -04:00
Mark Satterthwaite
95caf7085e
Remove erroneous .dSYM entries for static libraries, only executables & dylibs have corresponding .dSYMs on OS X.
...
#codereview michael.trepka, ben.marsh
[CL 2519494 by Mark Satterthwaite in Main branch]
2015-04-21 13:00:53 -04:00
Mark Satterthwaite
cbe8a3a615
Remove .dSYM bundle path from BuildReceipt as only files are expected in the list, not folders.
...
#codereview michael.trepka, ben.marsh
[CL 2519344 by Mark Satterthwaite in Main branch]
2015-04-21 11:38:52 -04:00
Mark Satterthwaite
b8ee025469
Make Mac builds generate .dSYMs by default for Development & Shipping, making sure to add the .dSYM's Info.plist and internal Mach-O binary to the build receipt.
...
#codereview michael.trepka, ben.marsh
[CL 2519290 by Mark Satterthwaite in Main branch]
2015-04-21 11:04:36 -04:00
Ben Marsh
cb356578a7
Remove unnecessary variables from UEBuildBinaryConfiguration.
...
[CL 2508328 by Ben Marsh in Main branch]
2015-04-10 10:20:45 -04:00
Michael Trepka
96142bfaaf
Alternative way of handling dylibs in Mac bundle subfolders that should work around the Mavericks dlopen() bug
...
#lockdown Zachary.EdgertonJones
[CL 2502658 by Michael Trepka in Main branch]
2015-04-06 10:41:41 -04:00
Ben Marsh
3a7e022d4c
Generate build receipts from UBT, which keep a record of all the files written for a target and records any metadata needed to stage or deploy it.
...
[CL 2501101 by Ben Marsh in Main branch]
2015-04-03 10:25:57 -04:00
Ben Marsh
038289a8a2
Fix MacToolChain trying to add frameworks to static libraries.
...
[CL 2487241 by Ben Marsh in Main branch]
2015-03-21 17:20:28 -04:00
Ben Marsh
999ace2721
Prevent trying to stage bundle resources for static libraries on Mac.
...
[CL 2487234 by Ben Marsh in Main branch]
2015-03-21 16:12:39 -04:00
Ben Marsh
adfde6fb16
Remove some UBT abuses of the "ref" keyword.
...
[CL 2487191 by Ben Marsh in Main branch]
2015-03-21 11:34:08 -04:00
Ben Marsh
a31ea34e13
Change ModuleManager to automatically scan NotForLicensees/NoRedist/CarefullyRedist subfolders when looking for modules, and add Mac support for putting dylibs in subfolders.
...
#codereview Michael.Trepka, Matthew.Griffin
[CL 2486529 by Ben Marsh in Main branch]
2015-03-20 15:01:51 -04:00
Michael Trepka
8237164ace
Fixed use of custom icons and Info.plist files for Mac apps built remotely from PC. Fixes UE4EditorServices on GitHub.
...
#codereview Ben.Marsh
[CL 2472551 by Michael Trepka in Main branch]
2015-03-09 12:19:49 -04:00
Mark Satterthwaite
88751c6da8
Rewritten debug symbol handling for OS X to allow creation of dSYM bundles & symbol stripping of executables.
...
- The MacToolChain will emit dSYMs and strip executables when the UBT configuration enables bGeneratedSYMFile, just like iOS.
- Symbol stripping requires generating dSYMs to prevent creation of non-debuggable builds whose crash reports would be unresolvable.
- To avoid a dependency on the Private framework CoreSymbolication all symbols from that framework are loaded dynamically & can only be used within programs, not the game or the editor, as CoreSymbolication is incompatible with non-ANSI malloc implementations.
- Added an initial platform-agnostic API for querying debug symbol info, including a generic database format that can be queried on otherwise incompatible platforms.
- Added UnrealAtoS that emulates Apple's atos to resolve symbols using the generic database or the platform API (CoreSymbolication on OS X) which on OS X is used by the editor to gather symbol info for CodeView.
- Added DSymExporter which will export Apple debug symbol data from Mach-O binaries, including the payload within a .dSYM bundle, to the generic format so that the crash report server may one day read the data without needing a Mac to symbolicate reports.
- Initial SymbolDebugger & MinidumpDiagnostics support on OS X.
#codereview michael.trepka, Jaroslaw.Surowiec, lee.clark, peter.sauerbrei
[CL 2466299 by Mark Satterthwaite in Main branch]
2015-03-02 10:21:50 -05:00
Josh Adams
99daf37ae1
Reverted changes in some files that shouldn't have been checked in that was trying to build D3D shader support for Mac
...
[CL 2448975 by Josh Adams in Main branch]
2015-02-17 13:52:02 -05:00
Michael Trepka
0abcb75558
Disable output from pushd and popd called from FixDylibDependencies script on Mac
...
[CL 2448694 by Michael Trepka in Main branch]
2015-02-17 10:11:53 -05:00
Josh Adams
56440f0048
- First checkin for the new DesktopTargetPlatform that will be able to cook packages for Windows, Mac, and Linux. So far, cooking on Windows and Mac and run on each other (with -opengl on Windows, since Mac can't currently compile D3D shaders)
...
[CL 2448658 by Josh Adams in Main branch]
2015-02-17 09:57:44 -05:00
Michael Trepka
96eb414118
Use relative paths in the response file used for linking on Mac to fix the posix_spawn_failed error in non-unity builds
...
[CL 2447327 by Michael Trepka in Main branch]
2015-02-16 12:36:50 -05:00
Michael Trepka
5aebb2b943
Simplified dylibs setting in Mac toolchain, so we use rpaths for almost everything.
...
[CL 2420799 by Michael Trepka in Main branch]
2015-01-27 14:17:36 -05:00
Ben Marsh
d62771b694
[INTEGRATE] Change 2417634 by Ben.Marsh@Ben.Marsh_T3245_Clean on 2015/01/23 22:05:59
...
Fix mono warnings about unused variables.
#codereview Michael.Trepka
[CL 2419682 by Ben Marsh in Main branch]
2015-01-26 20:10:40 -05:00
Michael Trepka
6554b3b486
Support for using CEF framwork in packaged games (changed CEF3 target to use framework in Binaries/ThirdParty, removed extra copy in Source/ThirdParty, switched the framework and libs to use rpaths instead of hardcoded path). Re-enabled UE4Game dependency on WebBroswer module in Rocket on Mac.
...
#codereview Ben.Marsh, Matthew.Griffin
[CL 2415823 by Michael Trepka in Main branch]
2015-01-22 16:20:44 -05:00
Ben Marsh
b321e6f43b
Bit of housekeeping before adding list of dependencies into UBT's manifest:
...
* Renamed FileManifest to BuildManifest and FileManifestItems to BuildProducts, to more accurately reflect what they are.
* Removed ref qualifier when passing BuildManifest around; it's already a reference type, and not meant to be assigned to.
* Removed UAT's redundant copy of BuildManifest, since it already references the UBT assembly.
[CL 2406323 by Ben Marsh in Main branch]
2015-01-14 15:46:41 -05:00