@echo off

if NOT "%1"=="-libname" goto notlibname
    echo libdynd.lib
    exit /B 0
:notlibname

if NOT "%1"=="-libpath" goto notlibname
    REM This batch file should be in a ...\bin relative to ...\lib
    pushd %~f0\..\..\lib\static
    echo %CD%\libdynd.lib
    popd
    exit /B 0
:notlibname

if NOT "%1"=="-includedir" goto notincludedir
    REM This batch file should be in a ...\bin relative to ...\include
    pushd %~f0\..\..\include
    echo %CD%
    popd
    exit /B 0
:notincludedir

if NOT "%1"=="-version" goto notversion
    echo v0.6.2
    exit /B 0
:notversion

echo Usage: %0 OPTION
echo Print information for linking libdynd.
echo
echo Options:
echo   -libname     Prints the name of the libdynd library.
echo   -libpath     Prints the full path of the libdynd library.
echo   -includedir  Prints the directory with the libdynd include files.
echo   -version     Prints the version of libdynd.
exit /B 1

