forked from libdynd/libdynd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
libdynd-config.bat.in
57 lines (49 loc) · 1.46 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
@echo off
if NOT "%1"=="-libnames" goto notlibnames
echo @DYND_LIB_FILE@;@DYNDT_LIB_FILE@
exit /B 0
:notlibnames
if NOT "%1"=="-libdyndname" goto notlibdyndname
echo @DYND_LIB_FILE@
exit /B 0
:notlibdyndname
if NOT "%1"=="-libdyndtname" goto notlibdyndtname
echo @DYNDT_LIB_FILE@
exit /B 0
:notlibdyndtname
if NOT "%1"=="-libdir" goto notlibdir
REM This batch file should be in a ...\bin relative to ...\lib
pushd %~f0\..\..\lib
echo %CD%
popd
exit /B 0
:notlibdir
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"=="-rootdir" goto notrootdir
REM This batch file should be in a ...\bin relative to ...\include
pushd %~f0\..\..
echo %CD%
popd
exit /B 0
:notrootdir
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 -libnames Prints a semicolon separated list of the library names.
echo -libdyndname Prints the name of the dynd library.
echo -libdyndtname Prints the name of the dyndt library.
echo -libdir Prints the full path of the directory containing the libraries.
echo -includedir Prints the directory with the libdynd include files.
echo -version Prints the version of libdynd.
exit /B 1