@rem $Id: cisstvars.bat.in,v 1.7 2007/04/26 19:33:58 anton Exp $ @rem Author(s): Anton Deguet @rem Created on: 2006-05-02 @rem (C) Copyright 2006-2007 Johns Hopkins University (JHU), All @rem Rights Reserved. @rem Always edit the source file: cisstvars.bat.in @rem Do not edit the generated file: cisstvars.bat @rem --- begin cisst license - do not edit --- @rem @rem This software is provided "as is" under an open source license, with @rem no warranty. The complete license can be found in license.txt and @rem http://www.cisst.org/cisst/license.txt. @rem @rem --- end cisst license --- @set CISST_DIR=${cisst_BINARY_DIR} @set CMAKE_GENERATOR=${CMAKE_GENERATOR} @set BUILD_TESTS=${BUILD_TESTS} @set BUILD_EXAMPLES=${BUILD_EXAMPLES} @if "%CMAKE_GENERATOR%" == "NMake Makefiles" goto nmake @goto visual :visual @if (%1) == () goto usage @set CISST_INTDIR=%1 @goto setpath :nmake @set CISST_INTDIR= @goto setpath :setpath @echo Setting environment variables for the cisst package @set CISST_PATH=%CISST_DIR%/bin/%CISST_INTDIR%;%CISST_DIR%/libs/lib/%CISST_INTDIR% @set CISST_PYTHONPATH=%CISST_DIR%/libs/lib;%CISST_DIR%/libs/lib/%CISST_INTDIR% @if "%BUILD_TESTS%" == "ON" set CISST_PATH=%CISST_DIR%/tests/bin/%CISST_INTDIR%;%CISST_DIR%/tests/lib/%CISST_INTDIR%;%CISST_PATH% @if "%BUILD_TESTS%" == "ON" set CISST_PYTHONPATH=%CISST_DIR%/tests/lib/%CISST_INTDIR%;%CISST_DIR%/tests/lib;%CISST_PYTHONPATH% @if "%BUILD_EXAMPLES%" == "ON" set CISST_PATH=%CISST_DIR%/examples/bin/%CISST_INTDIR%;%CISST_DIR%/examples/lib/%CISST_INTDIR%;%CISST_PATH% @if "%BUILD_EXAMPLES%" == "ON" set CISST_PYTHONPATH=%CISST_DIR%/examples/lib/%CISST_INTDIR%;%CISST_DIR%/examples/lib;%CISST_PYTHONPATH% @set PATH=%CISST_PATH%;%PATH% @set PYTHONPATH=%CISST_PYTHONPATH%;%PYTHONPATH% @goto end :usage @echo "Usage: %0 {Debug|Release}" @goto end :end @rem $Log: cisstvars.bat.in,v $ @rem Revision 1.7 2007/04/26 19:33:58 anton @rem All files in libraries: Applied new license text, separate copyright and @rem updated dates, added standard header where missing. @rem @rem Revision 1.6 2006/11/30 21:43:42 anton @rem cisstvars.bat.in: Replace intdir from "." to nothing for nmake. @rem @rem Revision 1.5 2006/11/29 21:09:55 pkaz @rem cisstvars.bat.in: changed to set CISST_PATH and CISST_PYTHONPATH. @rem @rem Revision 1.4 2006/11/20 20:33:20 anton @rem Licensing: Applied new license to cisstCommon, cisstVector, cisstNumerical, @rem cisstInteractive, cisstImage and cisstOSAbstraction. @rem @rem Revision 1.3 2006/07/24 22:56:56 anton @rem CMake configuration: Moved compiled libraries to libs/lib for consistency @rem (see #215 and #231) @rem @rem Revision 1.2 2006/05/02 19:18:49 anton @rem Build tools: Added license to scripts for env. variables. @rem @rem Revision 1.1 2006/05/02 19:08:12 anton @rem Build tools: Added scripts to set environement variables. @rem