aboutsummaryrefslogtreecommitdiffstats
path: root/asn1
diff options
context:
space:
mode:
authorAndersBroman <anders.broman@ericsson.com>2015-11-27 16:25:23 +0100
committerAnders Broman <a.broman58@gmail.com>2015-11-28 07:39:19 +0000
commitbc4954fd07d38b974474ce63aab6f3c9f799b467 (patch)
tree3efaa0c67a362a2990ac2eeb4b8199ce6e02ae53 /asn1
parent7c8314a68340a331c43f3232f6158a9c3afff641 (diff)
[ASN1 custom dissectors]Add the abillity to build custom ASN1 based
dissectors. Change-Id: Icb8b68672e0fd9c636dc02fe3ca46eb9a1e51420 Reviewed-on: https://code.wireshark.org/review/12223 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'asn1')
-rw-r--r--asn1/CMakeLists.txt2
-rw-r--r--asn1/CMakeListsCustom.example.txt26
2 files changed, 28 insertions, 0 deletions
diff --git a/asn1/CMakeLists.txt b/asn1/CMakeLists.txt
index 15fcbf4e49..4c665feaaa 100644
--- a/asn1/CMakeLists.txt
+++ b/asn1/CMakeLists.txt
@@ -19,6 +19,7 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
+ADD_CUSTOM_CMAKE_INCLUDE()
set(ASN1_SRC_DIRS
HI2Operations
@@ -123,6 +124,7 @@ set(ASN1_SRC_DIRS
x509ce
x509if
x509sat
+ ${CUSTOM_ASN1_SRC_DIR}
)
set( BROKEN_ASN1_SRC_DIRS
diff --git a/asn1/CMakeListsCustom.example.txt b/asn1/CMakeListsCustom.example.txt
new file mode 100644
index 0000000000..4af019f645
--- /dev/null
+++ b/asn1/CMakeListsCustom.example.txt
@@ -0,0 +1,26 @@
+# CMakeListsCustom.example.txt
+#
+# Wireshark - Network traffic analyzer
+# By Gerald Combs <gerald@wireshark.org>
+# Copyright 1998 Gerald Combs
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Add a list of your custom asn1 dissectors here
+#
+
+set(CUSTOM_ASN1_SRC_DIR
+ foo
+)