)]}'
{
  "commit": "2d857791262d3ccb1c5f4e581bc020037d1dc37f",
  "tree": "1522f368e256b84696a66dd2bdb5ce69dce969da",
  "parents": [
    "d099b15c627b1eeb43b2122e4f42317c155b5e78"
  ],
  "author": {
    "name": "Tyler Yankee",
    "email": "tyler.yankee@kitware.com",
    "time": "Tue Sep 15 10:14:14 2026 -0400"
  },
  "committer": {
    "name": "Tyler Yankee",
    "email": "tyler.yankee@kitware.com",
    "time": "Tue Sep 15 10:34:09 2026 -0400"
  },
  "message": "Ninja: Account for explicit target dependencies via CODEGEN\n\nWhen a \"normal\" target (e.g., an executable) depends on a custom target\nthat is not part of `all`, and that custom target owns the output of a\ncustom command marked `CODEGEN`, an explicit `add_dependencies` from\nthe normal to custom target must be incorporated in `codegen`.\n\nAmends commit 197cb419d1 (add_custom_command: Add CODEGEN support,\n2024-05-27, v3.31.0-rc1~394^2), which already incorporated such logic\nin the Unix Makefile generator, but was not tested nor implemented for\nNinja.\n\nFixes: #28092\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "52a7158f4b7b103cc8cddc4c1ec1aefe52394182",
      "old_mode": 33188,
      "old_path": "Source/cmGlobalNinjaGenerator.cxx",
      "new_id": "2f45a76d72610a096fa08df642440280f1445800",
      "new_mode": 33188,
      "new_path": "Source/cmGlobalNinjaGenerator.cxx"
    },
    {
      "type": "modify",
      "old_id": "284c23c81004b934f2976d890ae68c7afbd5278a",
      "old_mode": 33188,
      "old_path": "Source/cmGlobalNinjaGenerator.h",
      "new_id": "74b1ff0093d48cf12a31c6575a3a47634d1a3fae",
      "new_mode": 33188,
      "new_path": "Source/cmGlobalNinjaGenerator.h"
    },
    {
      "type": "modify",
      "old_id": "7b072bac31e73eaadabb98d1abe4cf4aaf457f4c",
      "old_mode": 33188,
      "old_path": "Tests/RunCMake/Codegen/RunCMakeTest.cmake",
      "new_id": "5a86b34b17cecc7286469db88776d0d0aebd8af0",
      "new_mode": 33188,
      "new_path": "Tests/RunCMake/Codegen/RunCMakeTest.cmake"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "fab168b6a96267c8c58973e6f3a424c52c672900",
      "new_mode": 33188,
      "new_path": "Tests/RunCMake/Codegen/add-dependencies-not-all-build-check.cmake"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "0d2b950e701658831e7f0e3ee9344060451356b4",
      "new_mode": 33188,
      "new_path": "Tests/RunCMake/Codegen/add-dependencies-not-all.cmake"
    },
    {
      "type": "modify",
      "old_id": "fbb7e99cd7e21c474326fc7a722a50f8daa67eb5",
      "old_mode": 33188,
      "old_path": "Tests/RunCMake/Codegen/add-dependencies.cmake",
      "new_id": "98209bfa2dcc8b9dd0e5ec121a4c39fc55a97a7b",
      "new_mode": 33188,
      "new_path": "Tests/RunCMake/Codegen/add-dependencies.cmake"
    }
  ]
}
