add_subdirectory( codecs )
add_subdirectory( epan )
add_subdirectory( gtk )
+add_subdirectory( tools/lemon )
add_subdirectory( wiretap )
add_subdirectory( wsutil )
${CMAKE_CURRENT_SOURCE_DIR}/make-version.pl
)
-# Create the necessary tools
-set(lemon_FILES
- tools/lemon/lemon.c
-)
-set(lemon_LIBS
- # Do we need something here on any platform?
-)
-add_executable(lemon ${lemon_FILES})
-target_link_libraries(lemon ${lemon_LIBS})
-# but don't install
-
register_tap_files(tshark-tap-register.c
${TSHARK_TAP_SRC}
)
SET(_out ${CMAKE_CURRENT_BINARY_DIR}/${_basename}.c)
ADD_CUSTOM_COMMAND(
- OUTPUT ${_out}
+ OUTPUT
+ ${_out}
COMMAND lemon
t=${_lemonpardir}/lempar.c
${srcdir}/${_in}
SET(${_sources} ${${_sources}} ${_out} )
ENDFOREACH (_current_FILE)
ENDMACRO(ADD_LEMON_FILES)
-
--- /dev/null
+# CMakeLists.txt
+#
+# $Id: CMakeLists.txt 30460 2009-10-10 05:35:21Z krj $
+#
+# 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.
+#
+
+set(lemon_FILES
+ lemon.c
+)
+
+set(lemon_LIBS
+ # Do we need something here on any platform?
+)
+
+add_executable(lemon ${lemon_FILES})
+
+target_link_libraries(lemon ${lemon_LIBS})