Files
UnrealEngineUWP/Engine/Source/ThirdParty/libSampleRate/UElibSampleRate.Build.cs
Wojciech Krywult 0d39b68d37 Modular builds: Attempt to fix IncludeTool warnings by making sure we set PLATFORM_CONSOLE_DYNAMIC_LINK consistently and from only one place.
Check 62a239f7371530bd9c5542a4 job / IncludeTool task for an example.

Currently, we set this define from the platform toolchain script. Setting it from UElibSampleRate module looks like remains of some older prototypes given that PLATFORM_CONSOLE_DYNAMIC_LINK is going to be needed at least for some time to come.

It's not 100% clear, but it seems that setting it from within a module and then setting the default in Platform.h leads to some modules/compilation units using the define provided in UElibSampleRate, which others relying on the default from Platform.h (even though both are set to 0).

#rb david.harvey
#preflight 62a2506dc42e73a4bd07e33c
#rnx

[CL 20594910 by Wojciech Krywult in ue5-main branch]
2022-06-10 10:05:42 -04:00

17 lines
350 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class UELibSampleRate : ModuleRules
{
public UELibSampleRate(ReadOnlyTargetRules Target) : base(Target)
{
PrivateDependencyModuleNames.AddRange(
new string[]
{
"Core"
}
);
}
}