Consolidate Vive SDK lib + DLLs under ThirdParty/VBS_SDK/Win64/
Why: vendor SDKs distributed inside UE plugins typically ship a single folder per platform rather than the Unix-style include/lib/bin split. Grouping VS_PC_SDK.lib alongside the three runtime DLLs matches what HTC and most XR SDKs publish and keeps the layout closer to what a maintainer expects when dropping in a new SDK release. - Move VS_PC_SDK.lib from lib/Win64/ into Win64/ alongside the DLLs. - Remove the now-empty lib/ and bin/ subdirectories. - Update Build.cs to use a single Win64Dir variable. - Update FilterPlugin.ini to reference the consolidated path. Validated by clean rebuilds of PS_ViveVBSEditor and PS_ViveVBS Win64 Development targets, both exit 0 with the three DLLs auto-copied next to the binary. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -3,5 +3,4 @@
|
||||
; may include "...", "*", and "?" wildcards to match directories, files, and individual characters respectively.
|
||||
|
||||
/ThirdParty/VBS_SDK/include/...
|
||||
/ThirdParty/VBS_SDK/lib/Win64/...
|
||||
/ThirdParty/VBS_SDK/bin/Win64/...
|
||||
/ThirdParty/VBS_SDK/Win64/...
|
||||
|
||||
@@ -25,11 +25,10 @@ public class ViveVBS : ModuleRules
|
||||
{
|
||||
string SdkRoot = Path.Combine(PluginDirectory, "ThirdParty", "VBS_SDK");
|
||||
string IncludeDir = Path.Combine(SdkRoot, "include");
|
||||
string LibDir = Path.Combine(SdkRoot, "lib", "Win64");
|
||||
string BinDir = Path.Combine(SdkRoot, "bin", "Win64");
|
||||
string Win64Dir = Path.Combine(SdkRoot, "Win64");
|
||||
|
||||
PrivateIncludePaths.Add(IncludeDir);
|
||||
PublicAdditionalLibraries.Add(Path.Combine(LibDir, "VS_PC_SDK.lib"));
|
||||
PublicAdditionalLibraries.Add(Path.Combine(Win64Dir, "VS_PC_SDK.lib"));
|
||||
|
||||
string[] Dlls =
|
||||
{
|
||||
@@ -42,7 +41,7 @@ public class ViveVBS : ModuleRules
|
||||
{
|
||||
RuntimeDependencies.Add(
|
||||
Path.Combine("$(BinaryOutputDir)", Dll),
|
||||
Path.Combine(BinDir, Dll),
|
||||
Path.Combine(Win64Dir, Dll),
|
||||
StagedFileType.NonUFS);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user