diff options
author | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-10-10 05:35:21 +0000 |
---|---|---|
committer | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-10-10 05:35:21 +0000 |
commit | 142131917c85e823d28a707e0f86e2f945f86769 (patch) | |
tree | ac7f07f01825a07464ac9f2ae002d38223f4d66f | |
parent | 900882f947f3834e292ba71f3ee709fd299572ec (diff) |
Compile and link idl2wrs
svn path=/trunk/; revision=30460
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | epan/dissectors/CMakeLists.txt | 8 | ||||
-rw-r--r-- | epan/dissectors/dcerpc/CMakeLists.txt | 28 |
3 files changed, 38 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e4905844a9..2800f20c1e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -65,6 +65,8 @@ option(BUILD_editcap "Build editcap" ON) option(BUILD_capinfos "Build capinfos" ON) option(BUILD_randpkt "Build randpkt" ON) option(BUILD_dftest "Build dftest" ON) +option(AUTOGEN_dcerpc "Autogenerate dcerpc dissectors" OFF) +option(AUTOGEN_pidl "Autogenerate pidl dissectors" OFF) option(DISABLE_WERROR "Do not treat Warnings as errors" OFF) option(ENABLE_EXTRA_GCC_CHECKS "Do additional -W checks in GCC (disables -Werror)" ON) diff --git a/epan/dissectors/CMakeLists.txt b/epan/dissectors/CMakeLists.txt index efc08b400b..0e654a1be6 100644 --- a/epan/dissectors/CMakeLists.txt +++ b/epan/dissectors/CMakeLists.txt @@ -23,6 +23,14 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}) +if (AUTOGEN_dcerpc) + add_subdirectory( dcerpc ) +endif() + +if (AUTOGEN_pidl) + add_subdirectory( pidl ) +endif() + ADD_CUSTOM_COMMAND( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/packet-ncp2222.c COMMAND ${PYTHON_EXECUTABLE} diff --git a/epan/dissectors/dcerpc/CMakeLists.txt b/epan/dissectors/dcerpc/CMakeLists.txt new file mode 100644 index 0000000000..3e71ea9f0b --- /dev/null +++ b/epan/dissectors/dcerpc/CMakeLists.txt @@ -0,0 +1,28 @@ +# CMakeLists.txt
+#
+# $Id$
+#
+# 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#
+
+add_subdirectory( budb )
+add_subdirectory( butc )
+add_subdirectory( drsuapi )
+
+add_executable(idl2wrs idl2wrs.c)
|