![]() ![]() Specify the minimum macOS version for Wireshark and each command line utility. Optional libraries have xxx_INCLUDE_DIR and xxx_LIB flags that let you Let you set the path to a locally-compiled version of c-ares. DCARES_INCLUDE_DIR=/your/custom/cares/include, -DCARES_LIBRARY=/your/custom/cares/lib/libcares.so ForĮxample, you can use -DBUILD_mmdbresolve=OFF to disable mmdbresolve. Useful variables and generators include the following:ĭon’t build the Wireshark GUI application.Įach command line utility has its own BUILD_xxx flag as well. 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 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |