Skip to content

Commit 7afc698

Browse files
author
Chris Barth
committed
add git submodule initialization to setup.ps1
1 parent 72b4d9b commit 7afc698

File tree

1 file changed

+13
-0
lines changed
  • Modules/@babylonjs/react-native/windows/scripts

1 file changed

+13
-0
lines changed

Modules/@babylonjs/react-native/windows/scripts/Setup.ps1

+13
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
Import-Module $PSScriptRoot\Utils.psm1
22

3+
# windows build agents don't support the path lengths required for initializing arcore dependencies,
4+
# so we manually initialize the submodules we need here.
5+
git submodule update --init "$PSScriptRoot\..\..\submodules\BabylonNative"
6+
Push-Location "$PSScriptRoot\..\..\submodules\BabylonNative"
7+
git submodule update --init --recursive "Dependencies\SPIRV-Cross"
8+
git submodule update --init --recursive "Dependencies\arcana.cpp"
9+
git submodule update --init --recursive "Dependencies\base-n"
10+
git submodule update --init --recursive "Dependencies\bgfx.cmake"
11+
git submodule update --init --recursive "Dependencies\glslang"
12+
git submodule update --init --recursive "Dependencies\xr\Dependencies\OpenXR-SDK"
13+
git submodule update --init --recursive "Dependencies\xr\Dependencies\OpenXR-MixedReality"
14+
Pop-Location
15+
316
Restore-CMakeProject -Platform "x86"
417
Restore-CMakeProject -Platform "x64"
518
Restore-CMakeProject -Platform "arm"

0 commit comments

Comments
 (0)