Open
Conversation
Note that this has minimal testing. Specifically, running UE4SS on Windows has been tested and still works, and using DynamicOutput on Linux has been tested and is working except FileDevice and NewFileDevice. Nothing else has been tested. The File dependency on Linux is not implemented.
Collaborator
Author
|
This patch is also required if you want to test this on Linux. Index: cmake/modules/ProjectConfig.cmake
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/cmake/modules/ProjectConfig.cmake b/cmake/modules/ProjectConfig.cmake
--- a/cmake/modules/ProjectConfig.cmake (revision 62ed88d93b860f26de88241d215a1e32df0de2eb)
+++ b/cmake/modules/ProjectConfig.cmake (date 1775541918479)
@@ -11,7 +11,7 @@
set(UE4SS_PROJECTS "UE4SS" "UVTD" CACHE STRING "List of main project targets")
set(UE4SS_TARGET_TYPES "Game" "CasePreserving" "LessEqual421" CACHE STRING "UE4-style target types")
set(UE4SS_CONFIGURATION_TYPES "Debug" "Dev" "Shipping" "Test" CACHE STRING "UE4-style configuration types")
-set(UE4SS_PLATFORM_TYPES "Win64" CACHE STRING "Supported platform types")
+set(UE4SS_PLATFORM_TYPES "Win64" "Linux" CACHE STRING "Supported platform types")
# Feature toggles
option(MAKE_DEPENDENCIES_SHARED "Make dependencies shared" OFF)
@@ -48,6 +48,8 @@
# Platform definitions (UE4-style)
set(UE4SS_Win64_DEFINITIONS PLATFORM_WINDOWS PLATFORM_MICROSOFT OVERRIDE_PLATFORM_HEADER_NAME=Windows UBT_COMPILED_PLATFORM=Win64)
set(UE4SS_Win64_VARS CMAKE_SYSTEM_PROCESSOR=x86_64)
+set(UE4SS_Linux_DEFINITIONS PLATFORM_LINUX OVERRIDE_PLATFORM_HEADER_NAME=Clang UBT_COMPILED_PLATFORM=Linux)
+set(UE4SS_Linux_VARS CMAKE_SYSTEM_PROCESSOR=x86_64)
# Initializes the project configuration
#
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds some support for DynamicOutput.
I've decided a iterative method of adding Linux support may be more effective than doing it all in one chunk, so I might make more PRs similar to this with small-ish changes for Linux support.
Fixes # (issue) (if applicable)
Type of change
How has this been tested?
This has minimal testing.
Specifically, running UE4SS on Windows has been tested and still works, and using DynamicOutput on Linux has been tested and is working except FileDevice and NewFileDevice. Nothing else has been tested.
The File dependency on Linux is not implemented.
It's tested by making a program that utilizes each dependency independently of UE4SS.
CMakeLists.txt, manually change platforms by un/commenting the line near the bottom of the file.
main.cpp: