fbt.cmd 437 B

1234567891011121314151617
  1. @echo off
  2. call %~dp0scripts\toolchain\fbtenv.cmd env
  3. set SCONS_EP=%~dp0\lib\scons\scripts\scons.py
  4. if [%FBT_NO_SYNC%] == [] (
  5. if exist ".git" (
  6. git submodule update --init
  7. ) else (
  8. echo Not in a git repo, please clone with git clone --recursive
  9. exit /b 1
  10. )
  11. )
  12. git submodule update --init
  13. set "SCONS_DEFAULT_FLAGS=-Q --warn=target-not-built"
  14. python lib\scons\scripts\scons.py %SCONS_DEFAULT_FLAGS% %*