This is passed through to the target receipt, and respected in FPluginManager.
#jira UE-214749
#rb Joe.Kirchoff
[CL 33811096 by zach brockway in ue5-main branch]
* Fixed so PerModule cpp file creates its own translation unit if module merging is enabled
* Fixed so only one translation unit of PerModule.cpp is added per binary if module merging is enabled
[CL 33735442 by henrik karlsson in ue5-main branch]
cl-filter is invoked as follows:
cl-filter -dependencies=<path> -timing=<path> -compiler=<cl_path> -- <cl_path> [at]<rsp_path> <params>
when the command line is too long, SNDBS moves the parameters into a new response file and modifies the call to be:
cl-filter [at]<sndbs_rsp_path>
However, cl-filter doesn't support response files and fails.
Resolved by modifying the SNDBS configuration to only allow the part after "-- <cl_path>" to be moved to the response file.
#rb wojciech.krywult
[CL 33733583 by wojciech krywult in ue5-main branch]
If a module depends on Core and does not want the overloads it needs to add the private define SUPPRESS_PER_MODULE_INLINE_FILE or set PER_MODULE_INLINE_FILE to point to a different file
[CL 33709297 by henrik karlsson in ue5-main branch]
Replace setting SUPPRESS_MONOLITHIC_HEADER_WARNINGS with UE_DIRECT_HEADER_COMPILE for header compilation situations
#rnx
#rb Christopher.Waters, Joe.Kirchoff
[CL 33672325 by marc audy in ue5-main branch]
* Remove pointless define/undef of it
* Set it to 1 consistently in all cases (even though we only check if it is defined)
[CL 33667364 by marc audy in ue5-main branch]
* Headers can have duplicate filenames which results in intermediate file conflicts, generate an intermediate subdirectory using the header relative path from the module root
* Don't use PCH for headers (also fix the original unmodified module compile environment being overwitten due to not making a copy !!!)
* Set SUPPRESS_MONOLITHIC_HEADER_WARNINGS=0 for header compiles
* Remove the need to generate a separate file to include the header with -SingleFile
* Fix /TC not being passed to clang-cl
* Disable a few clang #pragma related warnings
#rnx
#jira UE-214521
#rb christopher.waters
[CL 33608666 by joe kirchoff in ue5-main branch]