1 Explain the cmake build system for wireshark
7 To find out the current state of the cmake implementaion for
8 Wireshark, please take a look at "What needs to be done?" below.
9 Basically this is an experiment and if we find out that it works
10 and we like cmake more than autofoo we might switch one day.
15 How to get started with cmake?
18 What needs to be done?
21 How to get started with cmake?
22 ==============================
24 You can find documentation on cmake at: http://www.cmake.org/
26 cmake is designed to support out of tree builds. So much so, that
27 in tree builds do not work properly in all cases.
29 How to do out of tree build (Unix/Linux):
31 2) Assuming, you are in the top directory of the wireshark source
35 5) cmake ../<Name_of_WS_source_dir>
39 in step 5), you may override the defaults for features:
40 cmake -DENABLE_CAP=OFF ../<Name_of_WS_source_dir>
41 will disable the capabilities check.
44 On OS X, you may want to run cmake like this:
45 cmake -DENABLE_CAP=OFF -G "Unix Makefiles"
49 - Can create project files for some MS and Apple IDEs.
51 - Easier to understand/learn
52 - Doesn't create any files in the source tree in case
54 - One build infrastructure even including Windows
60 - Everyone who wants to build from source needs cmake
61 - Current state of documentation isn't really better than
62 autofoo documentation, in some respect it's even worse
63 (you need to buy a book to get an explanation as to how
70 All the executables now build from clean source on:
74 What needs to be done?
75 ======================
77 - Add asn1 autogen target (assigned: krj)
78 - Redo glib2 and gtk2 find modules.
79 - Add back platform specific objects.
80 - Fix places in the cmake files marked as todo.
81 - Add back (working) install target.
82 Currently, directories are created with user umask
83 - Add back linker flags test
84 - Build source package (using CPack).
85 - Build rpm package (using CPack).
86 - Build dpkg package (using CPack).
87 - Add back checkAPI target.
88 - Test and add support for other platforms (BSDs, OSX,
89 Solaris, Win32, Win64, ...)
94 The home page of the cmake project
97 The home page of the cmake project documentation
98 http://www.cmake.org/Wiki/CMake
100 About cmake in general and why KDE4 uses it
101 http://lwn.net/Articles/188693/
103 Introductory/tutorial presentation
104 http://ait.web.psi.ch/services/linux/hpc/hpc_user_cookbook/tools/cmake/docs/Cmake_VM_2007.pdf
106 Introductory arcticle in Linux Journal
107 http://www.linuxjournal.com/node/6700/print
110 http://www.cmake.org/Wiki/CMake_Useful_Variables
113 http://www.cmake.org/Wiki/CMake_FAQ
115 Additional cmake modules
116 http://code.google.com/p/cmake-modules/