X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=win-build.bat;h=a36ebbb59c311fbd2fa31b094a75b11092f453a0;hb=2fc957b5c506b671bb762525af2b5ea6b964ff07;hp=7c6f88283a33af039ed16caf0fd5dba5a296dd8a;hpb=df68651046d357c55a1202042e52aa44ecfa2d41;p=gssweb.git diff --git a/win-build.bat b/win-build.bat index 7c6f882..a36ebbb 100644 --- a/win-build.bat +++ b/win-build.bat @@ -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 /x86 /Debug +call c:\firefox-addon-sdk\bin\activate.bat cmake -DCMAKE_BUILD_TYPE=Debug -G "NMake Makefiles" ../ nmake -f Makefile