2016-03-17 19:15:01 +03:00
|
|
|
# Build instructions for libcubeb
|
|
|
|
|
2016-09-21 16:40:55 +03:00
|
|
|
You must have CMake v3.1 or later installed.
|
|
|
|
|
2016-11-17 13:54:37 +03:00
|
|
|
1. `git clone --recursive https://github.com/kinetiknz/cubeb.git`
|
2016-09-21 16:40:55 +03:00
|
|
|
2. `mkdir cubeb-build`
|
|
|
|
3. `cd cubeb-build`
|
|
|
|
3. `cmake ../cubeb`
|
|
|
|
4. `cmake --build .`
|
|
|
|
5. `ctest`
|
|
|
|
|
|
|
|
# Windows build notes
|
|
|
|
|
|
|
|
Windows builds can use Microsoft Visual Studio 2015 (the default) or MinGW-w64
|
|
|
|
with Win32 threads (by passing `cmake -G` to generate the appropriate build
|
|
|
|
configuration). To build with MinGW-w64, install the following items:
|
|
|
|
|
|
|
|
- Download and install MinGW-w64 with Win32 threads.
|
|
|
|
- Download and install CMake.
|
|
|
|
- Run MinGW-w64 Terminal from the Start Menu.
|
|
|
|
- Follow the build steps above, but at step 3 run:
|
|
|
|
`cmake -G "MinGW Makefiles" ..`
|
|
|
|
- Continue the build steps above.
|
2016-03-17 19:15:01 +03:00
|
|
|
|