Skip to content

Commit c683bd1

Browse files
WindowsStore
1 parent f478ce5 commit c683bd1

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,10 @@
295295
</ImportGroup>
296296
<Target Name="BabylonNativeBuild" BeforeTargets="PrepareForBuild">
297297
<Exec Command='cmake ^
298-
-B ..\..\Build_uwp$(Platform) ^
298+
-G "Visual Studio 16 2019" ^
299+
-B $(ProjectDir)..\..\Build_uwp$(Platform) ^
299300
-D CMAKE_SYSTEM_NAME=WindowsStore ^
301+
-D CMAKE_SYSTEM_VERSION=$(TargetPlatformVersion) ^
300302
-A $(Platform) ^
301303
-D FETCHCONTENT_FULLY_DISCONNECTED=ON ^
302304
-D BABYLON_NATIVE_BUILD_APPS=OFF ^
@@ -311,7 +313,7 @@
311313
-D FETCHCONTENT_SOURCE_DIR_GLSLANG=../../shared/BabylonNative/deps/glslang-src ^
312314
-D FETCHCONTENT_SOURCE_DIR_BASE-N=../../shared/BabylonNative/deps/base-n-src ^
313315
-D FETCHCONTENT_SOURCE_DIR_IOS-CMAKE=../../shared/BabylonNative/deps/ios-cmake-src ^
314-
"$(ProjectDir).."' />
316+
-S "$(ProjectDir).."' />
315317
<Exec Command='"MSBuild.exe" ^
316318
"$(ProjectDir)..\..\Build_uwp$(Platform)\ReactNativeBabylon.sln" ^
317319
/p:Configuration=$(Configuration) ^

Modules/@babylonjs/react-native/windows/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
cmake_minimum_required(VERSION 3.15.3)
22
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
33

4-
#set(CMAKE_SYSTEM_NAME WindowsStore)
5-
#set(CMAKE_SYSTEM_VERSION 10.0.19041.0)
6-
74
project(ReactNativeBabylon)
85

96
# Disable the WebP plugin option

0 commit comments

Comments
 (0)