File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Modules/@babylonjs/react-native-windows/windows/scripts Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -275,7 +275,7 @@ jobs:
275275 working-directory : ./Modules
276276
277277 - name : CMake BabylonNative
278- run : cmake -G "Visual Studio 16 2019 " -D CMAKE_SYSTEM_NAME=WindowsStore -D CMAKE_SYSTEM_VERSION=10.0.19041.0 -DCMAKE_UNITY_BUILD=true -D CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION_MAXIMUM=10.0.19041.0 -A x64 ./../../../react-native-windows/windows
278+ run : cmake -G "Visual Studio 17 2022 " -D CMAKE_SYSTEM_NAME=WindowsStore -D CMAKE_SYSTEM_VERSION=10.0.19041.0 -DCMAKE_UNITY_BUILD=true -D CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION_MAXIMUM=10.0.19041.0 -A x64 ./../../../react-native-windows/windows
279279 working-directory : ./Modules/@babylonjs/react-native/Build/uwp_x64
280280
281281 - name : Nuget restore
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ function Restore-CMakeProject {
4747 }
4848
4949 cd $BuildDir
50- cmake - G " Visual Studio 16 2019 " - D CMAKE_SYSTEM_NAME= WindowsStore - D CMAKE_SYSTEM_VERSION= 10.0 - A $Arch ..\..\..\windows
50+ cmake - G " Visual Studio 17 2022 " - D CMAKE_SYSTEM_NAME= WindowsStore - D CMAKE_SYSTEM_VERSION= 10.0 - A $Arch ..\..\..\windows
5151
5252 if ($? -Eq $False ) {
5353 Write-Error " cmake failed. Make sure cmake is added to your PATH variable"
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ const buildAndroidRNTA = async () => {
104104
105105const makeUWPProjectPlatform = async ( name , arch ) => {
106106 shelljs . mkdir ( '-p' , `./../Modules/@babylonjs/react-native/Build/uwp_${ name } ` ) ;
107- exec ( `cmake -G "Visual Studio 16 2019 " -D CMAKE_SYSTEM_NAME=WindowsStore -D CMAKE_SYSTEM_VERSION=10.0 -DCMAKE_UNITY_BUILD=true ${ cmakeBasekitBuildDefinition } -A ${ arch } ./../../../react-native-windows/windows` , `./../Modules/@babylonjs/react-native/Build/uwp_${ name } ` ) ;
107+ exec ( `cmake -G "Visual Studio 17 2022 " -D CMAKE_SYSTEM_NAME=WindowsStore -D CMAKE_SYSTEM_VERSION=10.0 -DCMAKE_UNITY_BUILD=true ${ cmakeBasekitBuildDefinition } -A ${ arch } ./../../../react-native-windows/windows` , `./../Modules/@babylonjs/react-native/Build/uwp_${ name } ` ) ;
108108} ;
109109
110110const makeUWPProjectx86 = async ( ) => makeUWPProjectPlatform ( 'x86' , 'Win32' ) ;
You can’t perform that action at this time.
0 commit comments