[cmake-developers] Support of codesign

Adam Strzelecki ono at java.pl
Thu Oct 23 13:01:39 EDT 2014


Let me put my 2¢. I have feeling that we are mixing up signing (install) packages, such as .pkg (OSX) or .msi (Windows), with signing bundles .app or whatever OSX binaries (that can keep signature inside macho).

I think that CPack should be responsible of signing only what it creates. Since CPack does not create .app bundle but just packs it into .pkg, .dmg or whatever else it shouldn't touch .app.

Then code signing .app bundle should be part of install (cmake_install.cmake), triggered once the .app bundle is complete (final), probably after fixup_bundle.

Once may not even want to use CPack, but still want to code-sign .app when installing.

But this is just my personal opinion,

Also I don't see any reason we need to implement that in C++ as this can be handled with cmake scripting capabilities.

--Adam


More information about the cmake-developers mailing list