Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Unified Diff: third_party/grpc/src/csharp/buildall.bat

Issue 1932353002: Initial checkin of gRPC to third_party/ Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/grpc/src/csharp/build_packages.bat ('k') | third_party/grpc/src/csharp/doc/README.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/grpc/src/csharp/buildall.bat
diff --git a/third_party/grpc/src/csharp/buildall.bat b/third_party/grpc/src/csharp/buildall.bat
new file mode 100755
index 0000000000000000000000000000000000000000..fcc84426563ccb48661bc1082b488e65654523a1
--- /dev/null
+++ b/third_party/grpc/src/csharp/buildall.bat
@@ -0,0 +1,24 @@
+@rem Convenience script to build gRPC C# from command line
+
+setlocal
+
+@rem enter this directory
+cd /d %~dp0
+
+@rem Set VS variables (uses Visual Studio 2013)
+@call "%VS120COMNTOOLS%\..\..\vc\vcvarsall.bat" x86
+
+@rem Build the C# native extension
+msbuild ..\..\vsprojects\grpc_csharp_ext.sln /p:Configuration=Debug /p:PlatformToolset=v120 || goto :error
+msbuild ..\..\vsprojects\grpc_csharp_ext.sln /p:Configuration=Release /p:PlatformToolset=v120 || goto :error
+
+msbuild Grpc.sln /p:Configuration=Debug || goto :error
+msbuild Grpc.sln /p:Configuration=Release || goto :error
+
+endlocal
+
+goto :EOF
+
+:error
+echo Failed!
+exit /b %errorlevel%
« no previous file with comments | « third_party/grpc/src/csharp/build_packages.bat ('k') | third_party/grpc/src/csharp/doc/README.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698