diff options
author | Peter Wu <peter@lekensteyn.nl> | 2016-06-16 14:58:19 -0700 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2016-06-19 02:28:53 +0000 |
commit | deef1dc1ff22183c0b70ea65775c23c404c641bb (patch) | |
tree | 47890c3d1f441c0c7d1c38ed42dee093bf5abfa9 /CMakeOptions.txt | |
parent | c07fd447c362099b04eedb445e8fa469643403f7 (diff) |
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@lekensteyn.nl>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'CMakeOptions.txt')
-rw-r--r-- | CMakeOptions.txt | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/CMakeOptions.txt b/CMakeOptions.txt index d4ed10933e..1f73fe7b45 100644 --- a/CMakeOptions.txt +++ b/CMakeOptions.txt @@ -19,7 +19,6 @@ option(BUILD_sshdump "Build sshdump" ON) option(BUILD_ciscodump "Build ciscodump" ON) option(BUILD_randpktdump "Build randpktdump" ON) option(AUTOGEN_dcerpc "Autogenerate DCE RPC dissectors" OFF) -option(AUTOGEN_pidl "Autogenerate pidl dissectors" OFF) option(DISABLE_WERROR "Do not treat warnings as errors" OFF) option(EXTCAP_ANDROIDDUMP_LIBPCAP "Build androiddump using libpcap" OFF) |