DOCS // SPATIAL.COMPILER

Build from source on Windows

On Windows with Visual Studio 2022 (the C++ workload) and Python 3, run python scripts\fetch_third_party.py, scripts\build.bat and scripts\install.bat from a clone of the repository.

Build

The build runs on Windows with Visual Studio 2022 (the C++ workload) and Python 3. From a clone of the repository, run:

cmd
python scripts\fetch_third_party.py
scripts\build.bat
scripts\install.bat

fetch_third_party.py runs once and downloads the pinned third-party code listed in THIRD_PARTY.md. build.bat builds the program, and install.bat copies it to %USERPROFILE%\.spatial-compiler\bin, where the Claude plugin finds it.

Tests

build\spatial_test.exe runs all tests; a name filter runs some. See Verified setup.