Skip to content

Releasing

Andreas Bülling edited this page Sep 8, 2016 · 10 revisions

#Shipping binaries Below follow some simple steps for creating shippable releases for the different supported platforms. This page is meant for the maintainer.

Mac OSX

  1. Create .app bundle with binaries and dependencies:

    protobuf-decoder$ cmake -DCMAKE_BUILD_TYPE=Release . && make install

  2. Create a DMG with for instance disk utility.

Linux

  1. Create .deb package:

    protobuf-decoder$ cmake -DCMAKE_INSTALL_PREFIX=/usr/bin -DCMAKE_BUILD_TYPE=Release . && cpack -G DEB

Note: There is currently a bug in cmake < 3.3 which will trigger a permission warning when installing .deb with aptitude.

Clone this wiki locally