URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=deef1dc1ff22183c0b70ea65775c23c404c641bb
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
deef1dc by Peter Wu (peter@xxxxxxxxxxxxx):
cmake: add PIDL dissector generation support
The dissectors list is generated based on regex magic on pidl/Makefile.
A dssetup.cnf file is added because all other protocols already have
this file. The srvsvc and wkssvc protocols cannot be built for some
reason, so just disable it (this mirrors the original Makefile).
Add frsrpc and samr to PIDL_DISSECTOR_SRC list which was missing
compared to autotools.
Tested with an out-of-tree and in-tree build with cmake (make and ninja):
cmake -GNinja && ninja -v pidl-dissectors
touch epan/dissectors/pidl/dfs/dfs.idl && ninja generate_dissector-dcerpc-dfs
cmake . && make -C epan/dissectors/pidl generate_dissector-dcerpc-dfs
Change-Id: Id8bf34e76c20053a8a393024560d90a048473e03
Reviewed-on: https://code.wireshark.org/review/15962
Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
Actions performed:
from c07fd44 DCE/RPC: fix array of pointers with NULL
adds deef1dc cmake: add PIDL dissector generation support
Summary of changes:
.gitignore | 1 +
CMakeOptions.txt | 1 -
epan/dissectors/CMakeLists.txt | 31 +-----
epan/dissectors/pidl/CMakeLists.txt | 169 ++++++++++++++++++++++++++++++
epan/dissectors/pidl/dssetup/dssetup.cnf | 1 +
5 files changed, 172 insertions(+), 31 deletions(-)
create mode 100644 epan/dissectors/pidl/CMakeLists.txt
create mode 100644 epan/dissectors/pidl/dssetup/dssetup.cnf