Created
March 21, 2015 07:23
-
-
Save shadowmint/ae4bd93053566af4b40f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. | |
using System.IO; | |
namespace UnrealBuildTool.Rules | |
{ | |
public class TestBlankPlugin : ModuleRules | |
{ | |
private string ModulePath { | |
get { | |
return Path.GetFullPath(Path.GetDirectoryName(RulesCompiler.GetModuleFilename(this.GetType().Name))); | |
} | |
} | |
public TestBlankPlugin(TargetInfo Target) | |
{ | |
var plugin = Path.Combine(ModulePath, "../../../extern/"); | |
var plugin_lib = Path.Combine(plugin, "target/debug/libextern.lib"); | |
var plugin_headers = Path.Combine(plugin, "include"); | |
Log.TraceError(plugin); | |
Log.TraceError(plugin_lib); | |
Log.TraceError(plugin_headers); | |
PublicAdditionalLibraries.Add(plugin_lib); | |
PublicIncludePaths.Add(plugin_headers); | |
PublicDelayLoadDLLs.Add(plugin_lib); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment