Crafter.Build/interfaces
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jorijn van der Graaf aa6b555395
refactor: carry run paths as directories, not -Wl,-rpath flags
ExternalOutputs put an -Wl,-rpath,<dir> per library directory of a CMake
external into its link flags, and the flags travelled up the dependency
graph in BuildResult::libs to every link that consumed them: an
executable's or a shared library's, and that of the project.so
LoadProject links against a project file's pragma dependencies. Whether
a program should record those directories depends on how it is packaged:
a Flatpak has to load its libraries from its own files/lib instead, and
has to know the directories to copy them from. ExternalBuildResult and
BuildResult now carry them as runPaths, merged up the graph beside libs,
and all three links turn each into an -Wl,-rpath as before, so the link
commands differ only in the order of their flags. PragmaSharedExternal
holds project.so's link to them.
2026-11-07 19:24:12 +01:00
..
Crafter.Build-Agents.cppm feat(agents): write AGENTS.md from a tracked AGENTS.template.md 2026-10-31 16:53:42 +01:00
Crafter.Build-Asset.cppm refactor: drop Windows host support 2026-10-02 22:03:34 +02:00
Crafter.Build-Clang.cppm refactor: carry run paths as directories, not -Wl,-rpath flags 2026-11-07 19:24:12 +01:00
Crafter.Build-External.cppm refactor: carry run paths as directories, not -Wl,-rpath flags 2026-11-07 19:24:12 +01:00
Crafter.Build-Implementation.cppm refactor: drop Windows host support 2026-10-02 22:03:34 +02:00
Crafter.Build-Interface.cppm refactor: drop Windows host support 2026-10-02 22:03:34 +02:00
Crafter.Build-Lint.cppm refactor: drop Windows host support 2026-10-02 22:03:34 +02:00
Crafter.Build-Platform.cppm Merge branch 'claude/forward-project-args': sibling projects inherit the args, lint with the lite rules 2026-10-31 05:27:37 +01:00
Crafter.Build-Progress.cppm refactor: drop Windows host support 2026-10-02 22:03:34 +02:00
Crafter.Build-Script.cppm feat(script): scripts in project.cpp, run with crafter-build run 2026-10-20 19:08:26 +02:00
Crafter.Build-Shader.cppm fix: rebuild and relink on what changed, submodules at their revisions, and mingw found where it is 2026-10-20 20:20:29 +02:00
Crafter.Build-Test.cppm refactor: drop Windows host support 2026-10-02 22:03:34 +02:00
Crafter.Build-Toolchain.cppm fix(mingw): view only a prefix that holds a Linux system 2026-10-31 22:58:30 +01:00
Crafter.Build.cppm feat(agents): keep dependencies' AGENTS.consumer.md in AGENTS.md 2026-10-31 03:18:06 +01:00