2
REM $Id: all_ncbi.bat,v 1.4 2004/03/11 16:48:32 ivanov Exp $
3
REM ===========================================================================
5
REM PUBLIC DOMAIN NOTICE
6
REM National Center for Biotechnology Information
8
REM This software/database is a "United States Government Work" under the
9
REM terms of the United States Copyright Act. It was written as part of
10
REM the author's official duties as a United States Government employee and
11
REM thus cannot be copyrighted. This software/database is freely available
12
REM to the public for use. The National Library of Medicine and the U.S.
13
REM Government have not placed any restriction on its use or reproduction.
15
REM Although all reasonable efforts have been taken to ensure the accuracy
16
REM and reliability of the software and data, the NLM and the U.S.
17
REM Government do not and cannot warrant the performance or results that
18
REM may be obtained by using this software or data. The NLM and the U.S.
19
REM Government disclaim all warranties, express or implied, including
20
REM warranties of performance, merchantability or fitness for any particular
23
REM Please cite the author in any work or product based on this material.
25
REM ===========================================================================
27
REM Author: Anton Lavrentiev
29
REM Build NCBI C Toolkit under Windows
31
REM ---------------------------------------------------------------------------
32
REM $Log: all_ncbi.bat,v $
33
REM Revision 1.4 2004/03/11 16:48:32 ivanov
36
REM Revision 1.3 2004/03/09 19:33:56 ivanov
37
REM Enable @ECHO for script debug purposes
39
REM Revision 1.2 2002/09/03 16:18:11 lavr
42
REM Revision 1.1 2002/08/31 23:38:20 lavr
43
REM Initial revision: copied from all.bat and slightly tweaked
45
REM ===========================================================================
47
IF _%1% == _ GOTO DEFAULT
54
IF %CFG% == ALL GOTO CONTINUE
55
IF %CFG% == Debug GOTO CONTINUE
56
IF %CFG% == DebugMT GOTO CONTINUE
57
IF %CFG% == DebugDLL GOTO CONTINUE
58
IF %CFG% == Release GOTO CONTINUE
59
IF %CFG% == ReleaseMT GOTO CONTINUE
60
IF %CFG% == ReleaseDLL GOTO CONTINUE
61
ECHO INFO: The following configuration names are recognized:
62
ECHO Debug DebugMT DebugDLL Release ReleaseMT ReleaseDLL ALL
63
ECHO FATAL: Unknown configuration name %CFG%. Please correct.
67
ECHO INFO: Building "all_ncbi - %CFG%"
68
msdev.exe ./ncbi.dsw /MAKE "all_ncbi - %CFG%"
69
IF ERRORLEVEL 1 GOTO ABORT
71
IF %CFG% == ALL GOTO COMPLETE
73
IF _%1% == _ GOTO COMPLETE
78
ECHO INFO: Build failed.
81
ECHO INFO: Build complete.