


Using CMake on Windows is described further in Section 2.2.12, “Generate the build files”.Īlong with specifying a generator with the -G flag you can set variables # Assumes your source directory is named "wireshark". Run the following commands: # Starting from your Wireshark source directory, create a build directory

Wireshark using Ninja in the directory wireshark-ninja you might Specifying a generator, aka a build tool. Wireshark’s build environment can be configured using CMake on various UNIX-like platforms, including Linux, macOS, and *BSD, and on Windows.ĬMake is designed to support out-of-tree builds - so much so that in-tree builds do not work properly in all cases.Īlong with being cross-platform, CMake supports many build tools and environments including traditional make, Ninja, and MSBuild.īuilding with CMake typically includes creating a build directory and
