diff options
author | Graham Bloice <graham.bloice@trihedral.com> | 2016-02-24 17:20:42 +0000 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2016-02-25 04:28:51 +0000 |
commit | 4fec250ed953192b3de697f6fb6b773d03e1a0c5 (patch) | |
tree | 71049e12240f1bccd9cebf08f5395bb83eaa4333 /doc | |
parent | 06550a84a8e681531dd71739ff40336beddebfb5 (diff) |
Update README.plugins
Update docs to include steps for CMake builds.
Change-Id: Iefbe038ab93311bb3b2e9fd21bcdc674290dba45
Reviewed-on: https://code.wireshark.org/review/14121
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/README.plugins | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/README.plugins b/doc/README.plugins index bd7e3d3b34..ca4a1d2281 100644 --- a/doc/README.plugins +++ b/doc/README.plugins @@ -104,6 +104,21 @@ DLL to CUSTOM_PLUGINS: CUSTOM_PLUGINS= \ ../../plugins/foo/foo.dll +For CMake builds, either pass the custom plugin dir on the CMake generation +step command line: + +CMake ... -DCUSTOM_PLUGIN_SRC_DIR="plugins/foo" + +or copy the top-level file CMakeListsCustom.txt.example to CMakeListsCustom.txt +(also in the top-level source dir) and edit so that CUSTOM_PLUGIN_SRC_DIR is +set() to the releative path of your plugin, e.g. + +set(CUSTOM_PLUGIN_SRC_DIR plugins/foo) + +and re-run the CMake generation step. + +To build the plugin run your normal Wireshark build step. + 3.2 Permanent addition In order to be able to permanently add a plugin take the following steps. |