make the plugin build with the upcoming ue 5.8, msvc 2026, and upcoming senseglove libraries v2.400.x
This commit is contained in:
@@ -105,8 +105,10 @@ Welcom to the SenseGlove Unreal Engine Handbook!
|
|||||||
- [SenseGlove SDK License](license/senseglove-sdk.md)
|
- [SenseGlove SDK License](license/senseglove-sdk.md)
|
||||||
- [SGBLE and SGBLExx Rust Dependencies Licenses](license/sgble-sgblexx-rust-dependencies.md)
|
- [SGBLE and SGBLExx Rust Dependencies Licenses](license/sgble-sgblexx-rust-dependencies.md)
|
||||||
- [Boost C++ Libraries License](license/boost-cpp-libraries.md)
|
- [Boost C++ Libraries License](license/boost-cpp-libraries.md)
|
||||||
|
- [FlatBuffers Memory Efficient Serialization Library Licence](license/flatbuffers-serialization-library.md)
|
||||||
- [{fmt} Formatting Library License](license/fmt-formatting-library.md)
|
- [{fmt} Formatting Library License](license/fmt-formatting-library.md)
|
||||||
- [Loguru Logging Library License](license/loguru-loggin-library.md)
|
- [Loguru Logging Library License](license/loguru-logging-library.md)
|
||||||
|
- [nanomsg-next-generation Lightweight Brokerless Messaging Library License](license/nng-messaging-library.md)
|
||||||
- [Serial Communication Library License](license/serial-communication-library.md)
|
- [Serial Communication Library License](license/serial-communication-library.md)
|
||||||
|
|
||||||
-----------
|
-----------
|
||||||
|
|||||||
@@ -7,8 +7,45 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
This minor release introduces a major IPC overhaul, significant inter-process communication performance improvements and bug fixes, along with Unreal Engine `5.8` and Microsoft Visual Studio 2026 support.
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- Added initial support for the upcoming Unreal Engine `5.8`.
|
||||||
|
- Added support for Microsoft Visual Studio 2026 to allow building UE `5.7` and `5.8` projects with the latest Visual Studio version.
|
||||||
|
- Added support for MSVC Toolsets `v145: 14.50.35717` (UE `5.8`) and `v143: 14.44.35207` (UE `5.8` and `5.7`). Previously, the plugin shipped only `v143: 14.38.33130`, which has now been declared out of support by Microsoft. `14.38.33130` binaries are still shipped, as it remains Epic Games' preferred MSVC toolchain for building UE `5.5` and `5.6` on Microsoft Windows.
|
||||||
|
- Added support for the new SenseGlove inter-process communication module `SGFakeShm`, enabling communication with SenseCom via `IPC` (named pipes on Microsoft Windows and Unix Domain Sockets on GNU/Linux) and `TCP over loopback/localhost` mechanisms, in addition to the previously supported `Boost::SharedMem`. This release also reduces `Boost::SharedMem` latency and increases data throughput, which should help improve frame rate and overall performance. Please note that communication over SharedMem is still blocking (non-async) in nature, so in enterprise environments where security software typically restricts `SharedMem` access, or in cases of conflicts with other applications, we recommend using either `IPC` or `TCP`. These transports have been implemented from scratch using an asynchronous, non-blocking architecture, although the new SenseCom also supports optional blocking communication modes and additional configuration tweaks if desired. `IPC` and `TCP over loopback` are also typically less restricted than `SharedMem` in enterprise environments and generally provide significantly lower latency. This helps maintain smooth frame rates by decoupling rendering and data exchange with SenseCom. Furthermore, the new SenseGlove UE plugin and SenseCom remain backward compatible with older releases of SenseCom and the UE plugin without requiring any specific configuration. They can automatically detect and fall back to the legacy `SharedMem` transport.
|
||||||
|
- Added [nanomsg/nng](https://github.com/nanomsg/nng) third-party library binaries for Microsoft Windows and GNU/Linux. This is a requirement for the `SGFakeShm` module.
|
||||||
|
- Added [google/flatbuffers](https://github.com/google/flatbuffers) third-party library binaries for Microsoft Windows and GNU/Linux. This is a requirement for the `SGFakeShm` module.
|
||||||
|
- Added third-party module `SGFakeShmThirdPartyLibs`.
|
||||||
|
- Added third-party module `SGFlatBuffersThirdPartyLibs`.
|
||||||
|
- Added third-party module `SGNngThirdPartyLibs`.
|
||||||
|
- Added `SGBuildHacks/SGInclude_Core_DeviceTypes`.
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- This release ships a revamped version of the SenseGlove libraries with numerous bug fixes, multithreading improvements, SharedMem performance enhancements, BTSerial fixes, and many other improvements.
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- Bumped the SenseGlove libraries to an experimental version of the upcoming `v2.400.x` series. This release introduces new Inter-Process Communication (IPC) capabilities and delivers significant improvements and bug fixes, particularly in multithreaded code. The new `FakeShm` back end significantly improves the performance of the existing `SharedMem` transport while retaining compatibility with older releases of SenseCom. It also introduces two new transports (communication mechanisms), namely `IPC` and `TCP`, on both GNU/Linux and Microsoft Windows.
|
||||||
|
- The `ThirdParty/lib/windows` directory structure has been revamped to support multiple MSVC toolsets/toolchains and the distribution of binaries built for every MSVC configuration supported by Epic Games on supported engine/plugin versions.
|
||||||
|
- The following third-party binaries/libraries are no longer distributed or linked on Android: `SGBleThirdPartyLibs`, `SGConnectShmThirdPartyLibs`, `SGCoreShmThirdPartyLibs`, `SGSerialThirdPartyLibs`, and `SGWjwwoodSerialThirdPartyLibs`. This helps keep the plugin and generated Android APKs smaller while also reducing linking and build times.
|
||||||
|
- `SenseGloveConnectImpl` module exported C functions have been renamed from `SGConnect_Init()`, `SGConnect_Dispose()`, and `SGConnect_GetLibraryVersion()` to `SGConnectImpl_Init()`, `SGConnectImpl_Dispose()`, and `SGConnectImpl_GetLibraryVersion()` respectively, as the underlying `SGConnect` library exports functions with the exact same names. This change resolves link-time issues caused by duplicate symbols. This should not affect the existing SenseGlove Blueprint or C++ APIs, as these functions are used internally.
|
||||||
|
|
||||||
|
### Removed
|
||||||
|
|
||||||
|
- Removed SenseGlove library binaries built with Epic Native/Cross Toolchains `v22` from the distributed third-party binaries shipped with the plugin. Support for the `v22` toolchain, which was previously used to build UE `5.3` and `5.4` Linux dependencies, has been dropped since plugin release `v2.8.0`.
|
||||||
|
- Removed `btleplug` Android dependencies, as the SenseGlove libraries for Android no longer rely on `btleplug` for BLE communication.
|
||||||
|
|
||||||
### Documentation
|
### Documentation
|
||||||
|
|
||||||
|
- Added [FlatBuffers Memory Efficient Serialization Library Licence](../license/flatbuffers-serialization-library.html) section.
|
||||||
|
- Added [nanomsg-next-generation Lightweight Brokerless Messaging Library License](../license/nng-messaging-library.html) section.
|
||||||
|
- Fixed a typo in the URL of the [Loguru Logging Library License](../license/loguru-logging-library.html) section.
|
||||||
|
- Updated the [SGBLE and SGBLExx Rust Dependencies License](sgble-sgblexx-rust-dependencies.html) section.
|
||||||
|
- Updated the [Plugin Directory Structure](./directory-structure.html) section to reflect the recent changes.
|
||||||
|
- Updated the [Platform Support Matrix](./platform-support-matrix.html) section to reflect the recent changes.
|
||||||
- Additional minor fixes and improvements that may not be listed here.
|
- Additional minor fixes and improvements that may not be listed here.
|
||||||
|
|
||||||
## [2.8.1] - 2026-05-11
|
## [2.8.1] - 2026-05-11
|
||||||
@@ -177,7 +214,7 @@ This minor release focuses on delivering performance improvements, made possible
|
|||||||
### Documentation
|
### Documentation
|
||||||
|
|
||||||
- Added [{fmt} Formatting Library License](../license/fmt-formatting-library.html) section.
|
- Added [{fmt} Formatting Library License](../license/fmt-formatting-library.html) section.
|
||||||
- Added [Loguru Logging Library License](../license/loguru-loggin-library.html) section.
|
- Added [Loguru Logging Library License](../license/loguru-logging-library.html) section.
|
||||||
- Updated [Setting up the Touch System](../getting-started/setup-touch-system/index.html) section to reflect the recent touch system changes.
|
- Updated [Setting up the Touch System](../getting-started/setup-touch-system/index.html) section to reflect the recent touch system changes.
|
||||||
- Added [a third-party tutorial to the Android Standalone Mode Deployment](../misc/android-standalone-deployment/third-party-tutorials/) section for UE `5.7` which provides a one-click Android development and build environment setup, instructions on how to setup and use the new UE `5.7` project launcher, and how to enabled OpenXR hand-tracking support on Meta Quest and HTC VIVE devices.
|
- Added [a third-party tutorial to the Android Standalone Mode Deployment](../misc/android-standalone-deployment/third-party-tutorials/) section for UE `5.7` which provides a one-click Android development and build environment setup, instructions on how to setup and use the new UE `5.7` project launcher, and how to enabled OpenXR hand-tracking support on Meta Quest and HTC VIVE devices.
|
||||||
|
|
||||||
|
|||||||
@@ -159,7 +159,23 @@
|
|||||||
│ │
|
│ │
|
||||||
│ └── windows
|
│ └── windows
|
||||||
│ │
|
│ │
|
||||||
│ ├── v143 (Microsoft Visual Studio 2022 dependencies)
|
│ ├── v143-1438 (Microsoft Visual Studio 2022 dependencies for UE 5.5 and 5.6)
|
||||||
|
│ │ │
|
||||||
|
│ │ └── x86-64 (dependencies targeting Microsoft Windows x86-64 architecture)
|
||||||
|
│ │ │
|
||||||
|
│ │ ├── debug
|
||||||
|
│ │ │
|
||||||
|
│ │ └── release
|
||||||
|
│ │
|
||||||
|
│ ├── v143-1444 (Microsoft Visual Studio 2022 dependencies for UE 5.7 and 5.8)
|
||||||
|
│ │ │
|
||||||
|
│ │ └── x86-64 (dependencies targeting Microsoft Windows x86-64 architecture)
|
||||||
|
│ │ │
|
||||||
|
│ │ ├── debug
|
||||||
|
│ │ │
|
||||||
|
│ │ └── release
|
||||||
|
│ │
|
||||||
|
│ ├── v145-1450 (Microsoft Visual Studio 2026 dependencies for UE 5.8)
|
||||||
│ │ │
|
│ │ │
|
||||||
│ │ └── x86-64 (dependencies targeting Microsoft Windows x86-64 architecture)
|
│ │ └── x86-64 (dependencies targeting Microsoft Windows x86-64 architecture)
|
||||||
│ │ │
|
│ │ │
|
||||||
|
|||||||
@@ -1,21 +1,22 @@
|
|||||||
## Platform Support Matrix
|
## Platform Support Matrix
|
||||||
|
|
||||||
| | **Windows (MSVC 2017)** | **Windows (MSVC 2019)** | **Windows (MSVC 2022)** | **Linux x86-64 (Native Toolchain)** | **Linux AArch64 (Native Toolchain)** | **Meta Quest Standalone (Android NDK)** | **HTC VIVE Standalone (Android NDK)** | **Fab** | **Azure DevOps Version** |
|
| | **Windows (MSVC 2017)** | **Windows (MSVC 2019)** | **Windows (MSVC 2022)** | **Windows (MSVC 2026)** | **Linux x86-64 (Native Toolchain)** | **Linux AArch64 (Native Toolchain)** | **Meta Quest Standalone (Android NDK)** | **HTC VIVE Standalone (Android NDK)** | **Fab** | **Azure DevOps Version** |
|
||||||
|:--------:|-------------------------|-------------------------|-------------------------|:-----------------------------------:|:------------------------------------:|:---------------------------------------:|:-------------------------------------:|:--------:|:------------------------:|
|
|:--------:|:-----------------------:|:-----------------------:|:-----------------------:|:-----------------------:|:-----------------------------------:|:------------------------------------:|:---------------------------------------:|---------------------------------------|----------|--------------------------|
|
||||||
| **5.7** | ❌ | ❌ | ✅ v2.8.x | ✅ v2.8.x | ✅ v2.8.x | ✅ v2.8.x (r25b) | ❓ | ✅ v2.8.1 | ✅ v2.8.1 |
|
| | ❌ | ❌ | ✅ v2.9.x | ✅ v2.9.x | ✅ v2.9.x | ✅ v2.9.x | ✅ v2.9.x (r25b) | ❓ | ✅ v2.9.0 | ✅ v2.9.0 |
|
||||||
| **5.6** | ❌ | ❌ | ✅ v2.8.x | ✅ v2.8.x | ✅ v2.8.x | ✅ v2.8.x (r25b) | ❓ | ✅ v2.8.1 | ✅ v2.8.1 |
|
| **5.7** | ❌ | ❌ | ✅ v2.9.x | ✅ v2.9.x | ✅ v2.9.x | ✅ v2.9.x | ✅ v2.9.x (r25b) | ❓ | ✅ v2.9.0 | ✅ v2.9.0 |
|
||||||
| **5.5** | ❌ | ❌ | ✅ v2.8.x | ✅ v2.8.x | ✅ v2.8.x | ✅ v2.8.x (r25b) | ❓ | ✅ v2.8.1 | ✅ v2.8.1 |
|
| **5.6** | ❌ | ❌ | ✅ v2.9.x | ❌ | ✅ v2.9.x | ✅ v2.9.x | ✅ v2.9.x (r25b) | ❓ | ✅ v2.9.0 | ✅ v2.9.0 |
|
||||||
| **5.4** | ❌ | ❌ | ⚠️ v2.7.x | ⚠️ v2.7.x | ⚠️ v2.7.x | ⚠️ v2.7.x (r25b) | ⚠️ v2.7.x (r25b) | ⚠️ v2.7.3 | ⚠️ v2.7.3 |
|
| **5.5** | ❌ | ❌ | ✅ v2.9.x | ❌ | ✅ v2.9.x | ✅ v2.9.x | ✅ v2.9.x (r25b) | ❓ | ✅ v2.9.0 | ✅ v2.9.0 |
|
||||||
| **5.3** | ❌ | ⚠️ v2.6.x | ⚠️ v2.6.x | ⚠️ v2.6.x | ⚠️ v2.6.x | ⚠️ v2.6.x (r25b) | ⚠️ v2.6.x (r25b) | ⚠️ v2.6.3 | ⚠️ v2.6.3 |
|
| **5.4** | ❌ | ❌ | ⚠️ v2.7.x | ❌ | ⚠️ v2.7.x | ⚠️ v2.7.x | ⚠️ v2.7.x (r25b) | ⚠️ v2.7.x (r25b) | ⚠️ v2.7.3 | ⚠️ v2.7.3 |
|
||||||
| **5.2** | ❌ | ⚠️ v2.4.x | ⚠️ v2.4.x | ⚠️ v2.4.x | ⚠️ v2.4.x | ⚠️ v2.4.x (r25b) | ❓ | ⚠️ v2.4.2 | ⚠️ v2.4.2 |
|
| **5.3** | ❌ | ⚠️ v2.6.x | ⚠️ v2.6.x | ❌ | ⚠️ v2.6.x | ⚠️ v2.6.x | ⚠️ v2.6.x (r25b) | ⚠️ v2.6.x (r25b) | ⚠️ v2.6.3 | ⚠️ v2.6.3 |
|
||||||
| **5.1** | ❌ | ⚠️ v2.0.x | ⚠️ v2.0.x | ⚠️ v2.0.x | ⚠️ v2.0.x | ⚠️ v2.0.x (r25b) | ❓ | ⚠️ v2.0.0 | ⚠️ v2.0.2 |
|
| **5.2** | ❌ | ⚠️ v2.4.x | ⚠️ v2.4.x | ❌ | ⚠️ v2.4.x | ⚠️ v2.4.x | ⚠️ v2.4.x (r25b) | ❓ | ⚠️ v2.4.2 | ⚠️ v2.4.2 |
|
||||||
| **5.0** | ❌ | ⚠️ v1.6.x | ⚠️ v1.6.x | ⚠️ v1.6.x | ⚠️ v1.6.x | ⚠️ v1.6.x (r21e) | ❓ | ⚠️ v1.6.1 | ⚠️ v1.6.1 |
|
| **5.1** | ❌ | ⚠️ v2.0.x | ⚠️ v2.0.x | ❌ | ⚠️ v2.0.x | ⚠️ v2.0.x | ⚠️ v2.0.x (r25b) | ❓ | ⚠️ v2.0.0 | ⚠️ v2.0.2 |
|
||||||
| **4.27** | ⚠️ v1.4.x | ⚠️ v1.4.x | ⚠️ v1.4.x | ⚠️ v1.4.x | ⚠️ v1.4.x | ⚠️ v1.4.x (r21e) | ❓ | ⚠️ v1.3.1 | ⚠️ v1.4.3 |
|
| **5.0** | ❌ | ⚠️ v1.6.x | ⚠️ v1.6.x | ❌ | ⚠️ v1.6.x | ⚠️ v1.6.x | ⚠️ v1.6.x (r21e) | ❓ | ⚠️ v1.6.1 | ⚠️ v1.6.1 |
|
||||||
| **4.26** | ⚠️ v1.0.x | ⚠️ v1.0.x | ❌ | ⚠️ v1.0.x | ❌ | ❌ | ❌ | ❌ | ⚠️ v1.0.4 |
|
| **4.27** | ⚠️ v1.4.x | ⚠️ v1.4.x | ⚠️ v1.4.x | ❌ | ⚠️ v1.4.x | ⚠️ v1.4.x | ⚠️ v1.4.x (r21e) | ❓ | ⚠️ v1.3.1 | ⚠️ v1.4.3 |
|
||||||
| **4.25** | ⚠️ v1.0.x | ⚠️ v1.0.x | ❌ | ⚠️ v1.0.x | ❌ | ❌ | ❌ | ❌ | ⚠️ v1.0.4 |
|
| **4.26** | ⚠️ v1.0.x | ⚠️ v1.0.x | ❌ | ❌ | ⚠️ v1.0.x | ❌ | ❌ | ❌ | ❌ | ⚠️ v1.0.4 |
|
||||||
| **4.24** | ⚠️ v1.0.x | ⚠️ v1.0.x | ❌ | ⚠️ v1.0.x | ❌ | ❌ | ❌ | ❌ | ⚠️ v1.0.4 |
|
| **4.25** | ⚠️ v1.0.x | ⚠️ v1.0.x | ❌ | | ⚠️ v1.0.x | ❌ | ❌ | ❌ | ❌ | ⚠️ v1.0.4 |
|
||||||
| **4.23** | ⚠️ v1.0.x | ⚠️ v1.0.x | ❌ | ⚠️ v1.0.x | ❌ | ❌ | ❌ | ❌ | ⚠️ v1.0.4 |
|
| **4.24** | ⚠️ v1.0.x | ⚠️ v1.0.x | ❌ | | ⚠️ v1.0.x | ❌ | ❌ | ❌ | ❌ | ⚠️ v1.0.4 |
|
||||||
| **4.22** | ⚠️ v1.0.x | ⚠️ v1.0.x | ❌ | ⚠️ v1.0.x | ❌ | ❌ | ❌ | ❌ | ⚠️ v1.0.4 |
|
| **4.23** | ⚠️ v1.0.x | ⚠️ v1.0.x | ❌ | | ⚠️ v1.0.x | ❌ | ❌ | ❌ | ❌ | ⚠️ v1.0.4 |
|
||||||
|
| **4.22** | ⚠️ v1.0.x | ⚠️ v1.0.x | ❌ | | ⚠️ v1.0.x | ❌ | ❌ | ❌ | ❌ | ⚠️ v1.0.4 |
|
||||||
|
|
||||||
* <code>✅</code> Supported
|
* <code>✅</code> Supported
|
||||||
* <code>⚠️</code> End-of-life (EOL) release that is not supported anymore and might be lacking features
|
* <code>⚠️</code> End-of-life (EOL) release that is not supported anymore and might be lacking features
|
||||||
|
|||||||
@@ -0,0 +1,206 @@
|
|||||||
|
# FlatBuffers Memory Efficient Serialization Library Licence
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
Apache License
|
||||||
|
Version 2.0, January 2004
|
||||||
|
http://www.apache.org/licenses/
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||||
|
|
||||||
|
1. Definitions.
|
||||||
|
|
||||||
|
"License" shall mean the terms and conditions for use, reproduction,
|
||||||
|
and distribution as defined by Sections 1 through 9 of this document.
|
||||||
|
|
||||||
|
"Licensor" shall mean the copyright owner or entity authorized by
|
||||||
|
the copyright owner that is granting the License.
|
||||||
|
|
||||||
|
"Legal Entity" shall mean the union of the acting entity and all
|
||||||
|
other entities that control, are controlled by, or are under common
|
||||||
|
control with that entity. For the purposes of this definition,
|
||||||
|
"control" means (i) the power, direct or indirect, to cause the
|
||||||
|
direction or management of such entity, whether by contract or
|
||||||
|
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||||
|
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||||
|
|
||||||
|
"You" (or "Your") shall mean an individual or Legal Entity
|
||||||
|
exercising permissions granted by this License.
|
||||||
|
|
||||||
|
"Source" form shall mean the preferred form for making modifications,
|
||||||
|
including but not limited to software source code, documentation
|
||||||
|
source, and configuration files.
|
||||||
|
|
||||||
|
"Object" form shall mean any form resulting from mechanical
|
||||||
|
transformation or translation of a Source form, including but
|
||||||
|
not limited to compiled object code, generated documentation,
|
||||||
|
and conversions to other media types.
|
||||||
|
|
||||||
|
"Work" shall mean the work of authorship, whether in Source or
|
||||||
|
Object form, made available under the License, as indicated by a
|
||||||
|
copyright notice that is included in or attached to the work
|
||||||
|
(an example is provided in the Appendix below).
|
||||||
|
|
||||||
|
"Derivative Works" shall mean any work, whether in Source or Object
|
||||||
|
form, that is based on (or derived from) the Work and for which the
|
||||||
|
editorial revisions, annotations, elaborations, or other modifications
|
||||||
|
represent, as a whole, an original work of authorship. For the purposes
|
||||||
|
of this License, Derivative Works shall not include works that remain
|
||||||
|
separable from, or merely link (or bind by name) to the interfaces of,
|
||||||
|
the Work and Derivative Works thereof.
|
||||||
|
|
||||||
|
"Contribution" shall mean any work of authorship, including
|
||||||
|
the original version of the Work and any modifications or additions
|
||||||
|
to that Work or Derivative Works thereof, that is intentionally
|
||||||
|
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||||
|
or by an individual or Legal Entity authorized to submit on behalf of
|
||||||
|
the copyright owner. For the purposes of this definition, "submitted"
|
||||||
|
means any form of electronic, verbal, or written communication sent
|
||||||
|
to the Licensor or its representatives, including but not limited to
|
||||||
|
communication on electronic mailing lists, source code control systems,
|
||||||
|
and issue tracking systems that are managed by, or on behalf of, the
|
||||||
|
Licensor for the purpose of discussing and improving the Work, but
|
||||||
|
excluding communication that is conspicuously marked or otherwise
|
||||||
|
designated in writing by the copyright owner as "Not a Contribution."
|
||||||
|
|
||||||
|
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||||
|
on behalf of whom a Contribution has been received by Licensor and
|
||||||
|
subsequently incorporated within the Work.
|
||||||
|
|
||||||
|
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
copyright license to reproduce, prepare Derivative Works of,
|
||||||
|
publicly display, publicly perform, sublicense, and distribute the
|
||||||
|
Work and such Derivative Works in Source or Object form.
|
||||||
|
|
||||||
|
3. Grant of Patent License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
(except as stated in this section) patent license to make, have made,
|
||||||
|
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||||
|
where such license applies only to those patent claims licensable
|
||||||
|
by such Contributor that are necessarily infringed by their
|
||||||
|
Contribution(s) alone or by combination of their Contribution(s)
|
||||||
|
with the Work to which such Contribution(s) was submitted. If You
|
||||||
|
institute patent litigation against any entity (including a
|
||||||
|
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||||
|
or a Contribution incorporated within the Work constitutes direct
|
||||||
|
or contributory patent infringement, then any patent licenses
|
||||||
|
granted to You under this License for that Work shall terminate
|
||||||
|
as of the date such litigation is filed.
|
||||||
|
|
||||||
|
4. Redistribution. You may reproduce and distribute copies of the
|
||||||
|
Work or Derivative Works thereof in any medium, with or without
|
||||||
|
modifications, and in Source or Object form, provided that You
|
||||||
|
meet the following conditions:
|
||||||
|
|
||||||
|
(a) You must give any other recipients of the Work or
|
||||||
|
Derivative Works a copy of this License; and
|
||||||
|
|
||||||
|
(b) You must cause any modified files to carry prominent notices
|
||||||
|
stating that You changed the files; and
|
||||||
|
|
||||||
|
(c) You must retain, in the Source form of any Derivative Works
|
||||||
|
that You distribute, all copyright, patent, trademark, and
|
||||||
|
attribution notices from the Source form of the Work,
|
||||||
|
excluding those notices that do not pertain to any part of
|
||||||
|
the Derivative Works; and
|
||||||
|
|
||||||
|
(d) If the Work includes a "NOTICE" text file as part of its
|
||||||
|
distribution, then any Derivative Works that You distribute must
|
||||||
|
include a readable copy of the attribution notices contained
|
||||||
|
within such NOTICE file, excluding those notices that do not
|
||||||
|
pertain to any part of the Derivative Works, in at least one
|
||||||
|
of the following places: within a NOTICE text file distributed
|
||||||
|
as part of the Derivative Works; within the Source form or
|
||||||
|
documentation, if provided along with the Derivative Works; or,
|
||||||
|
within a display generated by the Derivative Works, if and
|
||||||
|
wherever such third-party notices normally appear. The contents
|
||||||
|
of the NOTICE file are for informational purposes only and
|
||||||
|
do not modify the License. You may add Your own attribution
|
||||||
|
notices within Derivative Works that You distribute, alongside
|
||||||
|
or as an addendum to the NOTICE text from the Work, provided
|
||||||
|
that such additional attribution notices cannot be construed
|
||||||
|
as modifying the License.
|
||||||
|
|
||||||
|
You may add Your own copyright statement to Your modifications and
|
||||||
|
may provide additional or different license terms and conditions
|
||||||
|
for use, reproduction, or distribution of Your modifications, or
|
||||||
|
for any such Derivative Works as a whole, provided Your use,
|
||||||
|
reproduction, and distribution of the Work otherwise complies with
|
||||||
|
the conditions stated in this License.
|
||||||
|
|
||||||
|
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||||
|
any Contribution intentionally submitted for inclusion in the Work
|
||||||
|
by You to the Licensor shall be under the terms and conditions of
|
||||||
|
this License, without any additional terms or conditions.
|
||||||
|
Notwithstanding the above, nothing herein shall supersede or modify
|
||||||
|
the terms of any separate license agreement you may have executed
|
||||||
|
with Licensor regarding such Contributions.
|
||||||
|
|
||||||
|
6. Trademarks. This License does not grant permission to use the trade
|
||||||
|
names, trademarks, service marks, or product names of the Licensor,
|
||||||
|
except as required for reasonable and customary use in describing the
|
||||||
|
origin of the Work and reproducing the content of the NOTICE file.
|
||||||
|
|
||||||
|
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||||
|
agreed to in writing, Licensor provides the Work (and each
|
||||||
|
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
implied, including, without limitation, any warranties or conditions
|
||||||
|
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||||
|
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||||
|
appropriateness of using or redistributing the Work and assume any
|
||||||
|
risks associated with Your exercise of permissions under this License.
|
||||||
|
|
||||||
|
8. Limitation of Liability. In no event and under no legal theory,
|
||||||
|
whether in tort (including negligence), contract, or otherwise,
|
||||||
|
unless required by applicable law (such as deliberate and grossly
|
||||||
|
negligent acts) or agreed to in writing, shall any Contributor be
|
||||||
|
liable to You for damages, including any direct, indirect, special,
|
||||||
|
incidental, or consequential damages of any character arising as a
|
||||||
|
result of this License or out of the use or inability to use the
|
||||||
|
Work (including but not limited to damages for loss of goodwill,
|
||||||
|
work stoppage, computer failure or malfunction, or any and all
|
||||||
|
other commercial damages or losses), even if such Contributor
|
||||||
|
has been advised of the possibility of such damages.
|
||||||
|
|
||||||
|
9. Accepting Warranty or Additional Liability. While redistributing
|
||||||
|
the Work or Derivative Works thereof, You may choose to offer,
|
||||||
|
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||||
|
or other liability obligations and/or rights consistent with this
|
||||||
|
License. However, in accepting such obligations, You may act only
|
||||||
|
on Your own behalf and on Your sole responsibility, not on behalf
|
||||||
|
of any other Contributor, and only if You agree to indemnify,
|
||||||
|
defend, and hold each Contributor harmless for any liability
|
||||||
|
incurred by, or claims asserted against, such Contributor by reason
|
||||||
|
of your accepting any such warranty or additional liability.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
APPENDIX: How to apply the Apache License to your work.
|
||||||
|
|
||||||
|
To apply the Apache License to your work, attach the following
|
||||||
|
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||||
|
replaced with your own identifying information. (Don't include
|
||||||
|
the brackets!) The text should be enclosed in the appropriate
|
||||||
|
comment syntax for the file format. We also recommend that a
|
||||||
|
file or class name and description of purpose be included on the
|
||||||
|
same "printed page" as the copyright notice for easier
|
||||||
|
identification within third-party archives.
|
||||||
|
|
||||||
|
Copyright [yyyy] [name of copyright owner]
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
```
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
# nanomsg-next-generation Lightweight Brokerless Messaging Library
|
||||||
|
|
||||||
|
```
|
||||||
|
The MIT License
|
||||||
|
|
||||||
|
Copyright 2021 Staysail Systems, Inc. <info@staysail.tech>
|
||||||
|
Copyright 2018 Capitar IT Group BV <info@capitar.com>
|
||||||
|
|
||||||
|
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 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
|
IN THE SOFTWARE.
|
||||||
|
```
|
||||||
@@ -7,28 +7,29 @@ Some dependencies, like `r-efi`, are dual-licensed and allow permissive use. The
|
|||||||
Below is a comprehensive list of all third-party crates and their corresponding licenses used in SGBLE and SGBLExx:
|
Below is a comprehensive list of all third-party crates and their corresponding licenses used in SGBLE and SGBLExx:
|
||||||
|
|
||||||
```
|
```
|
||||||
(MIT OR Apache-2.0) AND OFL-1.1 AND Ubuntu-font-1.0 (1): epaint_default_fonts
|
(Apache-2.0 OR MIT) AND OFL-1.1 AND Ubuntu-font-1.0 (1): epaint_default_fonts
|
||||||
(MIT OR Apache-2.0) AND Unicode-3.0 (1): unicode-ident
|
(Apache-2.0 OR MIT) AND Unicode-3.0 (1): unicode-ident
|
||||||
0BSD OR Apache-2.0 OR MIT (1): adler2
|
0BSD OR Apache-2.0 OR MIT (1): adler2
|
||||||
Apache-2.0 (15): ab_glyph, ab_glyph_rasterizer, accesskit_winit, codespan-reporting, dpi, gethostname, gl_generator, glutin, glutin_egl_sys, glutin_glx_sys, glutin_wgl_sys, khronos_api, owned_ttf_parser, spirv, winit
|
Apache-2.0 (14): ab_glyph, ab_glyph_rasterizer, accesskit_winit, codespan-reporting, gethostname, gl_generator, glutin, glutin_egl_sys, glutin_glx_sys, glutin_wgl_sys, khronos_api, owned_ttf_parser, spirv, winit
|
||||||
Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT (7): linux-raw-sys, linux-raw-sys, rustix, rustix, wasi, wasi, wit-bindgen-rt
|
Apache-2.0 AND MIT (1): dpi
|
||||||
Apache-2.0 OR BSD-2-Clause OR MIT (4): zerocopy, zerocopy, zerocopy-derive, zerocopy-derive
|
Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT (17): linux-raw-sys, linux-raw-sys, rustix, rustix, wasi, wasip2, wasip3, wasm-encoder, wasm-metadata, wasmparser, wit-bindgen, wit-bindgen, wit-bindgen-core, wit-bindgen-rust, wit-bindgen-rust-macro, wit-component, wit-parser
|
||||||
|
Apache-2.0 OR BSD-2-Clause OR MIT (2): zerocopy, zerocopy-derive
|
||||||
|
Apache-2.0 OR BSD-3-Clause (2): moxcms, pxfm
|
||||||
Apache-2.0 OR BSD-3-Clause OR MIT (3): btleplug, num_enum, num_enum_derive
|
Apache-2.0 OR BSD-3-Clause OR MIT (3): btleplug, num_enum, num_enum_derive
|
||||||
Apache-2.0 OR BSL-1.0 (1): ryu
|
Apache-2.0 OR GPL-2.0 (1): self_cell
|
||||||
Apache-2.0 OR LGPL-2.1-or-later OR MIT (1): r-efi
|
Apache-2.0 OR LGPL-2.1-or-later OR MIT (2): r-efi, r-efi
|
||||||
Apache-2.0 OR MIT (286): accesskit, accesskit_atspi_common, accesskit_consumer, accesskit_macos, accesskit_unix, accesskit_windows, addr2line, ahash, android-activity, android_log-sys, android_logger, android_system_properties, anstream, anstyle, anstyle-parse, anstyle-query, anstyle-wincon, arboard, arrayvec, as-raw-xcb-connection, ash, async-broadcast, async-channel, async-executor, async-fs, async-io, async-lock, async-process, async-recursion, async-signal, async-task, async-trait, atomic-waker, atspi, atspi-common, atspi-connection, atspi-proxies, autocfg, backtrace, bit-set, bit-vec, bitflags, bitflags, block-buffer, blocking, bluez-async, bluez-generated, bumpalo, cc, cesu8, cfg-if, cgl, clap, clap_builder, clap_lex, colorchoice, concurrent-queue, core-foundation, core-foundation, core-foundation-sys, core-graphics, core-graphics-types, cpufeatures, crc32fast, crossbeam-utils, crypto-common, ctor, ctor-proc-macro, dbus, dbus-tokio, digest, displaydoc, document-features, downcast-rs, dtor, dtor-proc-macro, ecolor, eframe, egui, egui-wgpu, egui-winit, egui_glow, either, emath, enumflags2, enumflags2_derive, env_filter, env_logger, epaint, equivalent, errno, event-listener, event-listener-strategy, fastrand, fdeflate, flate2, foreign-types, foreign-types-macros, foreign-types-shared, form_urlencoded, futures, futures-channel, futures-core, futures-executor, futures-io, futures-lite, futures-macro, futures-sink, futures-task, futures-util, getrandom, getrandom, gimli, gpu-alloc, gpu-alloc-types, gpu-descriptor, gpu-descriptor-types, hashbrown, heck, heck, hermit-abi, hermit-abi, hex, home, humantime, idna, idna_adapter, image, immutable-chunkmap, indexmap, is_terminal_polyfill, itertools, itoa, jni, jni, jni-sys, jobserver, jpeg-decoder, js-sys, khronos-egl, lazy_static, libc, libdbus-sys, litrs, lock_api, log, memmap2, metal, naga, ndk, ndk-context, ndk-sys, ndk-sys, nohash-hasher, num-traits, object, once_cell, ordered-stream, parking, parking_lot, parking_lot_core, paste, percent-encoding, pin-project, pin-project-internal, pin-project-lite, pin-utils, piper, pkg-config, png, polling, ppv-lite86, pretty_env_logger, proc-macro-crate, proc-macro2, profiling, quote, rand, rand, rand_chacha, rand_chacha, rand_core, rand_core, regex, regex-automata, regex-syntax, renderdoc-sys, rustc-demangle, rustc-hash, rustversion, scoped-tls, scopeguard, serde, serde_derive, serde_json, serde_repr, serde_spanned, sha1, shlex, signal-hook-registry, smallvec, smol_str, socket2, stable_deref_trait, static_assertions, syn, tempfile, thiserror, thiserror, thiserror-impl, thiserror-impl, thread_local, toml, toml_datetime, toml_edit, ttf-parser, type-map, typenum, unicode-segmentation, unicode-width, unicode-xid, url, utf16_iter, utf8_iter, utf8parse, uuid, version_check, wasm-bindgen, wasm-bindgen-backend, wasm-bindgen-futures, wasm-bindgen-macro, wasm-bindgen-macro-support, wasm-bindgen-shared, web-sys, web-time, webbrowser, weezl, wgpu, wgpu-core, wgpu-hal, wgpu-types, winapi, winapi-i686-pc-windows-gnu, winapi-x86_64-pc-windows-gnu, windows, windows, windows-core, windows-core, windows-implement, windows-implement, windows-interface, windows-interface, windows-result, windows-result, windows-strings, windows-sys, windows-sys, windows-sys, windows-targets, windows-targets, windows-targets, windows_aarch64_gnullvm, windows_aarch64_gnullvm, windows_aarch64_gnullvm, windows_aarch64_msvc, windows_aarch64_msvc, windows_aarch64_msvc, windows_i686_gnu, windows_i686_gnu, windows_i686_gnu, windows_i686_gnullvm, windows_i686_msvc, windows_i686_msvc, windows_i686_msvc, windows_x86_64_gnu, windows_x86_64_gnu, windows_x86_64_gnu, windows_x86_64_gnullvm, windows_x86_64_gnullvm, windows_x86_64_gnullvm, windows_x86_64_msvc, windows_x86_64_msvc, windows_x86_64_msvc, write16, x11rb, x11rb-protocol
|
Apache-2.0 OR MIT (290): accesskit, accesskit_atspi_common, accesskit_consumer, accesskit_consumer, accesskit_macos, accesskit_unix, accesskit_windows, ahash, allocator-api2, android-activity, android_system_properties, anstream, anstyle, anstyle-parse, anstyle-query, anstyle-wincon, anyhow, arboard, arrayvec, as-raw-xcb-connection, ash, async-broadcast, async-channel, async-executor, async-io, async-lock, async-process, async-recursion, async-signal, async-task, async-trait, atomic-waker, atspi, atspi-common, atspi-proxies, autocfg, bit-set, bit-vec, bitflags, bitflags, blocking, bluez-async, bluez-generated, bumpalo, cc, cesu8, cfg-if, cgl, clap, clap_builder, clap_lex, color, colorchoice, concurrent-queue, core-foundation, core-foundation, core-foundation-sys, core-graphics, core-graphics-types, crc32fast, crossbeam-utils, ctor, ctor-proc-macro, dbus, dbus-tokio, displaydoc, document-features, downcast-rs, dtor, dtor-proc-macro, ecolor, eframe, egui, egui-wgpu, egui-winit, egui_glow, either, emath, enumflags2, enumflags2_derive, env_logger, epaint, equivalent, errno, euclid, event-listener, event-listener-strategy, fastrand, fdeflate, fearless_simd, find-msvc-tools, flate2, font-types, foreign-types, foreign-types-macros, foreign-types-shared, form_urlencoded, futures, futures-channel, futures-core, futures-executor, futures-io, futures-lite, futures-macro, futures-sink, futures-task, futures-util, getrandom, getrandom, gpu-allocator, gpu-descriptor, gpu-descriptor-types, half, hashbrown, hashbrown, hashbrown, hashbrown, heck, hermit-abi, hex, humantime, id-arena, idna, idna_adapter, image, indexmap, is_terminal_polyfill, itertools, itoa, jni, jni, jni-macros, jni-sys, jni-sys, jni-sys-macros, jobserver, js-sys, khronos-egl, kurbo, lazy_static, leb128fmt, libc, libdbus-sys, linebender_resource_handle, litrs, lock_api, log, memmap2, naga, ndk, ndk-context, ndk-sys, nohash-hasher, num-traits, once_cell, once_cell_polyfill, ordered-stream, parking, parking_lot, parking_lot_core, peniko, percent-encoding, pin-project, pin-project-internal, pin-project-lite, piper, pkg-config, plain, png, polling, pollster, polycool, portable-atomic, portable-atomic-util, presser, pretty_env_logger, prettyplease, proc-macro-crate, proc-macro2, profiling, quick-error, quote, range-alloc, raw-window-metal, read-fonts, regex, regex-automata, regex-syntax, renderdoc-sys, rustc-hash, rustc-hash, rustc_version, rustversion, scoped-tls, scopeguard, semver, serde, serde_core, serde_derive, serde_json, serde_repr, serde_spanned, shlex, signal-hook-registry, simd_cesu8, simdutf8, siphasher, skrifa, smallvec, smol_str, socket2, stable_deref_trait, static_assertions, syn, tempfile, thiserror, thiserror, thiserror-impl, thiserror-impl, toml, toml_datetime, toml_datetime, toml_edit, toml_parser, toml_writer, ttf-parser, type-map, unicode-segmentation, unicode-width, unicode-xid, url, utf8_iter, utf8parse, uuid, vello_common, vello_cpu, version_check, wasm-bindgen, wasm-bindgen-futures, wasm-bindgen-macro, wasm-bindgen-macro-support, wasm-bindgen-shared, web-sys, web-time, webbrowser, weezl, wgpu, wgpu-core, wgpu-core-deps-apple, wgpu-core-deps-emscripten, wgpu-core-deps-wasm, wgpu-core-deps-windows-linux-android, wgpu-hal, wgpu-naga-bridge, wgpu-types, windows, windows-collections, windows-core, windows-future, windows-implement, windows-interface, windows-link, windows-numerics, windows-result, windows-strings, windows-sys, windows-sys, windows-sys, windows-sys, windows-targets, windows-targets, windows-threading, windows_aarch64_gnullvm, windows_aarch64_gnullvm, windows_aarch64_msvc, windows_aarch64_msvc, windows_i686_gnu, windows_i686_gnu, windows_i686_gnullvm, windows_i686_gnullvm, windows_i686_msvc, windows_i686_msvc, windows_x86_64_gnu, windows_x86_64_gnu, windows_x86_64_gnullvm, windows_x86_64_gnullvm, windows_x86_64_msvc, windows_x86_64_msvc, x11rb, x11rb-protocol
|
||||||
Apache-2.0 OR MIT OR Zlib (12): bytemuck, bytemuck_derive, cursor-icon, glow, miniz_oxide, objc2-app-kit, objc2-core-bluetooth, objc2-core-foundation, objc2-core-graphics, objc2-io-surface, raw-window-handle, xkeysym
|
Apache-2.0 OR MIT OR Zlib (17): bytemuck, bytemuck_derive, cursor-icon, dispatch2, glow, miniz_oxide, objc2-app-kit, objc2-core-foundation, objc2-core-graphics, objc2-io-surface, objc2-metal, objc2-quartz-core, objc2-ui-kit, raw-window-handle, xkeysym, zune-core, zune-jpeg
|
||||||
BSD-2-Clause (1): arrayref
|
BSD-2-Clause (1): arrayref
|
||||||
BSD-3-Clause (3): jni-utils, tiny-skia, tiny-skia-path
|
BSD-3-Clause (2): tiny-skia, tiny-skia-path
|
||||||
BSL-1.0 (2): clipboard-win, error-code
|
BSL-1.0 (2): clipboard-win, error-code
|
||||||
CC0-1.0 (1): hexf-parse
|
CC0-1.0 (1): hexf-parse
|
||||||
ISC (1): libloading
|
ISC (1): libloading
|
||||||
MIT (91): android-properties, block, block2, block2, bytes, calloop, calloop-wayland-source, cfg_aliases, combine, dashmap, dispatch, dlib, endi, generic-array, glutin-winit, is-terminal, libredox, malloc_buf, memoffset, mio, nix, objc, objc-sys, objc2, objc2, objc2-app-kit, objc2-cloud-kit, objc2-contacts, objc2-core-data, objc2-core-image, objc2-core-location, objc2-encode, objc2-foundation, objc2-foundation, objc2-link-presentation, objc2-metal, objc2-quartz-core, objc2-symbols, objc2-ui-kit, objc2-uniform-type-identifiers, objc2-user-notifications, orbclient, ordered-float, quick-xml, quick-xml, redox_syscall, redox_syscall, sctk-adwaita, serde-xml-rs, simd-adler32, slab, smithay-client-toolkit, smithay-clipboard, strict-num, strsim, strum, strum_macros, synstructure, tiff, tokio, tokio-macros, tokio-stream, tokio-util, tracing, tracing-attributes, tracing-core, uds_windows, wayland-backend, wayland-client, wayland-csd-frame, wayland-cursor, wayland-protocols, wayland-protocols-plasma, wayland-protocols-wlr, wayland-scanner, wayland-sys, winnow, x11-dl, xcursor, xdg-home, xkbcommon-dl, xml-rs, zbus, zbus-lockstep, zbus-lockstep-macros, zbus_macros, zbus_names, zbus_xml, zvariant, zvariant_derive, zvariant_utils
|
MIT (99): android-properties, block2, block2, bytes, calloop, calloop, calloop-wayland-source, calloop-wayland-source, cfg_aliases, combine, crunchy, dashmap, dispatch, dlib, endi, fax, glutin-winit, is-terminal, libm, libredox, memoffset, mio, objc-sys, objc2, objc2, objc2-app-kit, objc2-cloud-kit, objc2-contacts, objc2-core-bluetooth, objc2-core-data, objc2-core-image, objc2-core-location, objc2-encode, objc2-foundation, objc2-foundation, objc2-link-presentation, objc2-metal, objc2-quartz-core, objc2-symbols, objc2-ui-kit, objc2-uniform-type-identifiers, objc2-user-notifications, orbclient, ordered-float, phf, phf_generator, phf_macros, phf_shared, quick-xml, redox_syscall, redox_syscall, redox_syscall, sctk-adwaita, serde-xml-rs, simd-adler32, slab, smithay-client-toolkit, smithay-client-toolkit, smithay-clipboard, strict-num, strsim, synstructure, tiff, tokio, tokio-macros, tokio-stream, tokio-util, tracing, tracing-attributes, tracing-core, uds_windows, wayland-backend, wayland-client, wayland-csd-frame, wayland-cursor, wayland-protocols, wayland-protocols-experimental, wayland-protocols-misc, wayland-protocols-plasma, wayland-protocols-wlr, wayland-scanner, wayland-sys, winnow, winnow, x11-dl, xcursor, xkbcommon-dl, xml, xml-rs, zbus, zbus-lockstep, zbus-lockstep-macros, zbus_macros, zbus_names, zbus_xml, zmij, zvariant, zvariant_derive, zvariant_utils
|
||||||
MIT OR Unlicense (7): aho-corasick, byteorder-lite, memchr, same-file, termcolor, walkdir, winapi-util
|
MIT OR Unlicense (7): aho-corasick, byteorder-lite, memchr, same-file, termcolor, walkdir, winapi-util
|
||||||
MPL-2.0 (1): cbindgen
|
MPL-2.0 (1): cbindgen
|
||||||
N/A (2): sgble, sgblueman
|
Unicode-3.0 (18): icu_collections, icu_locale_core, icu_normalizer, icu_normalizer_data, icu_properties, icu_properties_data, icu_provider, litemap, potential_utf, tinystr, writeable, yoke, yoke-derive, zerofrom, zerofrom-derive, zerotrie, zerovec, zerovec-derive
|
||||||
Unicode-3.0 (19): icu_collections, icu_locid, icu_locid_transform, icu_locid_transform_data, icu_normalizer, icu_normalizer_data, icu_properties, icu_properties_data, icu_provider, icu_provider_macros, litemap, tinystr, writeable, yoke, yoke-derive, zerofrom, zerofrom-derive, zerovec, zerovec-derive
|
Zlib (3): foldhash, foldhash, slotmap
|
||||||
Zlib (2): foldhash, slotmap
|
|
||||||
```
|
```
|
||||||
|
|
||||||
For detailed terms of use, please refer to the license files in each project's upstream repository.
|
For detailed terms of use, please refer to the license files in each project's upstream repository.
|
||||||
@@ -7,8 +7,10 @@ The following third-party software are used and shipped with the SenseGlove Unre
|
|||||||
- [The SenseGlove SDK (a.k.a. SenseGlove Backend Libraries, or SenseGlove Core Libraries)](senseglove-sdk.md)
|
- [The SenseGlove SDK (a.k.a. SenseGlove Backend Libraries, or SenseGlove Core Libraries)](senseglove-sdk.md)
|
||||||
- [SGBLE and SGBLExx Rust Dependencies](sgble-sgblexx-rust-dependencies.md)
|
- [SGBLE and SGBLExx Rust Dependencies](sgble-sgblexx-rust-dependencies.md)
|
||||||
- [The Boost C++ Libraries](boost-cpp-libraries.md)
|
- [The Boost C++ Libraries](boost-cpp-libraries.md)
|
||||||
|
- [The FlatBuffers Memory Efficient Serialization Library](flatbuffers-serialization-library.md)
|
||||||
- [The {fmt} Formatting Library](fmt-formatting-library.md)
|
- [The {fmt} Formatting Library](fmt-formatting-library.md)
|
||||||
- [The Loguru Logging Library License](loguru-loggin-library.md)
|
- [The Loguru Logging Library](loguru-logging-library.md)
|
||||||
|
- [The nanomsg-next-generation Lightweight Brokerless Messaging Library](nng-messaging-library.md)
|
||||||
- [The Serial Communication Library](serial-communication-library.md)
|
- [The Serial Communication Library](serial-communication-library.md)
|
||||||
|
|
||||||
For more information consult their own respective open-source licenses, please.
|
For more information consult their own respective open-source licenses, please.
|
||||||
|
|||||||
@@ -111,6 +111,8 @@ The appendix contains various extra useful information:
|
|||||||
- [SenseGlove SDK License](../license/senseglove-sdk.md)
|
- [SenseGlove SDK License](../license/senseglove-sdk.md)
|
||||||
- [SGBLE and SGBLExx Rust Dependencies Licenses](../license/sgble-sgblexx-rust-dependencies.md)
|
- [SGBLE and SGBLExx Rust Dependencies Licenses](../license/sgble-sgblexx-rust-dependencies.md)
|
||||||
- [Boost C++ Libraries License](../license/boost-cpp-libraries.md)
|
- [Boost C++ Libraries License](../license/boost-cpp-libraries.md)
|
||||||
|
- [FlatBuffers Memory Efficient Serialization Library Licence](../license/flatbuffers-serialization-library.md)
|
||||||
- [{fmt} Formatting Library License](../license/fmt-formatting-library.md)
|
- [{fmt} Formatting Library License](../license/fmt-formatting-library.md)
|
||||||
- [Loguru Logging Library License](../license/loguru-loggin-library.md)
|
- [Loguru Logging Library License](../license/loguru-logging-library.md)
|
||||||
|
- [nanomsg-next-generation Lightweight Brokerless Messaging Library License](../license/nng-messaging-library.md)
|
||||||
- [Serial Communication Library License](../license/serial-communication-library.md)
|
- [Serial Communication Library License](../license/serial-communication-library.md)
|
||||||
|
|||||||
@@ -36,6 +36,7 @@
|
|||||||
#include "SenseGlove/Engine/SGGameInstance.h"
|
#include "SenseGlove/Engine/SGGameInstance.h"
|
||||||
|
|
||||||
#include "Engine/Engine.h"
|
#include "Engine/Engine.h"
|
||||||
|
#include "UObject/Class.h"
|
||||||
|
|
||||||
#include "SenseGlove/GameFramework/SGGameUserSettings.h"
|
#include "SenseGlove/GameFramework/SGGameUserSettings.h"
|
||||||
#include "SGLog/SGLog.h"
|
#include "SGLog/SGLog.h"
|
||||||
@@ -45,13 +46,8 @@ void USGGameInstance::SG_GetEngineScalabilitySettings()
|
|||||||
const USGGameUserSettings* GameUserSettings{USGGameUserSettings::GetInstance()};
|
const USGGameUserSettings* GameUserSettings{USGGameUserSettings::GetInstance()};
|
||||||
ensureAlwaysMsgf(GameUserSettings, TEXT("Invalid GameUserSettings!"));
|
ensureAlwaysMsgf(GameUserSettings, TEXT("Invalid GameUserSettings!"));
|
||||||
|
|
||||||
static UEnum* EnumPtr{StaticEnum<ESGEngineScalabilitySettings>()};
|
|
||||||
ensureAlwaysMsgf(EnumPtr, TEXT("Failed to find the ESGEngineScalabilitySettings enum!"));
|
|
||||||
|
|
||||||
const ESGEngineScalabilitySettings Scalability = GameUserSettings->GetEngineScalabilitySettings();
|
const ESGEngineScalabilitySettings Scalability = GameUserSettings->GetEngineScalabilitySettings();
|
||||||
const FName ScalabilityName{
|
const FName ScalabilityName{UEnum::GetValueAsName(Scalability)};
|
||||||
EnumPtr->GetNameByValue(static_cast<int64>(Scalability))
|
|
||||||
};
|
|
||||||
|
|
||||||
SGLOG("Get Engine Scalability Settings", ScalabilityName);
|
SGLOG("Get Engine Scalability Settings", ScalabilityName);
|
||||||
}
|
}
|
||||||
@@ -61,14 +57,9 @@ void USGGameInstance::SG_SetEngineScalabilitySettings(const ESGEngineScalability
|
|||||||
USGGameUserSettings* GameUserSettings{USGGameUserSettings::GetInstance()};
|
USGGameUserSettings* GameUserSettings{USGGameUserSettings::GetInstance()};
|
||||||
ensureAlwaysMsgf(GameUserSettings, TEXT("Invalid GameUserSettings!"));
|
ensureAlwaysMsgf(GameUserSettings, TEXT("Invalid GameUserSettings!"));
|
||||||
|
|
||||||
static UEnum* EnumPtr{StaticEnum<ESGEngineScalabilitySettings>()};
|
|
||||||
ensureAlwaysMsgf(EnumPtr, TEXT("Failed to find the ESGEngineScalabilitySettings enum!"));
|
|
||||||
|
|
||||||
GameUserSettings->SetEngineScalabilitySettings(Scalability);
|
GameUserSettings->SetEngineScalabilitySettings(Scalability);
|
||||||
|
|
||||||
const FName ScalabilityName{
|
const FName ScalabilityName{UEnum::GetValueAsName(Scalability)};
|
||||||
EnumPtr->GetNameByValue(static_cast<int64>(Scalability))
|
|
||||||
};
|
|
||||||
|
|
||||||
SGLOG("Set Engine Scalability Settings", ScalabilityName);
|
SGLOG("Set Engine Scalability Settings", ScalabilityName);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -38,6 +38,7 @@
|
|||||||
#include "Engine/Engine.h"
|
#include "Engine/Engine.h"
|
||||||
#include "GameMapsSettings.h"
|
#include "GameMapsSettings.h"
|
||||||
#include "Misc/CoreDelegates.h"
|
#include "Misc/CoreDelegates.h"
|
||||||
|
#include "Runtime/Launch/Resources/Version.h"
|
||||||
|
|
||||||
#include "SGLog/SGLog.h"
|
#include "SGLog/SGLog.h"
|
||||||
#include "SenseGlove/Engine/SGGameInstance.h"
|
#include "SenseGlove/Engine/SGGameInstance.h"
|
||||||
@@ -51,8 +52,13 @@ void FSenseGloveModule::StartupModule()
|
|||||||
{
|
{
|
||||||
SGLOG("Starting up the SenseGlove module...");
|
SGLOG("Starting up the SenseGlove module...");
|
||||||
|
|
||||||
|
#if ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION >= 8
|
||||||
|
OnPostEngineInitHandle = FCoreDelegates::GetOnPostEngineInit().AddRaw(
|
||||||
|
this, &FSenseGloveModule::OnPostEngineInit);
|
||||||
|
#else /* ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION >= 8 */
|
||||||
OnPostEngineInitHandle = FCoreDelegates::OnPostEngineInit.AddRaw(
|
OnPostEngineInitHandle = FCoreDelegates::OnPostEngineInit.AddRaw(
|
||||||
this, &FSenseGloveModule::OnPostEngineInit);
|
this, &FSenseGloveModule::OnPostEngineInit);
|
||||||
|
#endif /* ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION >= 8 */
|
||||||
}
|
}
|
||||||
|
|
||||||
void FSenseGloveModule::PreUnloadCallback()
|
void FSenseGloveModule::PreUnloadCallback()
|
||||||
@@ -69,7 +75,11 @@ void FSenseGloveModule::ShutdownModule()
|
|||||||
{
|
{
|
||||||
SGLOG("Shutting down the SenseGlove module...");
|
SGLOG("Shutting down the SenseGlove module...");
|
||||||
|
|
||||||
|
#if ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION >= 8
|
||||||
|
FCoreDelegates::GetOnPostEngineInit().Remove(OnPostEngineInitHandle);
|
||||||
|
#else /* ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION >= 8 */
|
||||||
FCoreDelegates::OnPostEngineInit.Remove(OnPostEngineInitHandle);
|
FCoreDelegates::OnPostEngineInit.Remove(OnPostEngineInitHandle);
|
||||||
|
#endif /* ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION >= 8 */
|
||||||
}
|
}
|
||||||
|
|
||||||
void FSenseGloveModule::OnPostEngineInit() const
|
void FSenseGloveModule::OnPostEngineInit() const
|
||||||
|
|||||||
@@ -0,0 +1,36 @@
|
|||||||
|
/**
|
||||||
|
* @file
|
||||||
|
*
|
||||||
|
* @author Mamadou Babaei <mamadou@senseglove.com>
|
||||||
|
*
|
||||||
|
* @section LICENSE
|
||||||
|
*
|
||||||
|
* (The MIT License)
|
||||||
|
*
|
||||||
|
* Copyright (c) 2020 - 2026 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 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*
|
||||||
|
* @section DESCRIPTION
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#include "SGBuildHacks/SGInclude_Core_DeviceTypes.h"
|
||||||
@@ -0,0 +1,44 @@
|
|||||||
|
/**
|
||||||
|
* @file
|
||||||
|
*
|
||||||
|
* @author Mamadou Babaei <mamadou@senseglove.com>
|
||||||
|
*
|
||||||
|
* @section LICENSE
|
||||||
|
*
|
||||||
|
* (The MIT License)
|
||||||
|
*
|
||||||
|
* Copyright (c) 2020 - 2026 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 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*
|
||||||
|
* @section DESCRIPTION
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#include "HAL/Platform.h"
|
||||||
|
|
||||||
|
#include "SGBuildHacks/SGUndef_TEXT.h"
|
||||||
|
|
||||||
|
THIRD_PARTY_INCLUDES_START
|
||||||
|
#include "SenseGlove/Core/DeviceTypes.hpp"
|
||||||
|
THIRD_PARTY_INCLUDES_END
|
||||||
|
|
||||||
|
#include "SGBuildHacks/SGRestore_TEXT.h"
|
||||||
@@ -40,17 +40,17 @@
|
|||||||
|
|
||||||
int32 FSGConnect::Init()
|
int32 FSGConnect::Init()
|
||||||
{
|
{
|
||||||
return SGConnect_Init();
|
return SGConnectImpl_Init();
|
||||||
}
|
}
|
||||||
|
|
||||||
int32 FSGConnect::Dispose()
|
int32 FSGConnect::Dispose()
|
||||||
{
|
{
|
||||||
return SGConnect_Dispose();
|
return SGConnectImpl_Dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
FString FSGConnect::GetLibraryVersion()
|
FString FSGConnect::GetLibraryVersion()
|
||||||
{
|
{
|
||||||
FSGIC_FString Container;
|
FSGIC_FString Container;
|
||||||
SGConnect_GetLibraryVersion(&Container);
|
SGConnectImpl_GetLibraryVersion(&Container);
|
||||||
return Container.String;
|
return Container.String;
|
||||||
}
|
}
|
||||||
@@ -78,17 +78,17 @@ int32 SGConnectImpl_Android_Initialize(
|
|||||||
* SGConnectImpl.h
|
* SGConnectImpl.h
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
int32 SGConnect_Init()
|
int32 SGConnectImpl_Init()
|
||||||
{
|
{
|
||||||
return FSGConnectImpl::Init();
|
return FSGConnectImpl::Init();
|
||||||
}
|
}
|
||||||
|
|
||||||
int32 SGConnect_Dispose()
|
int32 SGConnectImpl_Dispose()
|
||||||
{
|
{
|
||||||
return FSGConnectImpl::Dispose();
|
return FSGConnectImpl::Dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
void SGConnect_GetLibraryVersion(void* OutVersion)
|
void SGConnectImpl_GetLibraryVersion(void* OutVersion)
|
||||||
{
|
{
|
||||||
StaticCast<FSGIC_FString*>(OutVersion)->String = FSGConnectImpl::GetLibraryVersion();
|
StaticCast<FSGIC_FString*>(OutVersion)->String = FSGConnectImpl::GetLibraryVersion();
|
||||||
}
|
}
|
||||||
@@ -80,9 +80,9 @@ SENSEGLOVECONNECTIMPL_PUBLIC_API int32 SGConnectImpl_Android_Initialize(
|
|||||||
* SGConnectImpl.h
|
* SGConnectImpl.h
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
SENSEGLOVECONNECTIMPL_PUBLIC_API int32 SGConnect_Init();
|
SENSEGLOVECONNECTIMPL_PUBLIC_API int32 SGConnectImpl_Init();
|
||||||
SENSEGLOVECONNECTIMPL_PUBLIC_API int32 SGConnect_Dispose();
|
SENSEGLOVECONNECTIMPL_PUBLIC_API int32 SGConnectImpl_Dispose();
|
||||||
SENSEGLOVECONNECTIMPL_PUBLIC_API void SGConnect_GetLibraryVersion(void* OutVersion);
|
SENSEGLOVECONNECTIMPL_PUBLIC_API void SGConnectImpl_GetLibraryVersion(void* OutVersion);
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|||||||
@@ -40,6 +40,11 @@ public class SenseGloveConnectImpl : ModuleRules
|
|||||||
{
|
{
|
||||||
public SenseGloveConnectImpl(ReadOnlyTargetRules Target) : base(Target)
|
public SenseGloveConnectImpl(ReadOnlyTargetRules Target) : base(Target)
|
||||||
{
|
{
|
||||||
|
bool bIsLinux = Target.Platform == UnrealTargetPlatform.Linux;
|
||||||
|
bool bIsLinuxArm64 = Target.Platform == UnrealTargetPlatform.LinuxArm64;
|
||||||
|
bool bIsWin64 = Target.IsInPlatformGroup(UnrealPlatformGroup.Windows) &&
|
||||||
|
Target.WindowsPlatform.Architecture == UnrealArch.X64;
|
||||||
|
|
||||||
PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs;
|
PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs;
|
||||||
|
|
||||||
bEnableExceptions = false;
|
bEnableExceptions = false;
|
||||||
@@ -57,17 +62,31 @@ public class SenseGloveConnectImpl : ModuleRules
|
|||||||
PrivateDependencyModuleNames.AddRange(
|
PrivateDependencyModuleNames.AddRange(
|
||||||
new string[]
|
new string[]
|
||||||
{
|
{
|
||||||
"SGBleThirdPartyLibs",
|
|
||||||
"SGCommonThirdPartyLibs",
|
"SGCommonThirdPartyLibs",
|
||||||
"SGConnectShmThirdPartyLibs",
|
|
||||||
"SGConnectThirdPartyLibs",
|
"SGConnectThirdPartyLibs",
|
||||||
"SGSerialThirdPartyLibs",
|
|
||||||
"SGFmtThirdPartyLibs",
|
"SGFmtThirdPartyLibs",
|
||||||
|
"SGLogThirdPartyLibs",
|
||||||
"SGLoguruThirdPartyLibs",
|
"SGLoguruThirdPartyLibs",
|
||||||
"SGWjwwoodSerialThirdPartyLibs",
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if (bIsLinux || bIsLinuxArm64 || bIsWin64)
|
||||||
|
{
|
||||||
|
PrivateDependencyModuleNames.AddRange(
|
||||||
|
new string[]
|
||||||
|
{
|
||||||
|
"SGBleThirdPartyLibs",
|
||||||
|
"SGConnectShmThirdPartyLibs",
|
||||||
|
"SGCoreShmThirdPartyLibs",
|
||||||
|
"SGFakeShmThirdPartyLibs",
|
||||||
|
"SGFlatBuffersThirdPartyLibs",
|
||||||
|
"SGNngThirdPartyLibs",
|
||||||
|
"SGSerialThirdPartyLibs",
|
||||||
|
"SGWjwwoodSerialThirdPartyLibs",
|
||||||
|
}
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
PrivateDependencyModuleNames.AddRange(
|
PrivateDependencyModuleNames.AddRange(
|
||||||
new string[]
|
new string[]
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -37,11 +37,10 @@
|
|||||||
|
|
||||||
|
|
||||||
#include "SGBuildHacks/SGInclude_Core_CustomWaveform.h"
|
#include "SGBuildHacks/SGInclude_Core_CustomWaveform.h"
|
||||||
|
#include "SGBuildHacks/SGInclude_Core_DeviceTypes.h"
|
||||||
#include "SGBuildHacks/SGInclude_Core_Fingers.h"
|
#include "SGBuildHacks/SGInclude_Core_Fingers.h"
|
||||||
#include "SGBuildHacks/SGInclude_Core_HapticChannelInfo.h"
|
#include "SGBuildHacks/SGInclude_Core_HapticChannelInfo.h"
|
||||||
#include "SGBuildHacks/SGInclude_Core_HapticGlove.h"
|
|
||||||
#include "SGBuildHacks/SGInclude_Core_Library.h"
|
#include "SGBuildHacks/SGInclude_Core_Library.h"
|
||||||
#include "SGBuildHacks/SGInclude_Core_NormalizationState.h"
|
|
||||||
#include "SGBuildHacks/SGInclude_Core_Nova2Glove.h"
|
#include "SGBuildHacks/SGInclude_Core_Nova2Glove.h"
|
||||||
#include "SGBuildHacks/SGInclude_Core_Nova2GloveSensorData.h"
|
#include "SGBuildHacks/SGInclude_Core_Nova2GloveSensorData.h"
|
||||||
#include "SGBuildHacks/SGInclude_Core_NovaGlove.h"
|
#include "SGBuildHacks/SGInclude_Core_NovaGlove.h"
|
||||||
|
|||||||
@@ -40,6 +40,11 @@ public class SenseGloveCoreImpl : ModuleRules
|
|||||||
{
|
{
|
||||||
public SenseGloveCoreImpl(ReadOnlyTargetRules Target) : base(Target)
|
public SenseGloveCoreImpl(ReadOnlyTargetRules Target) : base(Target)
|
||||||
{
|
{
|
||||||
|
bool bIsLinux = Target.Platform == UnrealTargetPlatform.Linux;
|
||||||
|
bool bIsLinuxArm64 = Target.Platform == UnrealTargetPlatform.LinuxArm64;
|
||||||
|
bool bIsWin64 = Target.IsInPlatformGroup(UnrealPlatformGroup.Windows) &&
|
||||||
|
Target.WindowsPlatform.Architecture == UnrealArch.X64;
|
||||||
|
|
||||||
PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs;
|
PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs;
|
||||||
|
|
||||||
bEnableExceptions = false;
|
bEnableExceptions = false;
|
||||||
@@ -58,7 +63,6 @@ public class SenseGloveCoreImpl : ModuleRules
|
|||||||
new string[]
|
new string[]
|
||||||
{
|
{
|
||||||
"SGCommonThirdPartyLibs",
|
"SGCommonThirdPartyLibs",
|
||||||
"SGCoreShmThirdPartyLibs",
|
|
||||||
"SGCoreThirdPartyLibs",
|
"SGCoreThirdPartyLibs",
|
||||||
"SGLogThirdPartyLibs",
|
"SGLogThirdPartyLibs",
|
||||||
"SGFmtThirdPartyLibs",
|
"SGFmtThirdPartyLibs",
|
||||||
@@ -66,6 +70,20 @@ public class SenseGloveCoreImpl : ModuleRules
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if (bIsLinux || bIsLinuxArm64 || bIsWin64)
|
||||||
|
{
|
||||||
|
PrivateDependencyModuleNames.AddRange(
|
||||||
|
new string[]
|
||||||
|
{
|
||||||
|
"SGConnectShmThirdPartyLibs",
|
||||||
|
"SGCoreShmThirdPartyLibs",
|
||||||
|
"SGFakeShmThirdPartyLibs",
|
||||||
|
"SGFlatBuffersThirdPartyLibs",
|
||||||
|
"SGNngThirdPartyLibs",
|
||||||
|
}
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
PrivateDependencyModuleNames.AddRange(
|
PrivateDependencyModuleNames.AddRange(
|
||||||
new string[]
|
new string[]
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -50,6 +50,7 @@
|
|||||||
#include "Misc/Optional.h"
|
#include "Misc/Optional.h"
|
||||||
#include "Misc/Timespan.h"
|
#include "Misc/Timespan.h"
|
||||||
#include "OpenXRCore.h"
|
#include "OpenXRCore.h"
|
||||||
|
#include "UObject/Class.h"
|
||||||
|
|
||||||
#include "SGCore/SGHapticGlove.h"
|
#include "SGCore/SGHapticGlove.h"
|
||||||
#include "SGLog/SGLog.h"
|
#include "SGLog/SGLog.h"
|
||||||
@@ -60,7 +61,6 @@
|
|||||||
#include "SGTypes/SGCoreTypes.h"
|
#include "SGTypes/SGCoreTypes.h"
|
||||||
#include "SGTypes/SGTrackingTypes.h"
|
#include "SGTypes/SGTrackingTypes.h"
|
||||||
#include "SGUtils/SGEngineUtils.h"
|
#include "SGUtils/SGEngineUtils.h"
|
||||||
#include "SGUtils/SGPluginUtils.h"
|
|
||||||
|
|
||||||
struct FSGXRTracker::FImpl
|
struct FSGXRTracker::FImpl
|
||||||
{
|
{
|
||||||
@@ -731,12 +731,10 @@ FName FSGXRTracker::FImpl::GetControllerHandEnumName(const EControllerHand Contr
|
|||||||
FName FSGXRTracker::FImpl::GetOpenXRPositionalTrackingProviderEnumName(
|
FName FSGXRTracker::FImpl::GetOpenXRPositionalTrackingProviderEnumName(
|
||||||
const ESGOpenXRPositionalTrackingProvider OpenXRPositionalTrackingProvider)
|
const ESGOpenXRPositionalTrackingProvider OpenXRPositionalTrackingProvider)
|
||||||
{
|
{
|
||||||
static UEnum* EnumPtr{StaticEnum<ESGOpenXRPositionalTrackingProvider>()};
|
|
||||||
ensureAlwaysMsgf(EnumPtr, TEXT("Failed to find the ESGOpenXRPositionalTrackingProvider enum!"));
|
|
||||||
static const int32 EnumNameLength = FString{TEXT("ESGOpenXRPositionalTrackingProvider::")}.Len();
|
static const int32 EnumNameLength = FString{TEXT("ESGOpenXRPositionalTrackingProvider::")}.Len();
|
||||||
|
|
||||||
const FName EnumItemName{
|
const FName EnumItemName{
|
||||||
EnumPtr->GetNameByValue(static_cast<int64>(OpenXRPositionalTrackingProvider))
|
UEnum::GetValueAsName(OpenXRPositionalTrackingProvider)
|
||||||
};
|
};
|
||||||
const FString EnumItemString{EnumItemName.ToString()};
|
const FString EnumItemString{EnumItemName.ToString()};
|
||||||
const int32 EnumItemStringLength = EnumItemString.Len();
|
const int32 EnumItemStringLength = EnumItemString.Len();
|
||||||
|
|||||||
@@ -40,7 +40,6 @@
|
|||||||
#include "IInputDevice.h"
|
#include "IInputDevice.h"
|
||||||
#include "IOpenXRExtensionPlugin.h"
|
#include "IOpenXRExtensionPlugin.h"
|
||||||
#include "Math/MathFwd.h"
|
#include "Math/MathFwd.h"
|
||||||
#include "Runtime/Launch/Resources/Version.h"
|
|
||||||
#include "Templates/UniquePtr.h"
|
#include "Templates/UniquePtr.h"
|
||||||
#include "UObject/NameTypes.h"
|
#include "UObject/NameTypes.h"
|
||||||
#include "XRMotionControllerBase.h"
|
#include "XRMotionControllerBase.h"
|
||||||
|
|||||||
@@ -38,6 +38,8 @@
|
|||||||
#include "HAL/Platform.h"
|
#include "HAL/Platform.h"
|
||||||
#include "UObject/ObjectMacros.h"
|
#include "UObject/ObjectMacros.h"
|
||||||
|
|
||||||
|
#include "SGCoreTypes.generated.h"
|
||||||
|
|
||||||
UENUM(BlueprintType)
|
UENUM(BlueprintType)
|
||||||
enum class ESGBackendType : uint8
|
enum class ESGBackendType : uint8
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -39,6 +39,8 @@
|
|||||||
#include "HAL/Platform.h"
|
#include "HAL/Platform.h"
|
||||||
#include "UObject/ObjectMacros.h"
|
#include "UObject/ObjectMacros.h"
|
||||||
|
|
||||||
|
#include "SGDebugTypes.generated.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determines the debug virtual hand drawing mode.
|
* Determines the debug virtual hand drawing mode.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -38,6 +38,8 @@
|
|||||||
#include "HAL/Platform.h"
|
#include "HAL/Platform.h"
|
||||||
#include "UObject/ObjectMacros.h"
|
#include "UObject/ObjectMacros.h"
|
||||||
|
|
||||||
|
#include "SGTrackingTypes.generated.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The Head-mounted Display device enum to determine the HMD device type.
|
* The Head-mounted Display device enum to determine the HMD device type.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -38,6 +38,8 @@
|
|||||||
#include "HAL/Platform.h"
|
#include "HAL/Platform.h"
|
||||||
#include "UObject/ObjectMacros.h"
|
#include "UObject/ObjectMacros.h"
|
||||||
|
|
||||||
|
#include "SGTypes.generated.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The engine scalability settings.
|
* The engine scalability settings.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -51,31 +51,13 @@ public class SGBleThirdPartyLibs : ModuleRules
|
|||||||
string LibraryPathAnroidX64 = "";
|
string LibraryPathAnroidX64 = "";
|
||||||
string LibraryName = "sgble";
|
string LibraryName = "sgble";
|
||||||
|
|
||||||
bool bIsAndroid = Target.IsInPlatformGroup(UnrealPlatformGroup.Android);
|
|
||||||
bool bIsLinux = Target.Platform == UnrealTargetPlatform.Linux;
|
bool bIsLinux = Target.Platform == UnrealTargetPlatform.Linux;
|
||||||
bool bIsLinuxArm64 = Target.Platform == UnrealTargetPlatform.LinuxArm64;
|
bool bIsLinuxArm64 = Target.Platform == UnrealTargetPlatform.LinuxArm64;
|
||||||
bool bIsWin64 = Target.IsInPlatformGroup(UnrealPlatformGroup.Windows) &&
|
bool bIsWin64 = Target.IsInPlatformGroup(UnrealPlatformGroup.Windows) &&
|
||||||
Target.WindowsPlatform.Architecture == UnrealArch.X64;
|
Target.WindowsPlatform.Architecture == UnrealArch.X64;
|
||||||
bool bIsDebugBuild = (Target.Configuration == UnrealTargetConfiguration.Debug);
|
bool bIsDebugBuild = (Target.Configuration == UnrealTargetConfiguration.Debug);
|
||||||
|
|
||||||
if (bIsAndroid)
|
if (bIsLinux)
|
||||||
{
|
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "android"));
|
|
||||||
|
|
||||||
#if UE_5_6_OR_LATER
|
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r27c"));
|
|
||||||
#elif UE_5_5_OR_LATER
|
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r25b"));
|
|
||||||
#else
|
|
||||||
Debug.Assert(false, "Unsupported engine version or compiler!");
|
|
||||||
#endif
|
|
||||||
|
|
||||||
LibraryPathAnroidAArch64 = Path.GetFullPath(Path.Combine(LibraryPath, "aarch64"));
|
|
||||||
LibraryPathAnroidX64 = Path.GetFullPath(Path.Combine(LibraryPath, "x86-64"));
|
|
||||||
|
|
||||||
LibraryName = string.Format("lib{0}.a", LibraryName);
|
|
||||||
}
|
|
||||||
else if (bIsLinux)
|
|
||||||
{
|
{
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "linux"));
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "linux"));
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "rustc"));
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "rustc"));
|
||||||
@@ -107,40 +89,18 @@ public class SGBleThirdPartyLibs : ModuleRules
|
|||||||
string IncludePath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "include"));
|
string IncludePath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "include"));
|
||||||
PrivateIncludePaths.Add(IncludePath);
|
PrivateIncludePaths.Add(IncludePath);
|
||||||
|
|
||||||
if (bIsAndroid)
|
if (bIsDebugBuild)
|
||||||
{
|
{
|
||||||
if (bIsDebugBuild)
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "debug"));
|
||||||
{
|
|
||||||
LibraryPathAnroidAArch64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidAArch64, "debug"));
|
|
||||||
LibraryPathAnroidX64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidX64, "debug"));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
LibraryPathAnroidAArch64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidAArch64, "release"));
|
|
||||||
LibraryPathAnroidX64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidX64, "release"));
|
|
||||||
}
|
|
||||||
|
|
||||||
LibraryPathAnroidAArch64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidAArch64, LibraryName));
|
|
||||||
LibraryPathAnroidX64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidX64, LibraryName));
|
|
||||||
|
|
||||||
PublicAdditionalLibraries.Add(LibraryPathAnroidAArch64);
|
|
||||||
PublicAdditionalLibraries.Add(LibraryPathAnroidX64);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (bIsDebugBuild)
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "release"));
|
||||||
{
|
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "debug"));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "release"));
|
|
||||||
}
|
|
||||||
|
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, LibraryName));
|
|
||||||
PublicAdditionalLibraries.Add(LibraryPath);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, LibraryName));
|
||||||
|
PublicAdditionalLibraries.Add(LibraryPath);
|
||||||
|
|
||||||
if (bIsWin64)
|
if (bIsWin64)
|
||||||
{
|
{
|
||||||
PublicAdditionalLibraries.AddRange(new string[]
|
PublicAdditionalLibraries.AddRange(new string[]
|
||||||
|
|||||||
@@ -116,8 +116,25 @@ public class SGCommonThirdPartyLibs : ModuleRules
|
|||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "windows"));
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "windows"));
|
||||||
switch (Target.WindowsPlatform.Compiler)
|
switch (Target.WindowsPlatform.Compiler)
|
||||||
{
|
{
|
||||||
|
#if UE_5_7_OR_LATER
|
||||||
|
case WindowsCompiler.VisualStudio2026:
|
||||||
|
#if UE_5_8_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v145-1450"));
|
||||||
|
#elif UE_5_7_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1444"));
|
||||||
|
#else
|
||||||
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
|
#endif
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
case WindowsCompiler.VisualStudio2022:
|
case WindowsCompiler.VisualStudio2022:
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143"));
|
#if UE_5_7_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1444"));
|
||||||
|
#elif UE_5_5_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1438"));
|
||||||
|
#else
|
||||||
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
Debug.Assert(false, "Unsupported engine version or compiler!");
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
|
|||||||
+25
-50
@@ -47,35 +47,15 @@ public class SGConnectShmThirdPartyLibs : ModuleRules
|
|||||||
|
|
||||||
string ThirdPartyDirectory = Path.GetFullPath(Path.Combine(ModuleDirectory, ".."));
|
string ThirdPartyDirectory = Path.GetFullPath(Path.Combine(ModuleDirectory, ".."));
|
||||||
string LibraryPath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "lib"));
|
string LibraryPath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "lib"));
|
||||||
string LibraryPathAnroidAArch64 = "";
|
|
||||||
string LibraryPathAnroidX64 = "";
|
|
||||||
string LibraryName = "sgconnectshm";
|
string LibraryName = "sgconnectshm";
|
||||||
|
|
||||||
bool bIsAndroid = Target.IsInPlatformGroup(UnrealPlatformGroup.Android);
|
|
||||||
bool bIsLinux = Target.Platform == UnrealTargetPlatform.Linux;
|
bool bIsLinux = Target.Platform == UnrealTargetPlatform.Linux;
|
||||||
bool bIsLinuxArm64 = Target.Platform == UnrealTargetPlatform.LinuxArm64;
|
bool bIsLinuxArm64 = Target.Platform == UnrealTargetPlatform.LinuxArm64;
|
||||||
bool bIsWin64 = Target.IsInPlatformGroup(UnrealPlatformGroup.Windows) &&
|
bool bIsWin64 = Target.IsInPlatformGroup(UnrealPlatformGroup.Windows) &&
|
||||||
Target.WindowsPlatform.Architecture == UnrealArch.X64;
|
Target.WindowsPlatform.Architecture == UnrealArch.X64;
|
||||||
bool bIsDebugBuild = (Target.Configuration == UnrealTargetConfiguration.Debug);
|
bool bIsDebugBuild = (Target.Configuration == UnrealTargetConfiguration.Debug);
|
||||||
|
|
||||||
if (bIsAndroid)
|
if (bIsLinux)
|
||||||
{
|
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "android"));
|
|
||||||
|
|
||||||
#if UE_5_6_OR_LATER
|
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r27c"));
|
|
||||||
#elif UE_5_5_OR_LATER
|
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r25b"));
|
|
||||||
#else
|
|
||||||
Debug.Assert(false, "Unsupported engine version or compiler!");
|
|
||||||
#endif
|
|
||||||
|
|
||||||
LibraryPathAnroidAArch64 = Path.GetFullPath(Path.Combine(LibraryPath, "aarch64"));
|
|
||||||
LibraryPathAnroidX64 = Path.GetFullPath(Path.Combine(LibraryPath, "x86-64"));
|
|
||||||
|
|
||||||
LibraryName = string.Format("lib{0}.a", LibraryName);
|
|
||||||
}
|
|
||||||
else if (bIsLinux)
|
|
||||||
{
|
{
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "linux"));
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "linux"));
|
||||||
|
|
||||||
@@ -116,8 +96,25 @@ public class SGConnectShmThirdPartyLibs : ModuleRules
|
|||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "windows"));
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "windows"));
|
||||||
switch (Target.WindowsPlatform.Compiler)
|
switch (Target.WindowsPlatform.Compiler)
|
||||||
{
|
{
|
||||||
|
#if UE_5_7_OR_LATER
|
||||||
|
case WindowsCompiler.VisualStudio2026:
|
||||||
|
#if UE_5_8_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v145-1450"));
|
||||||
|
#elif UE_5_7_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1444"));
|
||||||
|
#else
|
||||||
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
|
#endif
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
case WindowsCompiler.VisualStudio2022:
|
case WindowsCompiler.VisualStudio2022:
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143"));
|
#if UE_5_7_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1444"));
|
||||||
|
#elif UE_5_5_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1438"));
|
||||||
|
#else
|
||||||
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
Debug.Assert(false, "Unsupported engine version or compiler!");
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
@@ -136,38 +133,16 @@ public class SGConnectShmThirdPartyLibs : ModuleRules
|
|||||||
string IncludePath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "include"));
|
string IncludePath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "include"));
|
||||||
PrivateIncludePaths.Add(IncludePath);
|
PrivateIncludePaths.Add(IncludePath);
|
||||||
|
|
||||||
if (bIsAndroid)
|
if (bIsDebugBuild)
|
||||||
{
|
{
|
||||||
if (bIsDebugBuild)
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "debug"));
|
||||||
{
|
|
||||||
LibraryPathAnroidAArch64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidAArch64, "debug"));
|
|
||||||
LibraryPathAnroidX64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidX64, "debug"));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
LibraryPathAnroidAArch64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidAArch64, "release"));
|
|
||||||
LibraryPathAnroidX64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidX64, "release"));
|
|
||||||
}
|
|
||||||
|
|
||||||
LibraryPathAnroidAArch64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidAArch64, LibraryName));
|
|
||||||
LibraryPathAnroidX64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidX64, LibraryName));
|
|
||||||
|
|
||||||
PublicAdditionalLibraries.Add(LibraryPathAnroidAArch64);
|
|
||||||
PublicAdditionalLibraries.Add(LibraryPathAnroidX64);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (bIsDebugBuild)
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "release"));
|
||||||
{
|
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "debug"));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "release"));
|
|
||||||
}
|
|
||||||
|
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, LibraryName));
|
|
||||||
PublicAdditionalLibraries.Add(LibraryPath);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, LibraryName));
|
||||||
|
PublicAdditionalLibraries.Add(LibraryPath);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+18
-1
@@ -116,8 +116,25 @@ public class SGConnectThirdPartyLibs : ModuleRules
|
|||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "windows"));
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "windows"));
|
||||||
switch (Target.WindowsPlatform.Compiler)
|
switch (Target.WindowsPlatform.Compiler)
|
||||||
{
|
{
|
||||||
|
#if UE_5_7_OR_LATER
|
||||||
|
case WindowsCompiler.VisualStudio2026:
|
||||||
|
#if UE_5_8_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v145-1450"));
|
||||||
|
#elif UE_5_7_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1444"));
|
||||||
|
#else
|
||||||
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
|
#endif
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
case WindowsCompiler.VisualStudio2022:
|
case WindowsCompiler.VisualStudio2022:
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143"));
|
#if UE_5_7_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1444"));
|
||||||
|
#elif UE_5_5_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1438"));
|
||||||
|
#else
|
||||||
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
Debug.Assert(false, "Unsupported engine version or compiler!");
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
|
|||||||
+25
-50
@@ -47,35 +47,15 @@ public class SGCoreShmThirdPartyLibs : ModuleRules
|
|||||||
|
|
||||||
string ThirdPartyDirectory = Path.GetFullPath(Path.Combine(ModuleDirectory, ".."));
|
string ThirdPartyDirectory = Path.GetFullPath(Path.Combine(ModuleDirectory, ".."));
|
||||||
string LibraryPath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "lib"));
|
string LibraryPath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "lib"));
|
||||||
string LibraryPathAnroidAArch64 = "";
|
|
||||||
string LibraryPathAnroidX64 = "";
|
|
||||||
string LibraryName = "sgcoreshm";
|
string LibraryName = "sgcoreshm";
|
||||||
|
|
||||||
bool bIsAndroid = Target.IsInPlatformGroup(UnrealPlatformGroup.Android);
|
|
||||||
bool bIsLinux = Target.Platform == UnrealTargetPlatform.Linux;
|
bool bIsLinux = Target.Platform == UnrealTargetPlatform.Linux;
|
||||||
bool bIsLinuxArm64 = Target.Platform == UnrealTargetPlatform.LinuxArm64;
|
bool bIsLinuxArm64 = Target.Platform == UnrealTargetPlatform.LinuxArm64;
|
||||||
bool bIsWin64 = Target.IsInPlatformGroup(UnrealPlatformGroup.Windows) &&
|
bool bIsWin64 = Target.IsInPlatformGroup(UnrealPlatformGroup.Windows) &&
|
||||||
Target.WindowsPlatform.Architecture == UnrealArch.X64;
|
Target.WindowsPlatform.Architecture == UnrealArch.X64;
|
||||||
bool bIsDebugBuild = (Target.Configuration == UnrealTargetConfiguration.Debug);
|
bool bIsDebugBuild = (Target.Configuration == UnrealTargetConfiguration.Debug);
|
||||||
|
|
||||||
if (bIsAndroid)
|
if (bIsLinux)
|
||||||
{
|
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "android"));
|
|
||||||
|
|
||||||
#if UE_5_6_OR_LATER
|
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r27c"));
|
|
||||||
#elif UE_5_5_OR_LATER
|
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r25b"));
|
|
||||||
#else
|
|
||||||
Debug.Assert(false, "Unsupported engine version or compiler!");
|
|
||||||
#endif
|
|
||||||
|
|
||||||
LibraryPathAnroidAArch64 = Path.GetFullPath(Path.Combine(LibraryPath, "aarch64"));
|
|
||||||
LibraryPathAnroidX64 = Path.GetFullPath(Path.Combine(LibraryPath, "x86-64"));
|
|
||||||
|
|
||||||
LibraryName = string.Format("lib{0}.a", LibraryName);
|
|
||||||
}
|
|
||||||
else if (bIsLinux)
|
|
||||||
{
|
{
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "linux"));
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "linux"));
|
||||||
|
|
||||||
@@ -116,8 +96,25 @@ public class SGCoreShmThirdPartyLibs : ModuleRules
|
|||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "windows"));
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "windows"));
|
||||||
switch (Target.WindowsPlatform.Compiler)
|
switch (Target.WindowsPlatform.Compiler)
|
||||||
{
|
{
|
||||||
|
#if UE_5_7_OR_LATER
|
||||||
|
case WindowsCompiler.VisualStudio2026:
|
||||||
|
#if UE_5_8_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v145-1450"));
|
||||||
|
#elif UE_5_7_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1444"));
|
||||||
|
#else
|
||||||
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
|
#endif
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
case WindowsCompiler.VisualStudio2022:
|
case WindowsCompiler.VisualStudio2022:
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143"));
|
#if UE_5_7_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1444"));
|
||||||
|
#elif UE_5_5_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1438"));
|
||||||
|
#else
|
||||||
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
Debug.Assert(false, "Unsupported engine version or compiler!");
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
@@ -136,38 +133,16 @@ public class SGCoreShmThirdPartyLibs : ModuleRules
|
|||||||
string IncludePath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "include"));
|
string IncludePath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "include"));
|
||||||
PrivateIncludePaths.Add(IncludePath);
|
PrivateIncludePaths.Add(IncludePath);
|
||||||
|
|
||||||
if (bIsAndroid)
|
if (bIsDebugBuild)
|
||||||
{
|
{
|
||||||
if (bIsDebugBuild)
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "debug"));
|
||||||
{
|
|
||||||
LibraryPathAnroidAArch64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidAArch64, "debug"));
|
|
||||||
LibraryPathAnroidX64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidX64, "debug"));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
LibraryPathAnroidAArch64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidAArch64, "release"));
|
|
||||||
LibraryPathAnroidX64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidX64, "release"));
|
|
||||||
}
|
|
||||||
|
|
||||||
LibraryPathAnroidAArch64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidAArch64, LibraryName));
|
|
||||||
LibraryPathAnroidX64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidX64, LibraryName));
|
|
||||||
|
|
||||||
PublicAdditionalLibraries.Add(LibraryPathAnroidAArch64);
|
|
||||||
PublicAdditionalLibraries.Add(LibraryPathAnroidX64);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (bIsDebugBuild)
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "release"));
|
||||||
{
|
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "debug"));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "release"));
|
|
||||||
}
|
|
||||||
|
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, LibraryName));
|
|
||||||
PublicAdditionalLibraries.Add(LibraryPath);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, LibraryName));
|
||||||
|
PublicAdditionalLibraries.Add(LibraryPath);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -116,8 +116,25 @@ public class SGCoreThirdPartyLibs : ModuleRules
|
|||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "windows"));
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "windows"));
|
||||||
switch (Target.WindowsPlatform.Compiler)
|
switch (Target.WindowsPlatform.Compiler)
|
||||||
{
|
{
|
||||||
|
#if UE_5_7_OR_LATER
|
||||||
|
case WindowsCompiler.VisualStudio2026:
|
||||||
|
#if UE_5_8_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v145-1450"));
|
||||||
|
#elif UE_5_7_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1444"));
|
||||||
|
#else
|
||||||
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
|
#endif
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
case WindowsCompiler.VisualStudio2022:
|
case WindowsCompiler.VisualStudio2022:
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143"));
|
#if UE_5_7_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1444"));
|
||||||
|
#elif UE_5_5_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1438"));
|
||||||
|
#else
|
||||||
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
Debug.Assert(false, "Unsupported engine version or compiler!");
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
|
|||||||
@@ -0,0 +1,148 @@
|
|||||||
|
/**
|
||||||
|
* @file
|
||||||
|
*
|
||||||
|
* @author Mamadou Babaei <mamadou@senseglove.com>
|
||||||
|
*
|
||||||
|
* @section LICENSE
|
||||||
|
*
|
||||||
|
* (The MIT License)
|
||||||
|
*
|
||||||
|
* Copyright (c) 2020 - 2026 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 CONNECTION 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 SGFakeShmThirdPartyLibs : ModuleRules
|
||||||
|
{
|
||||||
|
public SGFakeShmThirdPartyLibs(ReadOnlyTargetRules Target) : base(Target)
|
||||||
|
{
|
||||||
|
Type = ModuleType.External;
|
||||||
|
|
||||||
|
string ThirdPartyDirectory = Path.GetFullPath(Path.Combine(ModuleDirectory, ".."));
|
||||||
|
string LibraryPath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "lib"));
|
||||||
|
string LibraryName = "sgfakeshm";
|
||||||
|
|
||||||
|
bool bIsLinux = Target.Platform == UnrealTargetPlatform.Linux;
|
||||||
|
bool bIsLinuxArm64 = Target.Platform == UnrealTargetPlatform.LinuxArm64;
|
||||||
|
bool bIsWin64 = Target.IsInPlatformGroup(UnrealPlatformGroup.Windows) &&
|
||||||
|
Target.WindowsPlatform.Architecture == UnrealArch.X64;
|
||||||
|
bool bIsDebugBuild = (Target.Configuration == UnrealTargetConfiguration.Debug);
|
||||||
|
|
||||||
|
if (bIsLinux)
|
||||||
|
{
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "linux"));
|
||||||
|
|
||||||
|
#if UE_5_7_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v26"));
|
||||||
|
#elif UE_5_6_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v25"));
|
||||||
|
#elif UE_5_5_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v23"));
|
||||||
|
#else
|
||||||
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
|
#endif
|
||||||
|
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "x86-64"));
|
||||||
|
|
||||||
|
LibraryName = string.Format("lib{0}.a", LibraryName);
|
||||||
|
}
|
||||||
|
else if (bIsLinuxArm64)
|
||||||
|
{
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "linux"));
|
||||||
|
|
||||||
|
#if UE_5_7_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v26"));
|
||||||
|
#elif UE_5_6_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v25"));
|
||||||
|
#elif UE_5_5_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v23"));
|
||||||
|
#else
|
||||||
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
|
#endif
|
||||||
|
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "aarch64"));
|
||||||
|
|
||||||
|
LibraryName = string.Format("lib{0}.a", LibraryName);
|
||||||
|
}
|
||||||
|
else if (bIsWin64)
|
||||||
|
{
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "windows"));
|
||||||
|
switch (Target.WindowsPlatform.Compiler)
|
||||||
|
{
|
||||||
|
#if UE_5_7_OR_LATER
|
||||||
|
case WindowsCompiler.VisualStudio2026:
|
||||||
|
#if UE_5_8_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v145-1450"));
|
||||||
|
#elif UE_5_7_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1444"));
|
||||||
|
#else
|
||||||
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
|
#endif
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
|
case WindowsCompiler.VisualStudio2022:
|
||||||
|
#if UE_5_7_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1444"));
|
||||||
|
#elif UE_5_5_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1438"));
|
||||||
|
#else
|
||||||
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
|
#endif
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "x86-64"));
|
||||||
|
|
||||||
|
LibraryName = string.Format("{0}.lib", LibraryName);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Debug.Assert(false, "Unsupported platform!");
|
||||||
|
}
|
||||||
|
|
||||||
|
string IncludePath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "include"));
|
||||||
|
PrivateIncludePaths.Add(IncludePath);
|
||||||
|
|
||||||
|
if (bIsDebugBuild)
|
||||||
|
{
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "debug"));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "release"));
|
||||||
|
}
|
||||||
|
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, LibraryName));
|
||||||
|
PublicAdditionalLibraries.Add(LibraryPath);
|
||||||
|
}
|
||||||
|
}
|
||||||
+148
@@ -0,0 +1,148 @@
|
|||||||
|
/**
|
||||||
|
* @file
|
||||||
|
*
|
||||||
|
* @author Mamadou Babaei <mamadou@senseglove.com>
|
||||||
|
*
|
||||||
|
* @section LICENSE
|
||||||
|
*
|
||||||
|
* (The MIT License)
|
||||||
|
*
|
||||||
|
* Copyright (c) 2020 - 2026 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 CONNECTION 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 SGFlatBuffersThirdPartyLibs : ModuleRules
|
||||||
|
{
|
||||||
|
public SGFlatBuffersThirdPartyLibs(ReadOnlyTargetRules Target) : base(Target)
|
||||||
|
{
|
||||||
|
Type = ModuleType.External;
|
||||||
|
|
||||||
|
string ThirdPartyDirectory = Path.GetFullPath(Path.Combine(ModuleDirectory, ".."));
|
||||||
|
string LibraryPath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "lib"));
|
||||||
|
string LibraryName = "flatbuffers";
|
||||||
|
|
||||||
|
bool bIsLinux = Target.Platform == UnrealTargetPlatform.Linux;
|
||||||
|
bool bIsLinuxArm64 = Target.Platform == UnrealTargetPlatform.LinuxArm64;
|
||||||
|
bool bIsWin64 = Target.IsInPlatformGroup(UnrealPlatformGroup.Windows) &&
|
||||||
|
Target.WindowsPlatform.Architecture == UnrealArch.X64;
|
||||||
|
bool bIsDebugBuild = (Target.Configuration == UnrealTargetConfiguration.Debug);
|
||||||
|
|
||||||
|
if (bIsLinux)
|
||||||
|
{
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "linux"));
|
||||||
|
|
||||||
|
#if UE_5_7_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v26"));
|
||||||
|
#elif UE_5_6_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v25"));
|
||||||
|
#elif UE_5_5_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v23"));
|
||||||
|
#else
|
||||||
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
|
#endif
|
||||||
|
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "x86-64"));
|
||||||
|
|
||||||
|
LibraryName = string.Format("lib{0}.a", LibraryName);
|
||||||
|
}
|
||||||
|
else if (bIsLinuxArm64)
|
||||||
|
{
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "linux"));
|
||||||
|
|
||||||
|
#if UE_5_7_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v26"));
|
||||||
|
#elif UE_5_6_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v25"));
|
||||||
|
#elif UE_5_5_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v23"));
|
||||||
|
#else
|
||||||
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
|
#endif
|
||||||
|
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "aarch64"));
|
||||||
|
|
||||||
|
LibraryName = string.Format("lib{0}.a", LibraryName);
|
||||||
|
}
|
||||||
|
else if (bIsWin64)
|
||||||
|
{
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "windows"));
|
||||||
|
switch (Target.WindowsPlatform.Compiler)
|
||||||
|
{
|
||||||
|
#if UE_5_7_OR_LATER
|
||||||
|
case WindowsCompiler.VisualStudio2026:
|
||||||
|
#if UE_5_8_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v145-1450"));
|
||||||
|
#elif UE_5_7_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1444"));
|
||||||
|
#else
|
||||||
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
|
#endif
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
|
case WindowsCompiler.VisualStudio2022:
|
||||||
|
#if UE_5_7_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1444"));
|
||||||
|
#elif UE_5_5_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1438"));
|
||||||
|
#else
|
||||||
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
|
#endif
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "x86-64"));
|
||||||
|
|
||||||
|
LibraryName = string.Format("{0}.lib", LibraryName);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Debug.Assert(false, "Unsupported platform!");
|
||||||
|
}
|
||||||
|
|
||||||
|
string IncludePath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "include"));
|
||||||
|
PrivateIncludePaths.Add(IncludePath);
|
||||||
|
|
||||||
|
if (bIsDebugBuild)
|
||||||
|
{
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "debug"));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "release"));
|
||||||
|
}
|
||||||
|
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, LibraryName));
|
||||||
|
PublicAdditionalLibraries.Add(LibraryPath);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -121,8 +121,25 @@ public class SGFmtThirdPartyLibs : ModuleRules
|
|||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "windows"));
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "windows"));
|
||||||
switch (Target.WindowsPlatform.Compiler)
|
switch (Target.WindowsPlatform.Compiler)
|
||||||
{
|
{
|
||||||
|
#if UE_5_7_OR_LATER
|
||||||
|
case WindowsCompiler.VisualStudio2026:
|
||||||
|
#if UE_5_8_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v145-1450"));
|
||||||
|
#elif UE_5_7_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1444"));
|
||||||
|
#else
|
||||||
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
|
#endif
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
case WindowsCompiler.VisualStudio2022:
|
case WindowsCompiler.VisualStudio2022:
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143"));
|
#if UE_5_7_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1444"));
|
||||||
|
#elif UE_5_5_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1438"));
|
||||||
|
#else
|
||||||
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
Debug.Assert(false, "Unsupported engine version or compiler!");
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
|
|||||||
@@ -116,8 +116,25 @@ public class SGLogThirdPartyLibs : ModuleRules
|
|||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "windows"));
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "windows"));
|
||||||
switch (Target.WindowsPlatform.Compiler)
|
switch (Target.WindowsPlatform.Compiler)
|
||||||
{
|
{
|
||||||
|
#if UE_5_7_OR_LATER
|
||||||
|
case WindowsCompiler.VisualStudio2026:
|
||||||
|
#if UE_5_8_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v145-1450"));
|
||||||
|
#elif UE_5_7_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1444"));
|
||||||
|
#else
|
||||||
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
|
#endif
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
case WindowsCompiler.VisualStudio2022:
|
case WindowsCompiler.VisualStudio2022:
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143"));
|
#if UE_5_7_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1444"));
|
||||||
|
#elif UE_5_5_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1438"));
|
||||||
|
#else
|
||||||
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
Debug.Assert(false, "Unsupported engine version or compiler!");
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
|
|||||||
@@ -121,8 +121,25 @@ public class SGLoguruThirdPartyLibs : ModuleRules
|
|||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "windows"));
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "windows"));
|
||||||
switch (Target.WindowsPlatform.Compiler)
|
switch (Target.WindowsPlatform.Compiler)
|
||||||
{
|
{
|
||||||
|
#if UE_5_7_OR_LATER
|
||||||
|
case WindowsCompiler.VisualStudio2026:
|
||||||
|
#if UE_5_8_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v145-1450"));
|
||||||
|
#elif UE_5_7_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1444"));
|
||||||
|
#else
|
||||||
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
|
#endif
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
case WindowsCompiler.VisualStudio2022:
|
case WindowsCompiler.VisualStudio2022:
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143"));
|
#if UE_5_7_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1444"));
|
||||||
|
#elif UE_5_5_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1438"));
|
||||||
|
#else
|
||||||
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
Debug.Assert(false, "Unsupported engine version or compiler!");
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
|
|||||||
@@ -0,0 +1,148 @@
|
|||||||
|
/**
|
||||||
|
* @file
|
||||||
|
*
|
||||||
|
* @author Mamadou Babaei <mamadou@senseglove.com>
|
||||||
|
*
|
||||||
|
* @section LICENSE
|
||||||
|
*
|
||||||
|
* (The MIT License)
|
||||||
|
*
|
||||||
|
* Copyright (c) 2020 - 2026 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 CONNECTION 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 SGNngThirdPartyLibs : ModuleRules
|
||||||
|
{
|
||||||
|
public SGNngThirdPartyLibs(ReadOnlyTargetRules Target) : base(Target)
|
||||||
|
{
|
||||||
|
Type = ModuleType.External;
|
||||||
|
|
||||||
|
string ThirdPartyDirectory = Path.GetFullPath(Path.Combine(ModuleDirectory, ".."));
|
||||||
|
string LibraryPath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "lib"));
|
||||||
|
string LibraryName = "nng";
|
||||||
|
|
||||||
|
bool bIsLinux = Target.Platform == UnrealTargetPlatform.Linux;
|
||||||
|
bool bIsLinuxArm64 = Target.Platform == UnrealTargetPlatform.LinuxArm64;
|
||||||
|
bool bIsWin64 = Target.IsInPlatformGroup(UnrealPlatformGroup.Windows) &&
|
||||||
|
Target.WindowsPlatform.Architecture == UnrealArch.X64;
|
||||||
|
bool bIsDebugBuild = (Target.Configuration == UnrealTargetConfiguration.Debug);
|
||||||
|
|
||||||
|
if (bIsLinux)
|
||||||
|
{
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "linux"));
|
||||||
|
|
||||||
|
#if UE_5_7_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v26"));
|
||||||
|
#elif UE_5_6_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v25"));
|
||||||
|
#elif UE_5_5_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v23"));
|
||||||
|
#else
|
||||||
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
|
#endif
|
||||||
|
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "x86-64"));
|
||||||
|
|
||||||
|
LibraryName = string.Format("lib{0}.a", LibraryName);
|
||||||
|
}
|
||||||
|
else if (bIsLinuxArm64)
|
||||||
|
{
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "linux"));
|
||||||
|
|
||||||
|
#if UE_5_7_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v26"));
|
||||||
|
#elif UE_5_6_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v25"));
|
||||||
|
#elif UE_5_5_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v23"));
|
||||||
|
#else
|
||||||
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
|
#endif
|
||||||
|
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "aarch64"));
|
||||||
|
|
||||||
|
LibraryName = string.Format("lib{0}.a", LibraryName);
|
||||||
|
}
|
||||||
|
else if (bIsWin64)
|
||||||
|
{
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "windows"));
|
||||||
|
switch (Target.WindowsPlatform.Compiler)
|
||||||
|
{
|
||||||
|
#if UE_5_7_OR_LATER
|
||||||
|
case WindowsCompiler.VisualStudio2026:
|
||||||
|
#if UE_5_8_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v145-1450"));
|
||||||
|
#elif UE_5_7_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1444"));
|
||||||
|
#else
|
||||||
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
|
#endif
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
|
case WindowsCompiler.VisualStudio2022:
|
||||||
|
#if UE_5_7_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1444"));
|
||||||
|
#elif UE_5_5_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1438"));
|
||||||
|
#else
|
||||||
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
|
#endif
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "x86-64"));
|
||||||
|
|
||||||
|
LibraryName = string.Format("{0}.lib", LibraryName);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Debug.Assert(false, "Unsupported platform!");
|
||||||
|
}
|
||||||
|
|
||||||
|
string IncludePath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "include"));
|
||||||
|
PrivateIncludePaths.Add(IncludePath);
|
||||||
|
|
||||||
|
if (bIsDebugBuild)
|
||||||
|
{
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "debug"));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "release"));
|
||||||
|
}
|
||||||
|
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, LibraryName));
|
||||||
|
PublicAdditionalLibraries.Add(LibraryPath);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -47,35 +47,15 @@ public class SGSerialThirdPartyLibs : ModuleRules
|
|||||||
|
|
||||||
string ThirdPartyDirectory = Path.GetFullPath(Path.Combine(ModuleDirectory, ".."));
|
string ThirdPartyDirectory = Path.GetFullPath(Path.Combine(ModuleDirectory, ".."));
|
||||||
string LibraryPath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "lib"));
|
string LibraryPath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "lib"));
|
||||||
string LibraryPathAnroidAArch64 = "";
|
|
||||||
string LibraryPathAnroidX64 = "";
|
|
||||||
string LibraryName = "sgserial";
|
string LibraryName = "sgserial";
|
||||||
|
|
||||||
bool bIsAndroid = Target.IsInPlatformGroup(UnrealPlatformGroup.Android);
|
|
||||||
bool bIsLinux = Target.Platform == UnrealTargetPlatform.Linux;
|
bool bIsLinux = Target.Platform == UnrealTargetPlatform.Linux;
|
||||||
bool bIsLinuxArm64 = Target.Platform == UnrealTargetPlatform.LinuxArm64;
|
bool bIsLinuxArm64 = Target.Platform == UnrealTargetPlatform.LinuxArm64;
|
||||||
bool bIsWin64 = Target.IsInPlatformGroup(UnrealPlatformGroup.Windows) &&
|
bool bIsWin64 = Target.IsInPlatformGroup(UnrealPlatformGroup.Windows) &&
|
||||||
Target.WindowsPlatform.Architecture == UnrealArch.X64;
|
Target.WindowsPlatform.Architecture == UnrealArch.X64;
|
||||||
bool bIsDebugBuild = (Target.Configuration == UnrealTargetConfiguration.Debug);
|
bool bIsDebugBuild = (Target.Configuration == UnrealTargetConfiguration.Debug);
|
||||||
|
|
||||||
if (bIsAndroid)
|
if (bIsLinux)
|
||||||
{
|
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "android"));
|
|
||||||
|
|
||||||
#if UE_5_6_OR_LATER
|
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r27c"));
|
|
||||||
#elif UE_5_5_OR_LATER
|
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r25b"));
|
|
||||||
#else
|
|
||||||
Debug.Assert(false, "Unsupported engine version or compiler!");
|
|
||||||
#endif
|
|
||||||
|
|
||||||
LibraryPathAnroidAArch64 = Path.GetFullPath(Path.Combine(LibraryPath, "aarch64"));
|
|
||||||
LibraryPathAnroidX64 = Path.GetFullPath(Path.Combine(LibraryPath, "x86-64"));
|
|
||||||
|
|
||||||
LibraryName = string.Format("lib{0}.a", LibraryName);
|
|
||||||
}
|
|
||||||
else if (bIsLinux)
|
|
||||||
{
|
{
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "linux"));
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "linux"));
|
||||||
|
|
||||||
@@ -116,8 +96,25 @@ public class SGSerialThirdPartyLibs : ModuleRules
|
|||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "windows"));
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "windows"));
|
||||||
switch (Target.WindowsPlatform.Compiler)
|
switch (Target.WindowsPlatform.Compiler)
|
||||||
{
|
{
|
||||||
|
#if UE_5_7_OR_LATER
|
||||||
|
case WindowsCompiler.VisualStudio2026:
|
||||||
|
#if UE_5_8_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v145-1450"));
|
||||||
|
#elif UE_5_7_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1444"));
|
||||||
|
#else
|
||||||
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
|
#endif
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
case WindowsCompiler.VisualStudio2022:
|
case WindowsCompiler.VisualStudio2022:
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143"));
|
#if UE_5_7_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1444"));
|
||||||
|
#elif UE_5_5_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1438"));
|
||||||
|
#else
|
||||||
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
Debug.Assert(false, "Unsupported engine version or compiler!");
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
@@ -136,38 +133,16 @@ public class SGSerialThirdPartyLibs : ModuleRules
|
|||||||
string IncludePath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "include"));
|
string IncludePath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "include"));
|
||||||
PrivateIncludePaths.Add(IncludePath);
|
PrivateIncludePaths.Add(IncludePath);
|
||||||
|
|
||||||
if (bIsAndroid)
|
if (bIsDebugBuild)
|
||||||
{
|
{
|
||||||
if (bIsDebugBuild)
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "debug"));
|
||||||
{
|
|
||||||
LibraryPathAnroidAArch64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidAArch64, "debug"));
|
|
||||||
LibraryPathAnroidX64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidX64, "debug"));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
LibraryPathAnroidAArch64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidAArch64, "release"));
|
|
||||||
LibraryPathAnroidX64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidX64, "release"));
|
|
||||||
}
|
|
||||||
|
|
||||||
LibraryPathAnroidAArch64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidAArch64, LibraryName));
|
|
||||||
LibraryPathAnroidX64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidX64, LibraryName));
|
|
||||||
|
|
||||||
PublicAdditionalLibraries.Add(LibraryPathAnroidAArch64);
|
|
||||||
PublicAdditionalLibraries.Add(LibraryPathAnroidX64);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (bIsDebugBuild)
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "release"));
|
||||||
{
|
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "debug"));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "release"));
|
|
||||||
}
|
|
||||||
|
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, LibraryName));
|
|
||||||
PublicAdditionalLibraries.Add(LibraryPath);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, LibraryName));
|
||||||
|
PublicAdditionalLibraries.Add(LibraryPath);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+25
-50
@@ -47,35 +47,15 @@ public class SGWjwwoodSerialThirdPartyLibs : ModuleRules
|
|||||||
|
|
||||||
string ThirdPartyDirectory = Path.GetFullPath(Path.Combine(ModuleDirectory, ".."));
|
string ThirdPartyDirectory = Path.GetFullPath(Path.Combine(ModuleDirectory, ".."));
|
||||||
string LibraryPath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "lib"));
|
string LibraryPath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "lib"));
|
||||||
string LibraryPathAnroidAArch64 = "";
|
|
||||||
string LibraryPathAnroidX64 = "";
|
|
||||||
string LibraryName = "serial";
|
string LibraryName = "serial";
|
||||||
|
|
||||||
bool bIsAndroid = Target.IsInPlatformGroup(UnrealPlatformGroup.Android);
|
|
||||||
bool bIsLinux = Target.Platform == UnrealTargetPlatform.Linux;
|
bool bIsLinux = Target.Platform == UnrealTargetPlatform.Linux;
|
||||||
bool bIsLinuxArm64 = Target.Platform == UnrealTargetPlatform.LinuxArm64;
|
bool bIsLinuxArm64 = Target.Platform == UnrealTargetPlatform.LinuxArm64;
|
||||||
bool bIsWin64 = Target.IsInPlatformGroup(UnrealPlatformGroup.Windows) &&
|
bool bIsWin64 = Target.IsInPlatformGroup(UnrealPlatformGroup.Windows) &&
|
||||||
Target.WindowsPlatform.Architecture == UnrealArch.X64;
|
Target.WindowsPlatform.Architecture == UnrealArch.X64;
|
||||||
bool bIsDebugBuild = (Target.Configuration == UnrealTargetConfiguration.Debug);
|
bool bIsDebugBuild = (Target.Configuration == UnrealTargetConfiguration.Debug);
|
||||||
|
|
||||||
if (bIsAndroid)
|
if (bIsLinux)
|
||||||
{
|
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "android"));
|
|
||||||
|
|
||||||
#if UE_5_6_OR_LATER
|
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r27c"));
|
|
||||||
#elif UE_5_5_OR_LATER
|
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r25b"));
|
|
||||||
#else
|
|
||||||
Debug.Assert(false, "Unsupported engine version or compiler!");
|
|
||||||
#endif
|
|
||||||
|
|
||||||
LibraryPathAnroidAArch64 = Path.GetFullPath(Path.Combine(LibraryPath, "aarch64"));
|
|
||||||
LibraryPathAnroidX64 = Path.GetFullPath(Path.Combine(LibraryPath, "x86-64"));
|
|
||||||
|
|
||||||
LibraryName = string.Format("lib{0}.a", LibraryName);
|
|
||||||
}
|
|
||||||
else if (bIsLinux)
|
|
||||||
{
|
{
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "linux"));
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "linux"));
|
||||||
|
|
||||||
@@ -116,8 +96,25 @@ public class SGWjwwoodSerialThirdPartyLibs : ModuleRules
|
|||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "windows"));
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "windows"));
|
||||||
switch (Target.WindowsPlatform.Compiler)
|
switch (Target.WindowsPlatform.Compiler)
|
||||||
{
|
{
|
||||||
|
#if UE_5_7_OR_LATER
|
||||||
|
case WindowsCompiler.VisualStudio2026:
|
||||||
|
#if UE_5_8_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v145-1450"));
|
||||||
|
#elif UE_5_7_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1444"));
|
||||||
|
#else
|
||||||
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
|
#endif
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
case WindowsCompiler.VisualStudio2022:
|
case WindowsCompiler.VisualStudio2022:
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143"));
|
#if UE_5_7_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1444"));
|
||||||
|
#elif UE_5_5_OR_LATER
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v143-1438"));
|
||||||
|
#else
|
||||||
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
Debug.Assert(false, "Unsupported engine version or compiler!");
|
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||||
@@ -136,38 +133,16 @@ public class SGWjwwoodSerialThirdPartyLibs : ModuleRules
|
|||||||
string IncludePath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "include"));
|
string IncludePath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "include"));
|
||||||
PrivateIncludePaths.Add(IncludePath);
|
PrivateIncludePaths.Add(IncludePath);
|
||||||
|
|
||||||
if (bIsAndroid)
|
if (bIsDebugBuild)
|
||||||
{
|
{
|
||||||
if (bIsDebugBuild)
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "debug"));
|
||||||
{
|
|
||||||
LibraryPathAnroidAArch64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidAArch64, "debug"));
|
|
||||||
LibraryPathAnroidX64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidX64, "debug"));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
LibraryPathAnroidAArch64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidAArch64, "release"));
|
|
||||||
LibraryPathAnroidX64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidX64, "release"));
|
|
||||||
}
|
|
||||||
|
|
||||||
LibraryPathAnroidAArch64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidAArch64, LibraryName));
|
|
||||||
LibraryPathAnroidX64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidX64, LibraryName));
|
|
||||||
|
|
||||||
PublicAdditionalLibraries.Add(LibraryPathAnroidAArch64);
|
|
||||||
PublicAdditionalLibraries.Add(LibraryPathAnroidX64);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (bIsDebugBuild)
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "release"));
|
||||||
{
|
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "debug"));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "release"));
|
|
||||||
}
|
|
||||||
|
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, LibraryName));
|
|
||||||
PublicAdditionalLibraries.Add(LibraryPath);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, LibraryName));
|
||||||
|
PublicAdditionalLibraries.Add(LibraryPath);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user