aboutsummaryrefslogtreecommitdiffstats
path: root/docbook/wsdg_src
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2018-03-15 17:19:06 -0700
committerAnders Broman <a.broman58@gmail.com>2018-03-16 06:08:53 +0000
commit45a50ef41e0fe5ce2bc6bfa8fa4bc0bc3c2ad589 (patch)
tree73fdc39c979cdcf4c141f1c7d105a0146ac154f5 /docbook/wsdg_src
parent1690e6e75a6129de84b8627e4b5d86a09fa1ffc6 (diff)
Update some documentation to prefer CMake.
Change-Id: I8140edaee152ce1e9978d8df8a0f0e3dd077322e Reviewed-on: https://code.wireshark.org/review/26490 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'docbook/wsdg_src')
-rw-r--r--docbook/wsdg_src/WSDG_chapter_tools.asciidoc82
1 files changed, 42 insertions, 40 deletions
diff --git a/docbook/wsdg_src/WSDG_chapter_tools.asciidoc b/docbook/wsdg_src/WSDG_chapter_tools.asciidoc
index ed7705ad03..f8e1891d4b 100644
--- a/docbook/wsdg_src/WSDG_chapter_tools.asciidoc
+++ b/docbook/wsdg_src/WSDG_chapter_tools.asciidoc
@@ -161,48 +161,17 @@ One or more Cygwin packages can be installed using `cyg-get`:
PS$>cyg-get sed asciidoc
----
-[[ChToolsGNUChain]]
-
-=== GNU compiler toolchain (UNIX only)
-
-[[ChToolsGCC]]
-
-==== gcc (GNU compiler collection)
-
-The GCC C compiler is available for most of the
-UNIX-like platforms.
-
-If GCC isn't already installed or available
-as a package for your platform, you can get it at:
-http://gcc.gnu.org/[].
-
-After correct installation, typing at the
-bash command line prompt:
-
-----
-$ gcc --version
-----
-
-should result in something like
-
-----
-gcc (Ubuntu 4.9.1-16ubuntu6) 4.9.1
-Copyright (C) 2014 Free Software Foundation, Inc.
-This is free software; see the source for copying conditions. There is NO
-warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-----
-
-Your version string may vary, of course.
-
[[ChToolsCMake]]
-Wireshark’s build environment can be configured using CMake on Windows
-and either CMake or Autotools on Linux, macOS, and UNIX. CMake is designed
-to support out of tree builds. So much so, that in tree builds do not work
-properly in all cases. Along with being cross-platform, CMake supports
-many build tools and environments including traditional make, Ninja, and
-MSBuild. Our Buildbot runs CMake steps on Ubuntu, Win32, Win64, and macOS.
-In particular, the macOS and Windows packages are built using CMake.
+=== CMake
+
+Wireshark’s build environment can be configured using CMake on Windows,
+Linux, macOS, and UNIX. CMake is designed to support out of tree builds.
+So much so, that in tree builds do not work properly in all cases. Along
+with being cross-platform, CMake supports many build tools and
+environments including traditional make, Ninja, and MSBuild. Our
+Buildbot runs CMake steps on Ubuntu, Win32, Win64, and macOS. In
+particular, the macOS and Windows packages are built using CMake.
Building with CMake typically includes creating a build directory and
specifying a *generator*, aka a build tool. For example, to build
@@ -267,6 +236,39 @@ Frequently Asked Questions: http://www.cmake.org/Wiki/CMake_FAQ
// 2017-08-04 dead
//Additional cmake modules: http://code.google.com/p/cmake-modules/
+[[ChToolsGNUChain]]
+
+=== GNU compiler toolchain (UNIX only)
+
+[[ChToolsGCC]]
+
+==== gcc (GNU compiler collection)
+
+The GCC C compiler is available for most of the
+UNIX-like platforms.
+
+If GCC isn't already installed or available
+as a package for your platform, you can get it at:
+http://gcc.gnu.org/[].
+
+After correct installation, typing at the
+bash command line prompt:
+
+----
+$ gcc --version
+----
+
+should result in something like
+
+----
+gcc (Ubuntu 4.9.1-16ubuntu6) 4.9.1
+Copyright (C) 2014 Free Software Foundation, Inc.
+This is free software; see the source for copying conditions. There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+----
+
+Your version string may vary, of course.
+
[[ChToolsGDB]]
==== gdb (GNU project debugger)