Skip to main content

Building Older Commits

Bisecting and debugging older versions of Eden can be difficult because their source and dependency requirements may differ from the current version.

Checkout and build​

  1. From the repository root, check out the commit you want to build:

    git switch --detach <commit>
  2. Initialize and update any Git submodules recorded by that commit:

    git submodule update --init --recursive
  3. Configure and build the targets available in that revision. For this checkout, the CMake project is yuzu; the Qt app target is yuzu (output eglantine), and the SDL command-line target is yuzu-cmd (output eden-cli).

    cmake -S . -B build
    cmake --build build --target yuzu yuzu-cmd

    Target names and build options can differ in older commits. Check that revision's CMake files and build configuration if either target is unavailable.

Dependencies must match the commit

Use the dependency definitions from the checked-out revision. In this checkout, many dependencies are managed through CPM and cpmfile.json during CMake configuration, while externals/ also contains vendored source directories. Git submodule updates only apply to submodules recorded by the selected commit; they do not restore removed directories or replace CPM-managed dependencies. Do not apply a dependency-fix script or pinned revisions from another commit without verifying they match the commit you are building.