fd03db0fe9
used in http://codereview.appspot.com/4816058/ ('Automatic update of all copyright notices to reflect new license terms.') Note that the following files have been left alone, because they name copyright holders outside of Google. Please let me know if we need to update these files: experimental/CiCarbonSampleMain.c src/opts/memset16_neon.S src/opts/memset32_neon.S src/opts/opts_check_arm.cpp src/ports/SkDebug_brew.cpp src/ports/SkMemory_brew.cpp src/ports/SkOSFile_brew.cpp Review URL: http://codereview.appspot.com/4806054 git-svn-id: http://skia.googlecode.com/svn/trunk@1981 2bbb7eff-a529-9590-31e7-b0007b416f81
27 lines
886 B
Batchfile
27 lines
886 B
Batchfile
@rem Copyright 2011 Google Inc.
|
|
@rem
|
|
@rem Use of this source code is governed by a BSD-style license that can be
|
|
@rem found in the LICENSE file.
|
|
|
|
@rem Launches make.py on Windows, after setting Visual Studio environment variables.
|
|
@rem See http://code.google.com/p/skia/wiki/GettingStartedOnWindows
|
|
|
|
@if "%DevEnvDir%"=="" goto setup_env_vars
|
|
|
|
:run_python
|
|
@rem Run make.py and propagate its return value.
|
|
python make.py %*
|
|
@exit /B %ERRORLEVEL%
|
|
|
|
:setup_env_vars
|
|
@rem Visual Studio environment variables aren't set yet, so run vcvars32.bat
|
|
@if "%VS100COMNTOOLS%"=="" goto error_no_VS100COMNTOOLS
|
|
call "%VS100COMNTOOLS%..\..\VC\bin\vcvars32.bat"
|
|
@if %ERRORLEVEL% neq 0 exit /B %ERRORLEVEL%
|
|
@goto run_python
|
|
|
|
:error_no_VS100COMNTOOLS
|
|
@echo ERROR: VS100COMNTOOLS environment variable not set.
|
|
@echo Are you sure Visual Studio 2010 is installed?
|
|
@exit /B 1
|