init.bat 778 B

123456789101112131415161718192021222324252627282930313233343536
  1. rem
  2. rem Set constants.
  3. rem
  4. set BUILDERROR=0
  5. set FEDDEBUGROOT=%FEDROOT%\objs\debug
  6. set FEDRETAILROOT=%FEDROOT%\objs\retail
  7. set FEDSOURCEROOT=%FEDROOT%\src
  8. set SCRIPTDIR=%FEDSOURCEROOT%\build
  9. rem
  10. rem Set the FEDDRIVE enviornment variable based on FEDROOT.
  11. rem
  12. call %SCRIPTDIR%\util\getdrive.bat %FEDROOT% FEDDRIVE
  13. set PROPDIR=\\research\root\federation\builds
  14. set PROPSRCDIR=\\research\root\federation\src
  15. set DIRECTXDIR=\\research\root\federation\directx
  16. rem
  17. rem Create things for the first time.
  18. rem
  19. if not exist %PROPDIR% mkdir %PROPDIR%
  20. if not exist %PROPSRCDIR% mkdir %PROPSRCDIR%
  21. rem
  22. rem Modify the user's path to contain the build tools.
  23. rem
  24. if "%BUILDPATHSET%"=="1" goto BuildPathSet
  25. set PATH=%PATH%;%FEDSOURCEROOT%\tools\build
  26. set BUILDPATHSET=1
  27. :BuildPathSet