Skip to content

Files

Latest commit

a8f0776 · Apr 30, 2025

History

History
106 lines (61 loc) · 3.54 KB

README.md

File metadata and controls

106 lines (61 loc) · 3.54 KB

mulle-container-debug

🛄 Debugging support for mulle-container

Release Version Release Notes AI Documentation
Mulle kybernetiK tag Build Status RELEASENOTES DeepWiki for mulle-container-debug

Info

This repository is home to the various describe functions of mulle-container. Currently there is only one data structure supported and that is mulle-pointerarray. Support for the other data structures is just a matter of time.

Why is this in mulle-core ?

It's based on mulle-buffer and mulle-sprintf. As mulle-sprintf uses mulle-thread, this repository doesn't belong in mulle-c. The describe methods are super simple to implement with mulle_buffer_sprintf though.

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-container-debug to your project:

mulle-sde add github:mulle-core/mulle-container-debug

To only add the sources of mulle-container-debug with dependency sources use clib:

clib install --out src/mulle-core mulle-core/mulle-container-debug

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

Install

Use mulle-sde to build and install mulle-container-debug and all dependencies:

mulle-sde install --prefix /usr/local \
   https://github.com/mulle-core/mulle-container-debug/archive/latest.tar.gz

Legacy Installation

Install the requirements:

Requirements Description
mulle-c11 🔀 Cross-platform C compiler glue (and some cpp conveniences)
mulle-buffer ↗️ A growable C char array and also a stream - on stack and heap
mulle-container 🛄 Arrays, hashtables and a queue
mulle-sprintf 🔢 An extensible sprintf function supporting stdarg and mulle-vararg

Download the latest tar or zip archive and unpack it.

Install mulle-container-debug into /usr/local with cmake:

PREFIX_DIR="/usr/local"
cmake -B build                               \
      -DMULLE_SDK_PATH="${PREFIX_DIR}"       \
      -DCMAKE_INSTALL_PREFIX="${PREFIX_DIR}" \
      -DCMAKE_PREFIX_PATH="${PREFIX_DIR}"    \
      -DCMAKE_BUILD_TYPE=Release &&
cmake --build build --config Release &&
cmake --install build --config Release

Author

Nat! for Mulle kybernetiK