Skip to content

Build the Foundation without a mulle sde project

Nat! edited this page Sep 13, 2018 · 3 revisions

At the very least, if you did not install foundation-developer you need mulle-craft and mulle-sourcetree and their dependencies as well as mulle-clang. Check the various READMEs for more information.

Create a subdirectory where everything will be placed into.

mkdir Foundation ; cd Foundation

Add the Foundation repository to a local mulle-sourcetree. This will create an unavoidable but very small .mulle-sourcetree directory with maintainance information.

mulle-sourcetree -e -N add --url '${FOUNDATION_URL:-https://github.com/MulleFoundation/Foundation.git}' 'Foundation'

Now fetch all required projects with mulle-sourcetree.

mulle-sourcetree -e update

Let mulle-sourcetree create a buildorder file for you. It is a list of the projects to compile in the proper order.

mulle-sourcetree -e buildorder --output-marks > buildorder

You could now delete .mulle-sourcetree, if it bothers you.

Give this file to mulle-craft. I will now build all the projects. The headers and libraries will be installed in DEPENDENCY_DIR in a unix like directory structure (lib, include, share etc.)

MULLE_VIRTUAL_ROOT="$PWD" BUILD_DIR="${PWD}/build" DEPENDENCY_DIR="${PWD}/dependency" mulle-craft -e buildorder -f buildorder 
Clone this wiki locally