${CMAKE_SOURCE_DIR}/tools/process-x11-xcb.pl
)
+if (AUTOGEN_dcerpc)
+ set(PIDL_DISSECTOR_AUTOGEN_SRC
+ dcerpc/budb/packet-dcerpc-budb.c
+ dcerpc/butc/packet-dcerpc-butc.c
+ dcerpc/drsuapi/packet-dcerpc-drsuapi.c
+ )
+ set_source_files_properties(${PIDL_DISSECTOR_AUTOGEN_SRC}
+ PROPERTIES
+ GENERATED TRUE
+ )
+else()
+ set(PIDL_DISSECTOR_AUTOGEN_SRC
+ packet-dcerpc-budb.c
+ packet-dcerpc-butc.c
+ packet-dcerpc-drsuapi.c
+ )
+endif()
+
set(PIDL_DISSECTOR_SRC
packet-dcerpc-atsvc.c
- packet-dcerpc-budb.c
- packet-dcerpc-butc.c
packet-dcerpc-dfs.c
- packet-dcerpc-drsuapi.c
packet-dcerpc-dssetup.c
packet-dcerpc-efs.c
packet-dcerpc-initshutdown.c
set(DISSECTOR_FILES
${DISSECTOR_SRC}
${PIDL_DISSECTOR_SRC}
+ ${PIDL_DISSECTOR_AUTOGEN_SRC}
${DIRTY_PIDL_DISSECTOR_SRC}
${ASN1_DISSECTOR_SRC}
${DIRTY_ASN1_DISSECTOR_SRC}
set_source_files_properties(
${DISSECTOR_SRC}
${PIDL_DISSECTOR_SRC}
+ ${PIDL_DISSECTOR_AUTOGEN_SRC}
${ASN1_DISSECTOR_SRC}
PROPERTIES
# FIXME: -Werror and -pedantic exclude each other: test for -pedantic
--- /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
+set( PROTOCOL_NAME budb )\r
+\r
+ADD_CUSTOM_COMMAND(\r
+ OUTPUT\r
+ packet-dcerpc-${PROTOCOL_NAME}.c\r
+ packet-dcerpc-${PROTOCOL_NAME}.h\r
+ COMMAND\r
+ idl2wrs ${PROTOCOL_NAME}\r
+ DEPENDS\r
+ ${PROTOCOL_NAME}.idl\r
+ ${PROTOCOL_NAME}.cnf\r
+ packet-dcerpc-${PROTOCOL_NAME}-template.c \r
+ packet-dcerpc-${PROTOCOL_NAME}-template.h\r
+)\r