|author||David Kreitschmann <firstname.lastname@example.org>||2018-06-15 12:44:47 +0200|
|committer||Anders Broman <email@example.com>||2018-06-21 03:33:03 +0000|
Fix build paths for cmake's Xcode project generator on macOS.
Multi-configuration generators (such as Xcode or VS) append the current build configuration to most paths (eg. Debug/Release). Currently this results in inconsistent paths for the application bundle and the included command line tools. This commit sets the correct path information for multi-configuration generators for macOS application bundles. The standard Makefile behaviour is untouched. One Windows specific configuration was changed, as it was conflicting with these changes. This needs to be checked before merging. Additionally the wrapper scripts are omitted for Xcode, as the path to the binaries depends on the configuration chosen in Xcode. Therefore it is not viable to create these scripts in the cmake run. Bug: 11816 Change-Id: Ib43d82eb04600a0e2f2b020afb44b579ffc7a7c9 Reviewed-on: https://code.wireshark.org/review/28291 Petri-Dish: Guy Harris <firstname.lastname@example.org> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <email@example.com>
Diffstat (limited to 'README.macos')
1 files changed, 16 insertions, 0 deletions
diff --git a/README.macos b/README.macos
index f2eaeb0033..cac66f3776 100644
@@ -74,6 +74,22 @@ directory;
+It is also possible to use the Xcode IDE to build and debug Wireshark
+using cmake's Xcode generator. Create a separate build directory, as
+described above and run cmake with the "-G Xcode" argument to create
+a Xcode project file in the current directory.
+ cmake -G Xcode ..
+ 1. Double click Wireshark.xcodeproj
+ 2. Choose to create schemes manually
+ 3. Create a scheme for the ALL_BUILD target
+ 4. Edit the scheme, go to the run configuration and select Wireshark.app
+ as executable
If you upgrade the major release of macOS on which you are building
Wireshark, we advise that, before you do any builds after the upgrade,
you remove the build directory and all its subdiretories, and repeat the