Force-linkable amalgamated library for mulle-core initialization libraries
| Release Version | Release Notes | AI Documentation |
|---|---|---|
| RELEASENOTES | DeepWiki for mulle-core-all-load |
There are various methods how to get mulle-core-all-load into your project.
One common denominator is that you will
#include <mulle-core-all-load/mulle-core-all-load.h> in your sources and link
with -lmulle-core-all-load.
Use mulle-sde to add mulle-core-all-load to your project:
mulle-sde add github:mulle-core/mulle-core-all-loadThis library does not include mulle-atinit and mulle-atexit and mulle-testallocator. If you add these libraries, it is important that mulle-core is added before them.
To only add the sources of mulle-core-all-load with dependency sources use clib:
clib install --out src/mulle-core mulle-core/mulle-core-all-loadAdd -isystem src/mulle-core to your CFLAGS and compile all the
sources that were downloaded with your project. (In cmake add
include_directories( BEFORE SYSTEM src/mulle-core) to your CMakeLists.txt
file).
git submodule add https://github.com/mulle-core/mulle-core-all-load.git stash/mulle-core-all-load
git submodule update --init --recursiveAdd this to your CMakeLists.txt:
add_subdirectory( stash/mulle-core-all-load)
target_link_libraries( ${PROJECT_NAME} PRIVATE mulle-core-all-load)Use mulle-sde to build and install mulle-core-all-load and all dependencies:
mulle-sde install --prefix /usr/local \
https://github.com/mulle-core/mulle-core-all-load/archive/latest.tar.gzInstall the requirements:
| Requirements | Description |
|---|---|
| libbacktrace | A C library that may be linked into a C/C++ program to produce symbolic backtraces |
| mulle-c11 | 🔀 Cross-platform C compiler glue (and some cpp conveniences) |
| mulle-allocator | 🔄 Flexible C memory allocation scheme |
| mulle-thread | 🔠 Cross-platform thread/mutex/tss/atomic operations in C |
Download the latest tar or zip archive and unpack it.
Install mulle-core-all-load 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 ReleaseNat! for Mulle kybernetiK