-
Notifications
You must be signed in to change notification settings - Fork 1
/
libdynd-config.bat.in
38 lines (32 loc) · 976 Bytes
/
libdynd-config.bat.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
@echo off
if NOT "%1"=="-libname" goto notlibname
echo @DYND_LIB_FILE@
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@LIB_SUFFIX@@DYND_STATIC_LIB_DIR@
echo %CD%\@DYND_LIB_FILE@
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 @DYND_VERSION_STRING@
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