$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:
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.
* 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 find modules. Add version detection while at it.
-- Change default for PCRE to off and use GLIB2 regexes by default.
- This requires the redone glib2 detection module.
- 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
+- 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