apply third-party modules fixes
This commit is contained in:
@@ -16,6 +16,7 @@ This minor release focuses on delivering performance improvements, made possible
|
||||
- Added third-party module `SGCommonThirdPartyLibs`.
|
||||
- Added third-party module `SGConnectShmThirdPartyLibs`.
|
||||
- Added third-party module `SGCoreShmThirdPartyLibs`.
|
||||
- Added third-party module `SGCoreThirdPartyHeaders`.
|
||||
- Added third-party module `SGFmtThirdPartyLibs`.
|
||||
- Added third-party module `SGLogThirdPartyLibs`.
|
||||
- Added third-party module `SGLoguruThirdPartyLibs`.
|
||||
|
||||
@@ -58,6 +58,7 @@ public class SenseGloveBuildHacks : ModuleRules
|
||||
new string[]
|
||||
{
|
||||
"SGConnectThirdPartyHeaders",
|
||||
"SGCoreThirdPartyHeaders",
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
@@ -51,7 +51,6 @@ public class SenseGloveCore : ModuleRules
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
PrivateDependencyModuleNames.AddRange(
|
||||
new string[]
|
||||
{
|
||||
|
||||
@@ -43,7 +43,7 @@ public class SGBleThirdPartyLibs : ModuleRules
|
||||
{
|
||||
public SGBleThirdPartyLibs(ReadOnlyTargetRules Target) : base(Target)
|
||||
{
|
||||
Type = ModuleType.External;
|
||||
Type = ModuleType.External;
|
||||
|
||||
string ThirdPartyDirectory = Path.GetFullPath(Path.Combine(ModuleDirectory, ".."));
|
||||
string LibraryPath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "lib"));
|
||||
|
||||
@@ -43,7 +43,7 @@ public class SGCommonThirdPartyLibs : ModuleRules
|
||||
{
|
||||
public SGCommonThirdPartyLibs(ReadOnlyTargetRules Target) : base(Target)
|
||||
{
|
||||
Type = ModuleType.External;
|
||||
Type = ModuleType.External;
|
||||
|
||||
string ThirdPartyDirectory = Path.GetFullPath(Path.Combine(ModuleDirectory, ".."));
|
||||
string LibraryPath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "lib"));
|
||||
|
||||
+1
-1
@@ -43,7 +43,7 @@ public class SGConnectShmThirdPartyLibs : ModuleRules
|
||||
{
|
||||
public SGConnectShmThirdPartyLibs(ReadOnlyTargetRules Target) : base(Target)
|
||||
{
|
||||
Type = ModuleType.External;
|
||||
Type = ModuleType.External;
|
||||
|
||||
string ThirdPartyDirectory = Path.GetFullPath(Path.Combine(ModuleDirectory, ".."));
|
||||
string LibraryPath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "lib"));
|
||||
|
||||
+1
-1
@@ -43,7 +43,7 @@ public class SGConnectThirdPartyHeaders : ModuleRules
|
||||
{
|
||||
public SGConnectThirdPartyHeaders(ReadOnlyTargetRules Target) : base(Target)
|
||||
{
|
||||
Type = ModuleType.External;
|
||||
Type = ModuleType.External;
|
||||
|
||||
string ThirdPartyDirectory = Path.GetFullPath(Path.Combine(ModuleDirectory, ".."));
|
||||
string IncludePath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "include"));
|
||||
|
||||
@@ -43,7 +43,7 @@ public class SGConnectThirdPartyLibs : ModuleRules
|
||||
{
|
||||
public SGConnectThirdPartyLibs(ReadOnlyTargetRules Target) : base(Target)
|
||||
{
|
||||
Type = ModuleType.External;
|
||||
Type = ModuleType.External;
|
||||
|
||||
string ThirdPartyDirectory = Path.GetFullPath(Path.Combine(ModuleDirectory, ".."));
|
||||
string LibraryPath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "lib"));
|
||||
|
||||
@@ -43,7 +43,7 @@ public class SGCoreShmThirdPartyLibs : ModuleRules
|
||||
{
|
||||
public SGCoreShmThirdPartyLibs(ReadOnlyTargetRules Target) : base(Target)
|
||||
{
|
||||
Type = ModuleType.External;
|
||||
Type = ModuleType.External;
|
||||
|
||||
string ThirdPartyDirectory = Path.GetFullPath(Path.Combine(ModuleDirectory, ".."));
|
||||
string LibraryPath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "lib"));
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
/**
|
||||
* @file
|
||||
*
|
||||
* @author Mamadou Babaei <mamadou@senseglove.com>
|
||||
*
|
||||
* @section LICENSE
|
||||
*
|
||||
* (The MIT License)
|
||||
*
|
||||
* Copyright (c) 2020 - 2025 SenseGlove
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in all
|
||||
* copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CoreION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
* SOFTWARE.
|
||||
*
|
||||
* @section DESCRIPTION
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using UnrealBuildTool;
|
||||
|
||||
public class SGCoreThirdPartyHeaders : ModuleRules
|
||||
{
|
||||
public SGCoreThirdPartyHeaders(ReadOnlyTargetRules Target) : base(Target)
|
||||
{
|
||||
Type = ModuleType.External;
|
||||
|
||||
string ThirdPartyDirectory = Path.GetFullPath(Path.Combine(ModuleDirectory, ".."));
|
||||
string IncludePath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "include"));
|
||||
|
||||
PublicIncludePaths.Add(IncludePath);
|
||||
}
|
||||
}
|
||||
@@ -43,7 +43,7 @@ public class SGCoreThirdPartyLibs : ModuleRules
|
||||
{
|
||||
public SGCoreThirdPartyLibs(ReadOnlyTargetRules Target) : base(Target)
|
||||
{
|
||||
Type = ModuleType.External;
|
||||
Type = ModuleType.External;
|
||||
|
||||
string ThirdPartyDirectory = Path.GetFullPath(Path.Combine(ModuleDirectory, ".."));
|
||||
string LibraryPath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "lib"));
|
||||
|
||||
@@ -43,7 +43,7 @@ public class SGFmtThirdPartyLibs : ModuleRules
|
||||
{
|
||||
public SGFmtThirdPartyLibs(ReadOnlyTargetRules Target) : base(Target)
|
||||
{
|
||||
Type = ModuleType.External;
|
||||
Type = ModuleType.External;
|
||||
|
||||
string ThirdPartyDirectory = Path.GetFullPath(Path.Combine(ModuleDirectory, ".."));
|
||||
string LibraryPath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "lib"));
|
||||
|
||||
@@ -43,7 +43,7 @@ public class SGLogThirdPartyLibs : ModuleRules
|
||||
{
|
||||
public SGLogThirdPartyLibs(ReadOnlyTargetRules Target) : base(Target)
|
||||
{
|
||||
Type = ModuleType.External;
|
||||
Type = ModuleType.External;
|
||||
|
||||
string ThirdPartyDirectory = Path.GetFullPath(Path.Combine(ModuleDirectory, ".."));
|
||||
string LibraryPath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "lib"));
|
||||
|
||||
@@ -43,7 +43,7 @@ public class SGLoguruThirdPartyLibs : ModuleRules
|
||||
{
|
||||
public SGLoguruThirdPartyLibs(ReadOnlyTargetRules Target) : base(Target)
|
||||
{
|
||||
Type = ModuleType.External;
|
||||
Type = ModuleType.External;
|
||||
|
||||
string ThirdPartyDirectory = Path.GetFullPath(Path.Combine(ModuleDirectory, ".."));
|
||||
string LibraryPath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "lib"));
|
||||
|
||||
@@ -43,7 +43,7 @@ public class SGSerialThirdPartyLibs : ModuleRules
|
||||
{
|
||||
public SGSerialThirdPartyLibs(ReadOnlyTargetRules Target) : base(Target)
|
||||
{
|
||||
Type = ModuleType.External;
|
||||
Type = ModuleType.External;
|
||||
|
||||
string ThirdPartyDirectory = Path.GetFullPath(Path.Combine(ModuleDirectory, ".."));
|
||||
string LibraryPath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "lib"));
|
||||
|
||||
+1
-1
@@ -43,7 +43,7 @@ public class SGWjwwoodSerialThirdPartyLibs : ModuleRules
|
||||
{
|
||||
public SGWjwwoodSerialThirdPartyLibs(ReadOnlyTargetRules Target) : base(Target)
|
||||
{
|
||||
Type = ModuleType.External;
|
||||
Type = ModuleType.External;
|
||||
|
||||
string ThirdPartyDirectory = Path.GetFullPath(Path.Combine(ModuleDirectory, ".."));
|
||||
string LibraryPath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "lib"));
|
||||
|
||||
Reference in New Issue
Block a user