added preprocessor definitions to the plugin so c++ can control

different code paths depending on if they are enabled or not.


Former-commit-id: 42f000697cc3095d2795bfc3b9a2a79db94af741
This commit is contained in:
mordentral
2017-04-06 12:11:16 -04:00
parent 2fc814622e
commit 4388f57f3d
2 changed files with 6 additions and 2 deletions

View File

@@ -5,6 +5,8 @@ public class AdvancedSessions : ModuleRules
{
public AdvancedSessions(TargetInfo Target)
{
Definitions.Add("WITH_ADVANCED_SESSIONS=1");
PrivateIncludePaths.AddRange(new string[] { "AdvancedSessions/Private"/*, "OnlineSubsystemSteam/Private"*/ });
PublicIncludePaths.AddRange(new string[] { "AdvancedSessions/Public" });
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "OnlineSubsystem", "CoreUObject", "OnlineSubsystemUtils", "Networking", "Sockets"/*"Voice", "OnlineSubsystemSteam"*/ });