REA CMakeLists.txt notes (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

CMakeLists.txt pins CMake project/target identity. In REA 6.7.x, treat selected project/add_*/target pins as Evidence beside archive/package routes — complementing rea-cmake-lock and rea-cmake-exports without inventing APIs.

Mental model

  1. Authorize the CMakeLists.txt (+ artifacts you hold).
  2. Quote selected project / target / option pins you actually see (redact secrets).
  3. Lock cousin → rea-cmake-lock; Meson cousin → rea-meson-build.
  4. Bind absolute paths honestly → rea-absolute-paths.
  5. Do not invent a CMakeLists API REA never called.

Minimal path

# authorized CMakeLists.txt (+ artifact you hold)
# quote selected project/target pins into case notes (redact secrets)
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_cmake_lists .

Compare

ArtifactHonest posture
CMakeLists.txtCMake project/target identity facts
cmake-lock cousinrea-cmake-lock
Meson cousinrea-meson-build
Evidence binderrea-evidence-explained

Scope we will not cover

  • No inventing inspect_cmake_lists / automatic cmake runs.
  • No credential theft from options or toolchain files.
  • No pirate redistribution of paid artifacts.
  • No crack framing via CMake targets.

RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.

FAQ

How is this different from rea-cmake-lock / rea-cmake-exports?

Those pages cover lock/export identity. This page zooms on CMakeLists.txt project/target pins as Evidence — it does not overwrite those pages.

Is there inspect_cmake_lists in 6.7.0?

Not assumed. Quote project/targets you actually open, then use documented package/archive lanes. Do not invent inspect_cmake_lists.

Does REA run cmake or steal secrets from CMakeLists?

No. Local trees only. Redact secrets in options; do not treat REA as a build runner.

CMake vs Meson / Bazel?

Label Evidence by the file present. Keep this CMakeLists lane separate from rea-meson-build and rea-bazel-buildfile.

npm version checked?

rea-agents 6.7.0 (re-checked 2026-10-24).

Sources