diff --git a/Build-and-install.md b/Build-and-install.md new file mode 100644 index 0000000..0c050dd --- /dev/null +++ b/Build-and-install.md @@ -0,0 +1,47 @@ +**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**