calibre/bypy/windows.conf
Kovid Goyal b9c738f017
...
2025-12-10 10:24:47 +05:30

38 lines
1.3 KiB
Plaintext

# Requires installation of Visual Studio 2026 Community Edition, Ruby (without devkit), NodeJS, Python and Perl
#
# Visual Studio Components:
# .NET SDK
# C++ ATL for latest vXXX build tools (x86 & x64)
# C++ Clang Compiler for Windows
# C++ CMake tools for Windows
# C++/CLI support for vXXX build tools
# Git for Windows (can also be installed from web)
# MSBuild
# MSBuild support for LLVM (clang-cl) toolset
# MSVC vXXX - VS C++ x64/x86 build tools
# Windows 11 SDK
#
# Add the following directories to ENV Path:
# C:\Program Files (x86)\Microsoft Visual Studio\Installer
# C:\Program Files\Microsoft Visual Studio\VC\Tools\MSVC\*\bin\Hostx64\x64
# C:\Program Files\Microsoft Visual Studio\VC\Tools\Llvm\bin
#
# git.exe must be in PATH. Must have ~120GB available disk space and 8GB RAM to build Qt WebEngine
# Install certifi and html5lib in python 3 with:
# py.exe -m pip install certifi html5lib
# Copy opengl32sw.dll from
# https://download.qt.io/development_releases/prebuilt/llvmpipe/windows/
# to C:/mesa/64
# Install MESON and NINJA using the MSI from the meson github releases page
# Install wix by running:
# dotnet tool install --global wix
# in a visual studio command prompt
vm_name 'windows-calibre'
root 'C:/r'
python 'py.exe'
perl 'C:/Strawberry/perl/bin/perl.exe'
ruby 'C:/Ruby34-x64/bin/ruby.exe'
nodejs 'C:/Program Files/nodejs/node.exe'
mesa 'C:/mesa'