diff options
author | Brad King <brad.king@kitware.com> | 2008-01-28 19:46:16 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-01-28 19:46:16 (GMT) |
commit | e3b1bdb058ac23bc535b941fc2ed66a410932d74 (patch) | |
tree | 9cecfe783ed59bb4995c206967b5416c0ee689dc /Source/cmInstallTargetGenerator.cxx | |
parent | 437043bb04da113bf822aa42d5cf3a3cc3366be1 (diff) | |
download | CMake-e3b1bdb058ac23bc535b941fc2ed66a410932d74.zip CMake-e3b1bdb058ac23bc535b941fc2ed66a410932d74.tar.gz CMake-e3b1bdb058ac23bc535b941fc2ed66a410932d74.tar.bz2 |
ENH: Support exporting/importing of AppBundle targets.
- Imported bundles have the MACOSX_BUNDLE property set
- Added cmTarget::IsAppBundleOnApple method to simplify checks
- Document BUNDLE keyword in INSTALL command
- Updated IMPORTED_LOCATION property documentation for bundles
- Updated ExportImport test to test bundles
Diffstat (limited to 'Source/cmInstallTargetGenerator.cxx')
-rw-r--r-- | Source/cmInstallTargetGenerator.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmInstallTargetGenerator.cxx b/Source/cmInstallTargetGenerator.cxx index ae16288..2cbb31e 100644 --- a/Source/cmInstallTargetGenerator.cxx +++ b/Source/cmInstallTargetGenerator.cxx @@ -176,8 +176,7 @@ cmInstallTargetGenerator from1 += targetName; // Handle OSX Bundles. - if(this->Target->GetMakefile()->IsOn("APPLE") && - this->Target->GetPropertyAsBool("MACOSX_BUNDLE")) + if(this->Target->IsAppBundleOnApple()) { // Compute the source locations of the bundle executable and // Info.plist file. |