Extensions to MulleObjCValueFoundation,
that require the math library (aka -lm
).
Release Version | Release Notes |
---|---|
RELEASENOTES |
Static linking of libm
is not really working on Linux at least with libc. See for example:
https://bugzilla.redhat.com/show_bug.cgi?id=1433347
Requirement | Release Version | Description |
---|---|---|
MulleObjCValueFoundation | πΆ Value classes NSNumber, NSString, NSDate, NSData | |
mulle-objc-list | π Lists mulle-objc runtime information contained in executables. |
This project is a component of the MulleFoundation library.
As such you usually will not add or install it individually, unless you
specifically do not want to link against MulleFoundation
.
Use mulle-sde to add MulleObjCMathFoundation to your project:
mulle-sde add github:MulleFoundation/MulleObjCMathFoundation
To only add the sources of MulleObjCMathFoundation with dependency sources use clib:
clib install --out src/MulleFoundation MulleFoundation/MulleObjCMathFoundation
Add -isystem src/MulleFoundation
to your CFLAGS
and compile all the sources that were downloaded with your project.
Use mulle-sde to build and install MulleObjCMathFoundation and all dependencies:
mulle-sde install --prefix /usr/local \
https://github.com/MulleFoundation/MulleObjCMathFoundation/archive/latest.tar.gz
Install the requirements:
Requirements | Description |
---|---|
MulleObjCValueFoundation | πΆ Value classes NSNumber, NSString, NSDate, NSData |
mulle-objc-list | π Lists mulle-objc runtime information contained in executables. |
Download the latest tar or zip archive and unpack it.
Install MulleObjCMathFoundation 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
Nat! for Mulle kybernetiK