Compile and link idl2wrs

svn path=/trunk/; revision=30460
This commit is contained in:
Kovarththanan Rajaratnam 2009-10-10 05:35:21 +00:00
parent 900882f947
commit 142131917c
3 changed files with 38 additions and 0 deletions

View File

@ -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)

View File

@ -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}

View File

@ -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)