cmake completion on ubuntu leverage the cmake build dir itself. If you run cmake once, then try the completion, it will do the trick
$ mkdir build $ cd build $ cmake .. [build dir is populated] $ cmake -D<tab> It works for me in a freshly created build dir. On Fri, Nov 13, 2015 at 11:34 PM, Guy Harris <[email protected]> wrote: > > On Nov 13, 2015, at 12:26 AM, Dario Lombardo <[email protected]> > wrote: > > > A useful feature of cmake that works at least on ubuntu is the tab > completion. So you can run > > > > cmake -DBUILD<tab> > > > > and you get a list of build targets that can be enabled/disabled. > > Not on my Ubuntu 15.10 virtual machine it doesn't - not even if I run it > in the Wireshark source directory. <tab> does nothing. > > $ cmake --version > cmake version 3.2.2 > $ echo $SHELL > /bin/bash > $ bash --version > GNU bash, version 4.3.42(1)-release (x86_64-pc-linux-gnu) > > ___________________________________________________________________________ > Sent via: Wireshark-dev mailing list <[email protected]> > Archives: https://www.wireshark.org/lists/wireshark-dev > Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev > mailto:[email protected] > ?subject=unsubscribe >
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <[email protected]> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:[email protected]?subject=unsubscribe
