Final fixes for getting GSSWeb to work again.
[gssweb.git] / win-build.bat
1 @echo off
2 REM Copyright (c) 2014, 2015 JANET(UK)
3 REM All rights reserved.
4 REM
5 REM Redistribution and use in source and binary forms, with or without
6 REM modification, are permitted provided that the following conditions
7 REM are met:
8 REM
9 REM 1. Redistributions of source code must retain the above copyright
10 REM    notice, this list of conditions and the following disclaimer.
11 REM
12 REM 2. Redistributions in binary form must reproduce the above copyright
13 REM    notice, this list of conditions and the following disclaimer in the
14 REM    documentation and/or other materials provided with the distribution.
15 REM
16 REM 3. Neither the name of JANET(UK) nor the names of its contributors
17 REM    may be used to endorse or promote products derived from this software
18 REM    without specific prior written permission.
19 REM
20 REM THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21 REM "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22 REM LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
23 REM FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
24 REM COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
25 REM INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
26 REM (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
27 REM SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 REM HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
29 REM STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
30 REM ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
31 REM OF THE POSSIBILITY OF SUCH DAMAGE.
32 @echo on
33
34
35 del /f /s /q build
36 rd /s /q build
37 mkdir build
38 cd build
39 call setenv /x86 /Debug
40 call c:\firefox-addon-sdk\bin\activate.bat
41 cmake -DCMAKE_BUILD_TYPE=Debug -G "NMake Makefiles" ../
42 nmake -f Makefile