Use val_to_str_const().
[obnox/wireshark/wip.git] / README.cmake
index fed248fd6bbfada6cd197027bcdce9ae6e32f9d5..e6acb46469a13f3f77171757c349012537b85247 100644 (file)
@@ -35,6 +35,19 @@ How to do out of tree build (Unix/Linux):
 5) cmake ../<Name_of_WS_source_dir>
 6) make
 
+Note 1:
+in step 5), you may override the defaults for features:
+ cmake -DENABLE_CAP=OFF ../<Name_of_WS_source_dir>
+ will disable the capabilities check.
+
+Note 2:
+ 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.
+
 Why cmake?
 ==========
 - Can create project files for some MS and Apple IDEs.
@@ -58,26 +71,28 @@ Why not cmake?
 What works?
 ===========
 
-All the executables now build on my system (32bit openSUSE 11.1) from
-clean source.
+All the executables now build from clean source on:
+* 32bit openSUSE 11.3: (gnu)make and gcc
+* 64bit FedoraXXX
+* 32bit Ubuntu 9.04
+* 32bit Ubuntu 10.04
 
 What needs to be done?
 ======================
 
-- Add back -Werror flags.
-- Redo glib2 and gtk2 find modules.
+- Add asn1 autogen target (assigned: krj)
 - 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).
 - Add back checkAPI target.
 - Test and add support for other platforms (BSDs, OSX,
   Solaris, Win32, Win64, ...)
 ...
-Couldn't load module /opt/test/lib/wireshark/plugins/1.3.0/libasn1.so: /opt/test/lib/wireshark/plugins/1.3.0/libasn1.so: undefined symbol: asn1_bool_decode
-Couldn't load module /opt/test/lib/wireshark/plugins/1.3.0/libmate.so: /opt/test/lib/wireshark/plugins/1.3.0/libmate.so: undefined symbol: mate_load_config
 
 Links regarding cmake
 =====================
@@ -93,7 +108,7 @@ About cmake in general and why KDE4 uses it
 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