vs_build.bat 452 Bytes
Newer Older
Ian Hickson's avatar
Ian Hickson committed
1 2 3 4
@ECHO off
REM Copyright 2014 The Flutter Authors. All rights reserved.
REM Use of this source code is governed by a BSD-style license that can be
REM found in the LICENSE file.
5

Ian Hickson's avatar
Ian Hickson committed
6 7
REM Calls vcvars64.bat to configure a command-line build environment, then builds
REM a project with msbuild.
8 9 10 11 12 13 14 15 16 17
@echo off

set VCVARS=%~1
set PROJECT=%~2
set CONFIG=%~3

call "%VCVARS%"
if %errorlevel% neq 0 exit /b %errorlevel%

msbuild "%PROJECT%" /p:Configuration=%CONFIG%