all_gbench.bat
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:2k
源码类别:

生物技术

开发平台:

C/C++

  1. REM
  2. REM ===========================================================================
  3. REM PRODUCTION $Log: all_gbench.bat,v $
  4. REM PRODUCTION Revision 1000.0  2003/10/28 19:12:45  gouriano
  5. REM PRODUCTION PRODUCTION: IMPORTED [ORIGINAL] Dev-tree R1.6
  6. REM PRODUCTION
  7. REM ===========================================================================
  8. REM
  9. @ECHO OFF
  10. REM $Id: all_gbench.bat,v 1000.0 2003/10/28 19:12:45 gouriano Exp $
  11. REM ===========================================================================
  12. REM 
  13. REM                            PUBLIC DOMAIN NOTICE
  14. REM               National Center for Biotechnology Information
  15. REM 
  16. REM  This software/database is a "United States Government Work" under the
  17. REM  terms of the United States Copyright Act.  It was written as part of
  18. REM  the author's official duties as a United States Government employee and
  19. REM  thus cannot be copyrighted.  This software/database is freely available
  20. REM  to the public for use. The National Library of Medicine and the U.S.
  21. REM  Government have not placed any restriction on its use or reproduction.
  22. REM 
  23. REM  Although all reasonable efforts have been taken to ensure the accuracy
  24. REM  and reliability of the software and data, the NLM and the U.S.
  25. REM  Government do not and cannot warrant the performance or results that
  26. REM  may be obtained by using this software or data. The NLM and the U.S.
  27. REM  Government disclaim all warranties, express or implied, including
  28. REM  warranties of performance, merchantability or fitness for any particular
  29. REM  purpose.
  30. REM 
  31. REM  Please cite the author in any work or product based on this material.
  32. REM  
  33. REM ===========================================================================
  34. REM 
  35. REM Author:  Anton Lavrentiev
  36. REM
  37. REM Build GBENCH application
  38. REM
  39. REM ===========================================================================
  40. IF _%1% == _ GOTO DEFAULT
  41. SET CFG=%1%
  42. GOTO ARGLOOP
  43. :DEFAULT
  44. SET CFG=ALL
  45. :ARGLOOP
  46. IF %CFG% == ALL GOTO CONTINUE
  47. IF %CFG% == DebugDLL GOTO CONTINUE
  48. IF %CFG% == ReleaseDLL GOTO CONTINUE
  49. ECHO INFO: The following configuration names are recognized:
  50. ECHO       DebugDLL ReleaseDLL ALL
  51. ECHO FATAL: Unknown configuration name %CFG%. Please correct.
  52. GOTO EXIT
  53. :CONTINUE
  54. ECHO INFO: Building "all_gbench - %CFG%"
  55. msdev.exe ncbi_gbench.dsw /MAKE "all_gbench - %CFG%"
  56. IF ERRORLEVEL 1 GOTO ABORT
  57. IF %CFG% == ALL GOTO COMPLETE
  58. SHIFT
  59. IF _%1% == _ GOTO COMPLETE
  60. SET CFG=%1%
  61. GOTO ARGLOOP
  62. :ABORT
  63. ECHO INFO: Build failed.
  64. GOTO EXIT
  65. :COMPLETE
  66. ECHO INFO: Build complete.
  67. :EXIT