aboutsummaryrefslogtreecommitdiffstats
path: root/README.cmake
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2014-08-15 16:52:40 -0700
committerGerald Combs <gerald@wireshark.org>2014-08-15 23:54:36 +0000
commitbba8edc392a4bdf74194154d28c7e0c337521e8d (patch)
tree7b7aa5a1e9ef6314df8ebe6d721d59255575a55a /README.cmake
parente5c1f7b44da4373bc8dfda252a570b0658013330 (diff)
README.cmake: List more cmake options.
Change-Id: I80b5c82f57c4de55aba9c7ee8044f565c9819d7e Reviewed-on: https://code.wireshark.org/review/3630 Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'README.cmake')
-rw-r--r--README.cmake24
1 files changed, 20 insertions, 4 deletions
diff --git a/README.cmake b/README.cmake
index 004c1fb3fc..34d74dec4d 100644
--- a/README.cmake
+++ b/README.cmake
@@ -30,14 +30,30 @@ How to do out of tree build (Unix/Linux):
cd ..
3) mkdir build
4) cd build
-5) cmake ../<Name_of_WS_source_dir>
+5) cmake [options] ../<Name_of_WS_source_dir>
6) make (or cmake --build .)
7) (as root) umask 0022 && make install
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.
+ In step 5) you may need to override the defaults for features. Common
+ options include:
+
+ # Disable the POSIX capbabilities check
+ -DENABLE_CAP=OFF
+
+ # Enable debugging symbols
+ -DCMAKE_BUILD_TYPE=Debug
+
+ # Disable GTK+ 3
+ -DENABLE_GTK3=OFF
+
+ # Make ccache and clang work together
+ -DCMAKE_C_FLAGS='-Qunused-arguments'
+
+ # Force Python path on Windows. May be needed if Cygwin's
+ # /usr/bin/python is present and is a symlink
+ # http://public.kitware.com/Bug/view.php?id=13818
+ -DPYTHON_EXECUTABLE=c:/Python27/python
Note 2:
After running cmake, you can always run "make help" to see