github.com/kaydxh/golang@v0.0.131/pkg/gocv/cgo/third_path/graphics-magick/bin/GraphicsMagick++-config (about) 1 #!/bin/sh 2 # 3 # Configure options script for re-calling compilation 4 # options required to use the Magick++ library. 5 # 6 # Concept derived from gtk-config in the Gtk package except that Autoconf-style 7 # configuration information is presented instead so that it may be used more 8 # effictively in configure scripts. 9 # 10 usage='Usage: GraphicsMagick++-config [--cppflags] [--cxxflags] [--exec-prefix] [--ldflags] [--libs] [--prefix] [--version] 11 12 For example, "example.cpp" may be compiled to produce "example" as follows: 13 14 "c++ -o example example.cpp `GraphicsMagick++-config --cppflags --cxxflags --ldflags --libs`"' 15 16 if test $# -eq 0; then 17 echo "${usage}" 1>&2 18 exit 1 19 fi 20 21 while test $# -gt 0; do 22 case $1 in 23 --prefix) 24 echo /root/pinwoodxu/GraphicsMagick-source/release 25 ;; 26 --exec-prefix) 27 echo /root/pinwoodxu/GraphicsMagick-source/release 28 ;; 29 --version) 30 echo 1.3.35 31 ;; 32 --cppflags) 33 echo '-I/root/pinwoodxu/GraphicsMagick-source/release/include/GraphicsMagick' 34 ;; 35 --cxxflags) 36 echo '-pthread' 37 ;; 38 --ldflags) 39 echo '-L/root/pinwoodxu/GraphicsMagick-source/release/lib ' 40 ;; 41 --libs) 42 echo '-lGraphicsMagick++ -lGraphicsMagick -lwebp -lwebpmux -ltiff -ljpeg -lpng15 -lbz2 -lz -lm -lpthread -lgomp' 43 ;; 44 *) 45 echo "${usage}" 1>&2 46 exit 1 47 ;; 48 esac 49 shift 50 done 51