Jan Tattermusch | 7897ae9 | 2017-06-07 22:57:36 +0200 | [diff] [blame] | 1 | @rem Copyright 2016 gRPC authors. |
Jan Tattermusch | f551edf | 2016-05-13 10:49:17 -0700 | [diff] [blame] | 2 | @rem |
Jan Tattermusch | 7897ae9 | 2017-06-07 22:57:36 +0200 | [diff] [blame] | 3 | @rem Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | @rem you may not use this file except in compliance with the License. |
| 5 | @rem You may obtain a copy of the License at |
Jan Tattermusch | f551edf | 2016-05-13 10:49:17 -0700 | [diff] [blame] | 6 | @rem |
Jan Tattermusch | 7897ae9 | 2017-06-07 22:57:36 +0200 | [diff] [blame] | 7 | @rem http://www.apache.org/licenses/LICENSE-2.0 |
Jan Tattermusch | f551edf | 2016-05-13 10:49:17 -0700 | [diff] [blame] | 8 | @rem |
Jan Tattermusch | 7897ae9 | 2017-06-07 22:57:36 +0200 | [diff] [blame] | 9 | @rem Unless required by applicable law or agreed to in writing, software |
| 10 | @rem distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | @rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | @rem See the License for the specific language governing permissions and |
| 13 | @rem limitations under the License. |
Jan Tattermusch | f551edf | 2016-05-13 10:49:17 -0700 | [diff] [blame] | 14 | |
Jan Tattermusch | d38e372 | 2016-01-27 18:09:12 -0800 | [diff] [blame] | 15 | @rem Convenience wrapper that runs specified gRPC target using msbuild |
| 16 | @rem Usage: build.bat TARGET_NAME |
| 17 | |
| 18 | setlocal |
| 19 | @rem Set VS variables (uses Visual Studio 2015) |
| 20 | @call "%VS140COMNTOOLS%\..\..\vc\vcvarsall.bat" x86 |
| 21 | |
| 22 | msbuild %* |
| 23 | exit /b %ERRORLEVEL% |
| 24 | endlocal |