- AliceVision
- PyBind11
- CMake
Assuming AliceVision was built in C:\dev
using vcpkg and PyBind11 was installed with pip, use the following command to generate the solution file:
cd PyAliceVision
mkdir build && cd build
cmake .. ^
-G "Visual Studio 17 2022" ^
-A x64 ^
-T host=x64 ^
-Dpybind11_DIR=C:\Users\{username}\AppData\Local\Programs\Python\Python311\Lib\site-packages\pybind11\share\cmake\pybind11 ^
-DAliceVision_DIR=C:\dev\AliceVision\build\src\generated ^
-DCMAKE_TOOLCHAIN_FILE=C:\dev\vcpkg\scripts\buildsystems\vcpkg.cmake ^
-DVCPKG_TARGET_TRIPLET=x64-windows
Then open the solution file in Visual Studio, set the build mode to Release and start the build.