Files
aevolution/docs/adr/0002-build-system.md
T
dingoandClaude Opus 5 d5b4bd068e Initial commit: architecture docs and headless engineering proof
Aeternalis Evolution, a custom-engine persistent evolutionary MMO.

This first commit establishes the project skeleton:

- Architecture and design docs: project vision, system overview,
  engineering constitution, roadmap, 19 ADRs, and the simulation,
  world, network, persistence and infrastructure architectures.
- Headless engineering proof: deterministic synthetic particles,
  component lifecycle, explicit PRNG streams, canonical snapshots
  and restored execution.
- Build and tooling: CMake 3.28+ / Ninja presets, C++23 feature
  check, clang-format and clang-tidy config, format check script,
  Windows check script, and a Docker build context.
- Tests: unit tests, benchmarks, a snapshot fuzz target and CLI
  integration wiring.

No gameplay, renderer, network service or running deployment yet.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-14 15:44:41 -04:00

970 B

ADR-0002: CMake target-oriented builds

Status

Adopted for proof.

Context

One kernel must build for Windows/Linux servers, CLI, tests and a later native client.

Decision

CMake 3.28+, Ninja, checked-in configure/build/test presets. Target evo_simulation alias evo::simulation exports includes and C++ requirements. Scope warnings/analysis to owned targets.

Alternatives Considered

Meson is concise but another ecosystem; Bazel remote execution does not yet justify machinery; platform project files duplicate contracts.

Benefits

One graph, standard IDE integration and CTest.

Costs

Requires disciplined target/cache management.

Risks

Global flags infect dependencies; missing optional tools can falsely appear successful.

Consequences

Requested analysis/sanitizers fail when unsupported. Out-of-source builds and no proof configure-time downloads. CMake presets.