Update building.md
- Add info about installing cmake - Change build instructions from qmake to cmake - Remove info about installing deps We don't need to do this anymore. CMake will do it automatically at configure-time!
This commit is contained in:
parent
30e16d80d9
commit
2c1a3692e7
21
building.md
21
building.md
|
|
@ -1,8 +1,8 @@
|
||||||
# Building from source
|
# Building from source
|
||||||
## Linux (Ubuntu)
|
## Linux (Ubuntu)
|
||||||
Install libraries for the sample engine (use brew on mac, MinGW on win):
|
Install cmake:
|
||||||
|
|
||||||
$ sudo apt install libsndfile1-dev portaudio19-dev liblo-dev libfftw3-dev
|
$ sudo apt install cmake
|
||||||
|
|
||||||
Install dependencies for the interface:
|
Install dependencies for the interface:
|
||||||
|
|
||||||
|
|
@ -16,15 +16,14 @@ Build & run it:
|
||||||
|
|
||||||
$ mkdir build
|
$ mkdir build
|
||||||
$ cd build
|
$ cd build
|
||||||
$ qmake ..
|
$ cmake ..
|
||||||
$ make
|
$ cmake --build .
|
||||||
$ sudo make install
|
$ ./samplebrain
|
||||||
$ samplebrain
|
|
||||||
|
|
||||||
## Mac
|
## Mac
|
||||||
Install libraries for sample engine:
|
Install cmake:
|
||||||
|
|
||||||
$ brew install fftw portaudio liblo libsndfile
|
$ brew install cmake
|
||||||
|
|
||||||
Install dependencies for the interface:
|
Install dependencies for the interface:
|
||||||
|
|
||||||
|
|
@ -35,10 +34,10 @@ Build & run it:
|
||||||
|
|
||||||
$ mkdir build
|
$ mkdir build
|
||||||
$ cd build
|
$ cd build
|
||||||
$ qmake ..
|
$ cmake ..
|
||||||
$ make
|
$ cmake --build .
|
||||||
|
|
||||||
`samplebrain.app` should then be in the app folder for you to run.
|
`samplebrain.app` should then be in the build folder for you to run.
|
||||||
|
|
||||||
# Mac build additions
|
# Mac build additions
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue