diff options
| author | Gary Scavone <gary@music.mcgill.ca> | 2013-10-11 14:49:11 +0200 |
|---|---|---|
| committer | Stephen Sinclair <sinclair@music.mcgill.ca> | 2013-10-11 14:49:11 +0200 |
| commit | 5f15183a557fc1d38da0eebd8bef1f860d394a66 (patch) | |
| tree | eac2cfa36ea6582680eb949a51345028df50467e /rtmidi-config.in | |
| parent | 1541e77944f030ef90dbebc6d94d6a4005f3200b (diff) | |
Version 2.0.0
Diffstat (limited to 'rtmidi-config.in')
| -rw-r--r-- | rtmidi-config.in | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/rtmidi-config.in b/rtmidi-config.in new file mode 100644 index 0000000..2422b60 --- /dev/null +++ b/rtmidi-config.in @@ -0,0 +1,19 @@ +#! /bin/sh +if (test "x$#" != "x1") ; then + echo "Usage: $0 [--libs | --cxxflags | --cppflags]" + exit; +fi + +LIBRARY="@LIBS@" +CXXFLAGS="@CXXFLAGS@" +CPPFLAGS="@CPPFLAGS@" + +if (test "x$1" == "x--libs") ; then + echo "$LIBRARY" +elif (test "x$1" == "x--cxxflags") ; then + echo "$CXXFLAGS" +elif (test "x$1" == "x--cppflags") ; then + echo "$CPPFLAGS" +else + echo "Unknown option: $1" +fi |
