Просмотр исходного кода

ENH: Add verbose flag to package maker and add CFBundleIdentifier string

Andy Cedilnik 20 лет назад
Родитель
Сommit
a460c60843
2 измененных файлов с 3 добавлено и 1 удалено
  1. 2 0
      Modules/CPack.Info.plist.in
  2. 1 1
      Source/CPack/cmCPackPackageMakerGenerator.cxx

+ 2 - 0
Modules/CPack.Info.plist.in

@@ -31,5 +31,7 @@
 <false/>
 <key>IFPkgFormatVersion</key>
 <real>0.10000000149011612</real>
+<key>CFBundleIdentifier</key>
+<string>com.@CPACK_PACKAGE_VENDOR@.@CPACK_PACKAGE_NAME@.@CPACK_PACKAGE_VERSION@</string>
 </dict>
 </plist>

+ 1 - 1
Source/CPack/cmCPackPackageMakerGenerator.cxx

@@ -77,7 +77,7 @@ int cmCPackPackageMakerGenerator::CompressFiles(const char* outFileName, const c
   << "\" -build -p \"" << packageDirFileName << "\" -f \"" << this->GetOption("CPACK_TEMPORARY_DIRECTORY")
   << "\" -r \"" << this->GetOption("CPACK_TOPLEVEL_DIRECTORY") << "/Resources\" -i \""
   << this->GetOption("CPACK_TOPLEVEL_DIRECTORY") << "/Info.plist\" -d \""
-  << this->GetOption("CPACK_TOPLEVEL_DIRECTORY") << "/Description.plist\"";
+  << this->GetOption("CPACK_TOPLEVEL_DIRECTORY") << "/Description.plist\" -v";
   cmCPackLogger(cmCPackLog::LOG_VERBOSE, "Execute: " << pkgCmd.str().c_str() << std::endl);
   std::string output;
   int retVal = 1;