Skip to content

mulle-c/mulle-c-developer

Repository files navigation

mulle-c-developer

🧢 mulle-c developer kit for mulle-sde

This developer kit adds unto mulle-sde-developer by adding more elaborate cmake templates. It is the basis for more generally useful developer kits like mulle-objc-developer or foundation-developer

These templates enable you to:

  • create standalone dynamic libraries, used by mulle-test
  • startup libraries, used by mulle-objc
  • use whole-archive linking, used by mulle-objc
  • tweak some compiler settings, like add -DNDEBUG for Release
Release Version Release Notes
Mulle kybernetiK tag Build Status RELEASENOTES

Usage

Check that the (meta) extensions are found with mulle-sde extension show

Create an executable mulle-c project

mulle-sde init -d hello-exe -m mulle-c/c-developer executable

Create a library mulle-c project

mulle-sde init -d hello-lib -m mulle-c/c-developer library

You are here

Overview

Add

This project is a component of the mulle-core library. As such you usually will not add or install it individually, unless you specifically do not want to link against mulle-core.

Add as an individual component

Use mulle-sde to add mulle-c-developer to your project:

mulle-sde add github:mulle-c/mulle-c-developer

To only add the sources of mulle-c-developer with dependency sources use clib:

clib install --out src/mulle-c mulle-c/mulle-c-developer

Add -isystem src/mulle-c to your CFLAGS and compile all the sources that were downloaded with your project.

Install

Install with mulle-sde

Use mulle-sde to build and install mulle-c-developer:

mulle-sde install --prefix /usr/local \
   https://github.com/mulle-c/mulle-c-developer/archive/latest.tar.gz

Manual Installation

Download the latest tar or zip archive and unpack it.

Install mulle-c-developer into /usr/local with cmake:

cmake -B build \
      -DCMAKE_INSTALL_PREFIX=/usr/local \
      -DCMAKE_PREFIX_PATH=/usr/local \
      -DCMAKE_BUILD_TYPE=Release &&
cmake --build build --config Release &&
cmake --install build --config Release

Author

Nat! for Mulle kybernetiK