Setting Up Your Development Environment
Page Status
This page is a placeholder. Content coming soon.
The first page any new contributor reads. Purely procedural, gets you from zero to a working build.
Prerequisites: C++23 compiler (Clang 17+ recommended, GCC 14+), CMake 3.20+,
uv(Python package manager for code generation and scripts)Platform-specific notes: macOS (Homebrew Clang), Linux (system Clang or GCC)
Cloning the repo
First build walkthrough:
cmake -S . -B porytiles-build-debug -DCMAKE_BUILD_TYPE=Debugthencmake --build porytiles-build-debug -j7Emphasis on the build directory name convention (
porytiles-build-debug, neverbuild)Running the full test suite to verify the build
Installing the built executable:
cmake --install porytiles-build-debug --prefix ~/.localEditor/IDE setup tips: clangd configuration,
compile_commands.jsonsymlinkTroubleshooting common first-build issues (missing
uv, wrong compiler version, FetchContent download failures)
Cross-references: Project Layout and Directory Structure for orientation, Building, Testing, and Development Workflows for full build details