version: '{build}' platform: - x64 environment: matrix: - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 CONFIG: Release PYTHON: "C:\\Python37-x64" PYTHON_ARCH: 64 build_script: - git submodule add -b stable ../../pybind/pybind11 extern/pybind11 - git submodule update --init - mkdir build && cd build - cmake -DBUILD_SHARED_LIBS=OFF -DPYTHON_EXECUTABLE=C:\\Python37-x64\python.exe -G "Visual Studio 16 2019" -A%PLATFORM% -DPYTHON_MODULE=ON ../ - cmake --build ./ --config "%CONFIG%" .