-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathHIDUE.Build.cs
48 lines (40 loc) · 1.43 KB
/
HIDUE.Build.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// Copyright 2018-2021 David Morasz All Rights Reserved.
// This source code is under MIT License https://github.com/microdee/UE4-SpaceMouse/blob/master/LICENSE
using UnrealBuildTool;
public class HIDUE : ModuleRules
{
public HIDUE(ReadOnlyTargetRules Target) : base(Target)
{
PCHUsage = PCHUsageMode.NoPCHs;
bEnableUndefinedIdentifierWarnings = false;
CppStandard = CppStandardVersion.Cpp17;
IsRedistributableOverride = true;;
bLegalToDistributeObjectCode = true;
bPrecompile = true;
PrecompileForTargets = PrecompileTargetsType.Any;
if (Target.Platform == UnrealTargetPlatform.Linux) {
PublicIncludePaths.AddRange(new [] {
"/usr/include",
"/usr/include/x86_64-linux-gnu"
});
PublicSystemLibraries.Add("udev");
PublicSystemLibraryPaths.AddRange(new [] {
"/usr/lib",
"/usr/lib/x86_64-linux-gnu",
"/usr/lib/aarch64-linux-gnu",
"/usr/local/lib",
"/usr/local/lib/x86_64-linux-gnu",
"/usr/local/lib/aarch64-linux-gnu"
});
}
PublicDependencyModuleNames.AddRange(new []
{
"Core",
"CoreUObject"
});
PrivateDependencyModuleNames.AddRange(new []
{
"Engine"
});
}
}