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)
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}
--- /dev/null
+# CMakeLists.txt\r
+#\r
+# $Id$\r
+#\r
+# Wireshark - Network traffic analyzer\r
+# By Gerald Combs <gerald@wireshark.org>\r
+# Copyright 1998 Gerald Combs\r
+#\r
+# This program is free software; you can redistribute it and/or\r
+# modify it under the terms of the GNU General Public License\r
+# as published by the Free Software Foundation; either version 2\r
+# of the License, or (at your option) any later version.\r
+#\r
+# This program is distributed in the hope that it will be useful,\r
+# but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r
+# GNU General Public License for more details.\r
+#\r
+# You should have received a copy of the GNU General Public License\r
+# along with this program; if not, write to the Free Software\r
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\r
+#\r
+\r
+add_subdirectory( budb )\r
+add_subdirectory( butc )\r
+add_subdirectory( drsuapi )\r
+\r
+add_executable(idl2wrs idl2wrs.c)\r