akvirtualcamera-wiki/Build-and-install.md
2021-05-26 13:21:06 -03:00

47 lines
1 KiB
Markdown

**In-progress**
## Dependencies
* [CMake](https://cmake.org/)
**Mac**
* [Xcode Command Line Tools](https://developer.apple.com/xcode/) (_xcode-select --install_ from a terminal)
**Windows**
* [MSYS2](https://www.msys2.org/)
* [Visual Studio Build Tools](https://visualstudio.microsoft.com/downloads/)
## Build
For building akvirtualcamera, open a terminal and run the following commands:
**Mac**
```
cmake -S /path/to/akvirtualcamera -B /path/to/akvirtualcamera-build-directory
make -C /path/to/akvirtualcamera-build-directory
```
**MSYS2**
```
cmake -G "MSYS Makefiles" -S /path/to/akvirtualcamera -B /path/to/akvirtualcamera-build-directory
make -C /path/to/akvirtualcamera-build-directory
```
**Visual Studio**
```
cmake -G "Visual Studio 16 2019" -S /path/to/akvirtualcamera -B /path/to/akvirtualcamera-build-directory
cmake --build /path/to/akvirtualcamera-build-directory
```
You can also compile akvirtualcamera using [cmake-gui](https://cmake.org/cmake/help/latest/guide/user-interaction/index.html#cmake-gui-tool).
## Install
**Mac**
**Windows**