NCBI C++ Toolkit Cross Reference

C++/compilers/msvc800_prj/build_exec.bat


  1 @ECHO OFF
  2 REM $Id: build_exec.bat 103491 2007-05-04 17:18:18Z kazimird $
  3 REM ===========================================================================
  4 REM 
  5 REM                            PUBLIC DOMAIN NOTICE
  6 REM               National Center for Biotechnology Information
  7 REM 
  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.
 14 REM 
 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
 21 REM  purpose.
 22 REM 
 23 REM  Please cite the author in any work or product based on this material.
 24 REM  
 25 REM ===========================================================================
 26 REM 
 27 REM Author:  Vladimir Ivanov
 28 REM
 29 REM Auxiliary script for build.sh to run C++ build for specified project
 30 REM and configuration. Cygwin cannot run devenv directly inside shell-script.
 31 REM
 32 REM ===========================================================================
 33 
 34 call msvcvars.bat
 35 
 36 if _%1% == _  goto be_abort
 37 goto be_build
 38 
 39 :be_abort
 40 rem You should specify logfile or you will not see an output
 41 echo Usage: "%0 <solution> <command> <arch> <cfg> <target> <logfile>"
 42 exit 1
 43 
 44 :be_build
 45 set arch=Win32
 46 if _%3_ == _64_ set arch=x64
 47 
 48 rem Next command should be executed last! No other code after it, please.
 49 
 50 %DEVENV% %1 /%2 "%4|%arch%" /project "%5" /out "%6"

source navigation ]   [ diff markup ]   [ identifier search ]   [ freetext search ]   [ file search ]  

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.