uhd/tools/dissectors
Martin Braun a69ab0c23a cmake: Update coding style to use lowercase commands
Also updates our coding style file.

Ancient CMake versions required upper-case commands.  Later command
names became case-insensitive.  Now the preferred style is lower-case.

Run the following shell code (with GNU compliant sed):

cmake --help-command-list | grep -v "cmake version" | while read c; do
  echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g'
done > convert.sed \
&& git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' \
'*CMakeLists.txt' | xargs -0 gsed -i -f convert.sed && rm convert.sed

(Make sure the backslashes don't get mangled!)
2018-11-14 14:10:09 -08:00
..
cmake/Modules cmake: Update coding style to use lowercase commands 2018-11-14 14:10:09 -08:00
.gitignore Combined dissectors and added Wireshark 2 support 2016-08-24 12:46:36 -07:00
CMakeLists.txt Combined dissectors and added Wireshark 2 support 2016-08-24 12:46:36 -07:00
make-dissector-reg.py tools: Make dissector code generation script Python 3 compatible 2017-05-30 09:44:00 -07:00
moduleinfo.h.in Combined dissectors and added Wireshark 2 support 2016-08-24 12:46:36 -07:00
packet-chdr.c Device3: Change packet-based flow control to byte-based flow control 2018-07-25 15:34:03 -07:00
packet-octoclock.c Combined dissectors and added Wireshark 2 support 2016-08-24 12:46:36 -07:00
packet-zpu.c Combined dissectors and added Wireshark 2 support 2016-08-24 12:46:36 -07:00
plugin.rc.in Combined dissectors and added Wireshark 2 support 2016-08-24 12:46:36 -07:00
README.txt tools: Added README for the dissectors 2016-08-30 10:23:06 -07:00
zpu_addr_names.h Combined dissectors and added Wireshark 2 support 2016-08-24 12:46:36 -07:00

# Installing the Ettus Wireshark dissectors


1. Make sure you have the Wireshark 'dev' files available. On some
   distributions, this requires a separate package (e.g. on Ubuntu,
   you will need to install the wireshark-dev package)
2. Run these commands inside this directory:

    $ mkdir build
    $ cd build
    $ cmake ..
    $ make && make install

   This will build and install the CHDR dissector.

3. To build and install the other dissectors, re-run the commands
   like so:

    $ cmake .. -DETTUS_DISSECTOR_NAME=zpu
    $ make && make install

   Replace "zpu" with the name of the dissector you wish to install
   (e.g. "octoclock").