Code Monkey home page Code Monkey logo

mulle-make's Introduction

๐Ÿ’„ Build projects with tools like cmake, meson, autoconf

... for Android, BSDs, Linux, macOS, SunOS, Windows (MinGW, WSL)

mulle-make will determine if the project needs to be build via configure, autoconf, cmake or some other build tool. It will then proceed to build the project using that tool.

Release Version Release Notes
Mulle kybernetiK tag RELEASENOTES

What mulle-make does

Essentially, mulle-make does (for cmake projects):

mkdir build
cd build
cmake ..
ninja

Project structure

The next picture gives an overview of mulle-make default project structure and how to customize it:

Example

Here we use mulle-make in conjunction with mulle-fetch to conveniently download and build an autoconf based project:

$ mulle-fetch https://ftp-stud.hs-esslingen.de/pub/Mirrors/ftp.gnu.org/bison/bison-3.5.4.tar.xz
Fetching bison from https://ftp-stud.hs-esslingen.de/pub/Mirrors/ftp.gnu.org/bison/bison-3.5.4.tar.xz.
$ cd bison/
$ mulle-make -lx
==> mkdir -p '/tmp/bison/build'
==> mkdir -p '/tmp/bison/build/.log'
=[29701]=> find -L '/tmp/bison' -maxdepth 2 -name CMakeLists.txt -print
=[29704]=> find -L '/tmp/bison' -maxdepth 2 -name meson.build -print
=[29707]=> find -L '/tmp/bison' -maxdepth 2 -name configure.ac -print
=[29711]=> find -L '/tmp/bison' -maxdepth 2 -name configure -print
Let configure do a Release build of bison for SDK Default in "build" ...
=[29722]=> cd '/tmp/bison/build'
=[29723]=> MULLE_MAKE_VERSION='0.14.4' __MULLE_MAKE_ENV_ARGS='': './configure'    >> /tmp/bison/build/.log/configure.log
=[35879]=> '/usr/bin/make'  VERBOSE=1 -j 40 all >> /tmp/bison/build/.log/make.log
$

You can look at the log output with

$ mulle-make log 

You are here

Install

See mulle-sde-developer how to install mulle-sde, which will also install mulle-make with required dependencies.

The command to install only the latest mulle-make into /usr/local (with sudo) is:

curl -L 'https://github.com/mulle-sde/mulle-make/archive/latest.tar.gz' \
 | tar xfz - && cd 'mulle-make-latest' && sudo ./bin/installer /usr/local

Author

Nat! for Mulle kybernetiK

mulle-make's People

Contributors

codeon-nat avatar imgbotapp avatar mulle-nat avatar

Stargazers

 avatar

Watchers

 avatar  avatar

mulle-make's Issues

mulle-make cmake runs cmake and ninja all the time

On subsequent runs, it would be nicer, if cmake was only run, if changes to CMakefiles could be detected. That would make turnaround times much better.

A problem though is: how does mulle-make know which files are read by CMakeLists.txt ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.