3f9d00a8 |
1 | @REM\r |
2 | @REM Copyright (c) 2006, Intel Corporation\r |
3 | @REM All rights reserved. This program and the accompanying materials\r |
4 | @REM are licensed and made available under the terms and conditions of the BSD License\r |
5 | @REM which accompanies this distribution. The full text of the license may be found at\r |
6 | @REM http://opensource.org/licenses/bsd-license.php\r |
7 | @REM \r |
8 | @REM THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r |
9 | @REM WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r |
10 | @REM\r |
e3cc4061 |
11 | @echo off\r |
12 | \r |
13 | set _ARGS= \r |
14 | :check_arg\r |
15 | if ""%1""=="""" goto arg_end\r |
16 | if ""%1""==""-q"" goto ant_arg\r |
17 | if ""%1""==""-v"" goto ant_arg\r |
18 | if ""%1""==""-d"" goto ant_arg\r |
01bf334d |
19 | if ""%1""==""-e"" goto ant_arg\r |
20 | if ""%1""==""-emacs"" goto ant_arg\r |
e3cc4061 |
21 | \r |
22 | goto ant_target\r |
23 | \r |
24 | :ant_arg \r |
25 | set _ARGS=%_ARGS% %1\r |
26 | shift\r |
27 | goto check_arg\r |
28 | \r |
29 | :ant_target\r |
30 | set _ARGS=%_ARGS% -DBUILD_TARGET=%1\r |
31 | shift\r |
32 | goto check_arg\r |
33 | \r |
34 | :arg_end\r |
35 | ant -logger org.tianocore.build.global.GenBuildLogger -f %WORKSPACE%/build.xml %_ARGS%\r |
36 | \r |
37 | set _ARGS=\r |
38 | @echo on\r |
3f9d00a8 |
39 | \r |