aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2020-01-16 22:21:37 +0100
committerAnders Broman <a.broman58@gmail.com>2020-01-17 04:49:27 +0000
commit597ca8aa384ab471f44708c4d34bb1bf06831625 (patch)
tree74e7013ae775245f33e82a4bd56057e7fe42c80a /doc
parent16ebca009ad3e708d10a9899af105998cc4cf837 (diff)
DOC: Remove lingering references to autotools
In the README.plugins file there is still mention of autotools related items. This change removes those lingering references. Change-Id: I1fc7c6d478a6fc8bbe9481178d9f673aaebcad9f Reviewed-on: https://code.wireshark.org/review/35843 Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl> Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/README.plugins26
1 files changed, 10 insertions, 16 deletions
diff --git a/doc/README.plugins b/doc/README.plugins
index 6b5ff20a8a..0a754ed639 100644
--- a/doc/README.plugins
+++ b/doc/README.plugins
@@ -60,17 +60,6 @@ your goal. Setting up the permanent addition is somewhat more involved.
3.1 Custom extension
-Go to the plugins directory and copy the Custom.m4.example and
-Custom.make.example files to files of the same name but without the ".example"
-suffix. Now you have two Custom files ready for building a plugin with the
-name "foo". Replace the name if you so require.
-
-If you want to add the plugin to your own Windows installer add a text
-file named custom_plugins.txt to the packaging/nsis directory, with a
-"File" statement for NSIS:
-
-File "${STAGING_DIR}\plugins\${VERSION_MAJOR}.${VERSION_MINOR}\epan\foo.dll"
-
For CMake builds, either pass the custom plugin dir on the CMake generation
step command line:
@@ -86,11 +75,16 @@ and re-run the CMake generation step.
To build the plugin, run your normal Wireshark build step.
+If you want to add the plugin to your own Windows installer add a text
+file named custom_plugins.txt to the packaging/nsis directory, with a
+"File" statement for NSIS:
+
+File "${STAGING_DIR}\plugins\${VERSION_MAJOR}.${VERSION_MINOR}\epan\foo.dll"
+
3.2 Permanent addition
In order to be able to permanently add a plugin take the following steps.
You will need to change the following files:
- configure.ac
CMakeLists.txt
packaging/nsis/wireshark.nsi
@@ -140,12 +134,12 @@ and should not require configuration.
Plugins make some aspects of development easier and some harder.
-The first thing is that you'll have to run autogen.sh and configure once
-more to setup your build environment.
+The first thing is that you'll have to run cmake once more to setup your
+build environment.
The good news is that if you are working on a single plugin then you will
find recompiling the plugin MUCH faster than recompiling a dissector and
-then linking it back into Wireshark. Use "make -C plugins" to compile just
+then linking it back into Wireshark. Use "make plugins" to compile just
your plugins.
The bad news is that Wireshark will not use the plugins unless the plugins
@@ -158,7 +152,7 @@ Another way to deal with this problem is to set up a working root for
wireshark, say in $HOME/build/root and build wireshark to install
there
-./configure --prefix=${HOME}/build/root && make install
+cmake -D CMAKE_INSTALL_PREFIX=${HOME}/build/root && make install
then subsequent rebuilds/installs of your plugin can be accomplished
by going to the plugins/foo directory and running