Skip to content

mulle-c/mulle-url

Repository files navigation

mulle-url

🈷️ Support for URL parsing

A C (C99) library to check if unicode characters are valid for the various parts of an URL: scheme, host, user etc. Used by NSCharacterSet extensions of MulleObjCInetFoundation.

Release Version Release Notes
Mulle kybernetiK tag Build Status RELEASENOTES

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

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

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

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

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-url and all dependencies:

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

Manual Installation

Install the requirements:

Requirements Description
mulle-c11 🔀 Cross-platform C compiler glue (and some cpp conveniences)

Download the latest tar or zip archive and unpack it.

Install mulle-url 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