cmake stuff:

- Fix fallout from gtk/text_import_scanner.l patch: Wireshark will
  build with cmake again.
- Update README.cmake a bit
- Running "cmake -DUI_MANAGER=ON" will give you the new ui-manager.



git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34885 f5534014-38df-0310-8fa8-9805f1628bb7
This commit is contained in:
jmayer 2010-11-15 20:25:28 +00:00
parent 866a96d224
commit 6acf01801a
3 changed files with 14 additions and 3 deletions

View File

@ -81,11 +81,11 @@ What needs to be done?
======================
- Add asn1 autogen target (assigned: krj)
- Redo glib2 find modules. Add version detection while at it.
- Add back platform specific objects.
- Fix places in the cmake files marked as todo.
- Add back (working) install target.
Currently, directories are created with user umask
Currently, directories are created with user umask.
Also the guides are not installed.
- Build source package (using CPack).
- Build rpm package (using CPack).
- Build dpkg package (using CPack).

View File

@ -43,6 +43,7 @@ MACRO(ADD_LEX_FILES _sources )
DEPENDS ${_in}
)
SET(${_sources} ${${_sources}} ${_outc} )
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
ENDFOREACH (_current_FILE)
ENDMACRO(ADD_LEX_FILES)

View File

@ -71,7 +71,6 @@ set(WIRESHARK_GTK_SRC
main.c
main_airpcap_toolbar.c
main_filter_toolbar.c
menus.c
main_packet_list.c
main_proto_draw.c
main_statusbar.c
@ -79,6 +78,7 @@ set(WIRESHARK_GTK_SRC
main_welcome.c
manual_addr_resolv.c
mcast_stream.c
menus.c
new_packet_list.c
packet_history.c
packet_list_store.c
@ -218,6 +218,16 @@ if (WERROR)
)
endif()
add_lex_files(WIRESHARK_GTK_SRC
text_import_scanner.l
)
if (UI_MANAGER)
add_definitions(
-DMAIN_MENU_USE_UIMANAGER=1
)
endif()
register_tap_files(wireshark-tap-register.c
${WIRESHARK_TAP_SRC}
)