$Id$
- Notice
+ Notice
To find out the current state of the cmake implementaion for
Wireshark, please take a look at "What needs to be done?" below.
4) cd build
5) cmake ../<Name_of_WS_source_dir>
6) make
+6) (as root) umask 0022 && make install
Note 1:
in step 5), you may override the defaults for features:
On OS X, you may want to run cmake like this:
cmake -DENABLE_CAP=OFF -G "Unix Makefiles"
+Note 3:
+ After running cmake, you can always run "make help" to see
+ a list of all possible make targets.
+
+Note 4:
+ Cmake honors user umask for creating directories as of now:
+ http://public.kitware.com/Bug/view.php?id=9620
+ To get predictable results please set umask explicitly.
+
Why cmake?
==========
- Can create project files for some MS and Apple IDEs.
===========
All the executables now build from clean source on:
-* 32bit openSUSE 11.1
+* 32bit openSUSE 11.3: (gnu)make and gcc
+* 64bit FedoraXXX
* 32bit Ubuntu 9.04
+* 32bit Ubuntu 10.04
+* 64bit Debian Wheezy
What needs to be done?
======================
-- Add asn1 autogen target (assigned: krj)
-- Redo glib2 and gtk2 find modules.
- 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
-- Add back -Werror
-- Bug with empty list and PRINT_DISABLED_FEATURES?
-- Add back compiler flags test
+- Guides are not installed.
+- Release notes are not built.
- Build source package (using CPack).
+ This is obsolete if we decide to release VCS snapshots instead
- Build rpm package (using CPack).
- Build dpkg package (using CPack).
+ This is obsolete, we should call CMake from debian/rules instead, using dh
+ (rbalint)
- Add back checkAPI target.
- Test and add support for other platforms (BSDs, OSX,
Solaris, Win32, Win64, ...)
Introductory/tutorial presentation
http://ait.web.psi.ch/services/linux/hpc/hpc_user_cookbook/tools/cmake/docs/Cmake_VM_2007.pdf
-Introductory arcticle in Linux Journal
+Introductory article in Linux Journal
http://www.linuxjournal.com/node/6700/print
Useful variables