From a7ca0def9e36912f582bd9f21dbc68808b3fd037 Mon Sep 17 00:00:00 2001 From: cbdev Date: Wed, 13 Nov 2019 22:23:10 +0100 Subject: Extend build instructions (Fixes #32) --- README.md | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 9af09b3..dd728f0 100644 --- a/README.md +++ b/README.md @@ -176,6 +176,8 @@ for example make jack.so ``` +#### Building for packaging or installation + For system-wide install or packaging builds, the following steps are recommended: ``` @@ -190,9 +192,22 @@ make install Depending on your configuration of `DESTDIR`, the `make install` step may require root privileges to install the binaries to the appropriate destinations. -To build for Windows, you still need to compile on a Linux machine. Install the `mingw-w64` crosscompiler package -and run `make windows` in the project directory. This will build `midimonster.exe` as well as a set of backends -as DLL files. +#### Building for Windows + +To build for Windows, you still need to compile on a Linux machine (virtual machines work well for this). + +In a fresh Debian installation, you will need to install the following packages (using `apt-get install` as root): + * `build-essential` + * `pkg-config` + * `git` + * `mingw-w64` + +Clone the repository and run `make windows` in the project directory. +This will build `midimonster.exe` as well as a set of backends as DLL files, which you can then copy +to the Windows machine. + +Note that some backends have limitations when building on Windows (refer to the backend documentation +for detailed information). ## Development -- cgit v1.2.3