- Open
x64 Native Tools Command Prompt for VS 2019 cdinto the Mixxx repo's root directory.
Download and setup the build environment:
Warning
Do NOT skip this step, even if you have already done it before in the same folder.
tools\windows_buildenv.batThen setup the build folder:
mkdir build
cd build
cmake -DCMAKE_TOOLCHAIN_FILE=C:\path\to\mixxx\buildenv\mixxx-deps-2.5-x64-windows-06fe9b5\scripts\buildsystems\vcpkg.cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ..
# build for the first time
cmake --build .-DCMAKE_BUILD_TYPEMay have these valuesDebugReleaseRelWithDebInfo
-DCMAKE_EXPORT_COMPILE_COMMANDS=ONgeneratescompile_commands.jsonfor Clang LSP server. (only needed for development)
cd build
cmake --build .
Or, for a clean build:
cmake --build . --clean-first