Skip to content

▶️ Startup library for Foundation based executables

License

Notifications You must be signed in to change notification settings

MulleFoundation/Foundation-startup

Repository files navigation

Foundation-startup

▶️ Startup code for the Foundation (mulle-objc)

This static library provides the required __register_mulle_objc_universe function for executables, that link against Foundation.

Release Version Release Notes
Mulle kybernetiK tag Build Status RELEASENOTES

Info

The main raison d'être of Foundation-startup as a seperate library is to bequeath the required dependencies mulle-atinit and mulle-atexit for linking with the executable.

Requirements

Requirement Release Version Description
Foundation Mulle kybernetiK tag Build Status 💍 MulleFoundation with improved compatibility and legacy support
mulle-atinit Mulle kybernetiK tag Build Status 🤱🏼 Compatibility library for deterministic initializers
mulle-atexit Mulle kybernetiK tag Build Status 👼 Compatibility library to fix atexit

You are here

Overview

Add

Use mulle-sde to add Foundation-startup to your project:

mulle-sde add github:MulleFoundation/Foundation-startup

Install

Use mulle-sde to build and install Foundation-startup and all dependencies:

mulle-sde install --prefix /usr/local \
   https://github.com/MulleFoundation/Foundation-startup/archive/latest.tar.gz

Legacy Installation

Install the requirements:

Requirements Description
Foundation 💍 MulleFoundation with improved compatibility and legacy support
mulle-atinit 🤱🏼 Compatibility library for deterministic initializers
mulle-atexit 👼 Compatibility library to fix atexit

Download the latest tar or zip archive and unpack it.

Install Foundation-startup 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