1 Explain the cmake build system for wireshark
7 The CMake build system for Wireshark is not yet ready for
8 building the whole system. You'll still need autofoo to buld it.
9 The only thing that can be build is dumpcap, and even that one
10 requires that you successfully ran autofoo prior to running cmake
11 (e.g. config.h is not yet build, lex and yacc are not run).
12 Basically this is an experiment and if we find out that it works
13 and we like cmake more than autofoo we might switch one day.
18 How to get started with cmake?
21 What needs to be done?
24 How to get started with cmake?
25 ==============================
27 You can find documentation on cmake at: http://www.cmake.org/
29 cmake is designed to support out of tree builds. So much so, that
30 in tree builds do not work properly in all cases.
32 How to do out of tree build (Unix/Linux):
34 2) Build the project with the old build system once (to generate
35 config.h and run bison and flex to generate some c-files).
36 3) Assuming, you are in the top directory of the wireshark source
40 6) cmake ../<Name_of_WS_source_dir>
45 - Can create project files for some MS and Apple IDEs.
47 - Easier to understand/learn
48 - One build infrastructure even including Windows?
54 - Everyone who wants to build from source needs cmake
55 - Current state of documentation isn't really better than
56 autofoo documentation, in some respect it's even worse
57 (you need to buy a book to get an explanation as to how
61 What needs to be done?
62 ======================
64 only dumpcap and libwiretap have been done, and even those rely on
65 autofoo having been run before:
67 - Add proper GTK1/GLIB2/GLIB1 detection (currently links against gtk2
70 - Autocreated source files in wiretap need to be build from .l, .y files.
72 All other tools and libs still need to be built.
76 The home page of the cmake project
79 The home page of the cmake project documentation
80 http://www.cmake.org/Wiki/CMake
82 About cmake in general and why KDE4 uses it
83 http://lwn.net/Articles/188693/
85 Introductory arcticle in Linux Journal
86 http://www.linuxjournal.com/node/6700/print
89 http://www.cmake.org/Wiki/CMake_Useful_Variables
92 http://www.cmake.org/Wiki/CMake_FAQ
94 Additional cmake modules
95 http://code.google.com/p/cmake-modules/