Skip to content
Serge Poltavski edited this page Apr 26, 2019 · 1 revision

Build targets

  • make help - list all available make targets
  • make src-zip - create source ZIP archive in current directory with all submodules
  • make src-tar - create source TAR GZ archive in current directory with all submodules
  • make ceammc_pddoc - update pddoc documentation. Note: pddoc should be installed
  • make ceammc_pddoc_format - reformat pddoc files with xmllint
  • make ceammc_completion - update auto-completion list
  • make ceammc_cppcheck - run cppcheck for ceammclib sources (exclude PureData checks). Note: cppcheck should be installed
  • make icons - regenerate icons from SVG files. Should be called only if imagemagick and inkscape installed
  • make coverage - generate coverage information via gcov. Note: should be configure with -DWITH_COVERAGE=ON
  • make coverage_report - generate HTML coverage report in ./coverage directory via lcov
  • make messages - extract GETTEXT messages from Pd source and add them to po/template.pot file
  • make ceammc_messages - extract GETTEXT messages from CEAMMC library source and add them to po/template.pot file
  • make messages_merge - merge GETTEXT messages from po/template.pot to translation files: po/ru.po etc.
  • make ceammc_lib - build CEAMMC tar.gz archive

macosx only

  • make app - build application bundle in dist directory: dist/Pd-ceammc-DATE.app
  • make dmg - build application distribution image
  • make deploy - build app, dmg, src-zip, src-tar targets and upload them to github.com release page

linux only

  • make package - build debian or rpm package

cmake configure

  • -DCMAKE_C_COMPILER=XXX - set C compiler
  • -DCMAKE_CXX_COMPILER=XXX - set C++ compiler
  • -DCMAKE_INSTALL_PREFIX=PATH - set install prefix, if using make install
  • -DCMAKE_BUILD_TYPE=Release|Debug - Release or Debug build
  • -DWITH_FFTW=ON - try to use fftw3 library
  • -DFFTW_ROOT=PATH - fftw root directory containing include/ and lib/ subdirectories
  • -DLIBSNDFILE_ROOT=PATH - specify libsndfile root directory, that contains both include/sndfile.h ans lib/libsndfile
  • -DWITH_PORTAUDIO=ON - build with Portaudio support
  • -DWITH_COVERAGE=ON - build with coverage support. gcov and lcov programs should be installed.

macosx only

  • -DARCH= - set target architecture. Possible values are: i686, x86_64 or i686;x86_64 for building universal binary

linux only

  • -DWITH_ALSA=ON - build with ALSA sound backend
  • -DWITH_OSS=ON - build with OSS sound backend
  • -DWITH_JACK=ON - build with JACK sound server backend
Clone this wiki locally