Skip to content

Commit f5d17e7

Browse files
author
C. M. Barth
authored
Move to most recent master of BabylonNative submodule and improve UWP tooling (#188)
* move to most recent master * move to most recent master and rebuild cmake solutions * add conditional step for building babylonnative static libs
1 parent fcfbd23 commit f5d17e7

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

Modules/@babylonjs/react-native-windows/windows/BabylonReactNative/BabylonReactNative.vcxproj

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@
192192
NativeXr.lib;
193193
nvtt.lib;
194194
OGLCompilerd.lib;
195-
openxr_loader.lib;
195+
openxr_loaderd.lib;
196196
OSDependentd.lib;
197197
pvrtc.lib;
198198
spirv-cross-core.lib;
@@ -328,4 +328,9 @@
328328
<Error Condition="!Exists('$(SolutionDir)\packages\Microsoft.Windows.CppWinRT.2.0.210122.3\build\native\Microsoft.Windows.CppWinRT.props')" Text="$([System.String]::Format('$(ErrorText)', $(SolutionDir)\packages\Microsoft.Windows.CppWinRT.2.0.210122.3\build\native\Microsoft.Windows.CppWinRT.props'))" />
329329
<Error Condition="!Exists('$(SolutionDir)\packages\Microsoft.Windows.CppWinRT.2.0.210122.3\build\native\Microsoft.Windows.CppWinRT.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\packages\Microsoft.Windows.CppWinRT.2.0.210122.3\build\native\Microsoft.Windows.CppWinRT.targets'))" />
330330
</Target>
331+
<Target Name="BuildBabylonNativeStaticLibs" BeforeTargets="PrepareForBuild"
332+
Condition="'$(BabylonNativeBuildDir)' != ''">
333+
<Message Text="Building BabylonNative static libs for $(Platform) $(Configuration)"/>
334+
<Exec Command="$(ProjectDir)\..\scripts\Build.bat -Platform $(Platform) -Configuration $(Configuration)"/>
335+
</Target>
331336
</Project>

0 commit comments

Comments
 (0)