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