cmake - CPack for OSX Bundle Info.plist -


i building small package osx using cpack. in cpack wiki says have specify info.plist file, else make package fail.

cpack_bundle_plist - path file become bundle plist.

however here says there way automatically generate info.plist file. can how use that? right using emtpy info.plist file , seems working, not sure break in future due this.

i think you're confusing macosx_bundle cpack_bundle. here explanation of difference

important note: not use macosx_bundle property on executables packaged using bundle-generator! specifying macosx_bundle creates separate bundle each individual executable @ build-time; structure of these bundles becomes redundant when bundle generator consolidates multiple executables single bundle.

so macosx_bundle generate info.plist automatically, while cpack_bundle needs 1 specified in cpack_bundle_plist.

for answering question on info.plist specify, it's best use simple basic info.plist not empty, similar 1 specified here: https://stackoverflow.com/a/6323462/369009


Comments