summaryrefslogtreecommitdiff
path: root/CMakeOptions.txt
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2014-10-09 11:37:27 -0700
committerGerald Combs <gerald@wireshark.org>2014-10-09 20:07:48 +0000
commite00ac05cf33f8ec13b042d51e85355d39f7e113e (patch)
treece3fc3555f3973461dac7981869251ea4f0f0d43 /CMakeOptions.txt
parent58cc452d6f3fd6e9b3441796574fdd50e9565257 (diff)
downloadwireshark-e00ac05cf33f8ec13b042d51e85355d39f7e113e.tar.gz
CMake: Build an application bundle (Wireshark.app) on OS X.
Add an ENABLE_APPLICATION_BUNDLE option which is enabled by default on OS X and disabled elsewhere. The bundle is currently bare-bones and only contains the main executables, Info.plist, and application icon. Capitalize the main application name when ENABLE_APPLICATION_BUNDLE is set and on Windows. Start updating CPackConfig.txt for OS X packaging. To do: - Add supporting libraries and frameworks. - Make the bundle standalone. I.e. call FIXUP_BUNDLE or replicate the relevant parts of osx-app.sh Change-Id: I4e25abd3b8cbe121ec8615b98706a15c58812cdb Reviewed-on: https://code.wireshark.org/review/4577 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'CMakeOptions.txt')
-rw-r--r--CMakeOptions.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeOptions.txt b/CMakeOptions.txt
index 00209b15f4..1339679799 100644
--- a/CMakeOptions.txt
+++ b/CMakeOptions.txt
@@ -74,3 +74,8 @@ option(ENABLE_SBC "Build with SBC Codec support in RTP Player" ON)
set(DUMPCAP_INSTALL_OPTION "normal" CACHE STRING "Permissions to install")
set(DUMPCAP_INST_VALS "normal" "suid" "capabilities")
set_property(CACHE DUMPCAP_INSTALL_OPTION PROPERTY STRINGS ${DUMPCAP_INST_VALS})
+if(APPLE)
+ option(ENABLE_APPLICATION_BUNDLE "Build a Mac OS X application bundle (Wireshark.app)" ON)
+else()
+ option(ENABLE_APPLICATION_BUNDLE "Build a Mac OS X application bundle (Wireshark.app)" OFF)
+endif()