@echo off rem Builds both C++ and C# quickstart examples rem Run from Visual Studio 200X Command Prompt to find MSBuild and VCBuild rem GFCPP must be set rem GEMFIRE must be set if not "%VCINSTALLDIR%"=="" goto checkGFCPP echo VCINSTALLDIR is not set; use Visual Studio Command Prompt goto finished :checkGFCPP if not "%GFCPP%"=="" goto checkGEMFIRE echo GFCPP is not set. goto finished :checkGEMFIRE if not "%GEMFIRE%"=="" goto startbuild echo GEMFIRE is not set. goto finished :startbuild echo Building GemFire C++ and C# QuickStart examples... msbuild.exe quickstart_csharp.sln /p:Platform="Mixed Platforms" "%VCINSTALLDIR%\vcpackages\VCBuild.exe" quickstart_cpp.sln "Release|Win32" /M1 /nologo javac.exe -classpath "%GEMFIRE%\lib\gemfire.jar" interop/InteropJAVA.java :finished