[cmake-developers] bash-completion: filtering out version line more robustly

Brad King brad.king at kitware.com
Wed Sep 25 11:43:19 EDT 2013


Eike, Eric, Igor,

Please take a look and try out this change to bash-completion:

 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c5ee80b6

As explained in the commit message I'd like it to be robust to
the "cmake version" line being removed from the beginning later.

One can test it with the version dropped by editing the
cmDocumentation::PrintDocumentation method to drop the
conditional block that calls PrintVersion:

 http://cmake.org/gitweb?p=cmake.git;a=blob;f=Source/cmDocumentation.cxx;hb=v2.8.11.2#l310

I'd like to get a version of bash-completion out there for a
while before actually dropping the version number line since
people may not always use matching versions.

Thanks,
-Brad



More information about the cmake-developers mailing list