Skip to content

Commit 51d729e

Browse files
andrewdacenkofacebook-github-bot
authored andcommitted
Add windows scripts
Summary: Add download and build scripts for Windows Differential Revision: D76060394
1 parent 829b719 commit 51d729e

2 files changed

Lines changed: 24 additions & 0 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
:: Copyright (c) Meta Platforms, Inc. and affiliates.
2+
::
3+
:: This source code is licensed under the MIT license found in the
4+
:: LICENSE file in the root directory of this source tree.
5+
@echo off
6+
7+
pushd ..\..
8+
call gradlew.bat prepareNative3pDependencies
9+
popd
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
:: Copyright (c) Meta Platforms, Inc. and affiliates.
2+
::
3+
:: This source code is licensed under the MIT license found in the
4+
:: LICENSE file in the root directory of this source tree.
5+
6+
@echo off
7+
8+
setlocal enabledelayedexpansion
9+
10+
set SCRIPT_DIR=%~dp0\
11+
set BUILD_DIR=%SCRIPT_DIR%build
12+
set REACT_NATIVE_ROOT_DIR=%SCRIPT_DIR%..\..\react-native
13+
14+
cmake -S "%SCRIPT_DIR%" -B "%BUILD_DIR%" -DREACT_COMMON_DIR="%REACT_NATIVE_ROOT_DIR%\ReactCommon"
15+
cmake --build "%BUILD_DIR%" --target fantom_tester

0 commit comments

Comments
 (0)