是否有任何命令行检查 SWIG 的版本?
答案1
我得到:
$ swig -version
SWIG Version 1.3.40
Compiled with g++ [i686-pc-linux-gnu]
Please see http://www.swig.org for reporting bugs and further information
您还有别的意思吗?
$ swig -version | perl -nae 'print "$F[2]\n" if /SWIG Version/i;'
1.3.40