)]}'
{
  "commit": "5ffe06019a6c741ee7edc940ffeeceaaeabfa05d",
  "tree": "ebdbb18bc98c88489a0247a618abcc62793d6df0",
  "parents": [
    "0e811b0881f1f21df0ae04fd745ae4ba5189cac1"
  ],
  "author": {
    "name": "Alex Stewart",
    "email": "alexs.mac@gmail.com",
    "time": "Thu May 01 12:06:46 2014 +0100"
  },
  "committer": {
    "name": "Sameer Agarwal",
    "email": "sameeragarwal@google.com",
    "time": "Fri May 02 13:33:24 2014 +0000"
  },
  "message": "Export Ceres compile definitions to targets compiled against Ceres.\n\n- Previously all Ceres compile definitions were private to Ceres, that\n  is they were not exported to users via the CMake export mechanism.\n- Now that we use compile definitions in public (installed) Ceres\n  headers, we need to export the Ceres compile definitions.\n- If we did not do this, then the client\u0027s code \u0027see\u0027s\u0027 a different\n  version of the Ceres headers to those which were in fact compiled,\n  or in the case of shared_ptr, may not find the required header.\n\n- This patch makes use of the new, in CMake 2.8.11, function:\n  target_compile_definitions() to export all of the Ceres compile\n  definitions using CMake\u0027s export functionality.\n- For CMake versions \u003c 2.8.11, we have to use the blunter instrument of\n  calling add_definitions() in CeresConfig.cmake (invoked by a call to\n  find_package(Ceres)).  This is messy because it ends up adding the\n  Ceres compile definitions to any target declared in the user\u0027s code\n  after the call to find_package(Ceres).  Although this should do no\n  harm as all of our defines are prefaced with CERES_, so any\n  unintentional name clashes are unlikely.\n\nChange-Id: I5dea80949190eaf4fb08ea4ac568ce28c32dd4e0\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5110d26d1df8827ee36515986f50dfd2e7c6c582",
      "old_mode": 33188,
      "old_path": "CMakeLists.txt",
      "new_id": "d95966971c0cc4f1b40097370c6cb812cd9dfe8e",
      "new_mode": 33188,
      "new_path": "CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "02da76648da97439daaf35a8940d8a547e218733",
      "old_mode": 33188,
      "old_path": "cmake/CeresConfig.cmake.in",
      "new_id": "56a21941e743dbff9a6d0c393f82c952c55bfd3a",
      "new_mode": 33188,
      "new_path": "cmake/CeresConfig.cmake.in"
    },
    {
      "type": "modify",
      "old_id": "b9597682938e83e0551ea1f1873650ff5150b416",
      "old_mode": 33188,
      "old_path": "internal/ceres/CMakeLists.txt",
      "new_id": "7b7f21d7a896198b9851993e8bb95df8aa101b46",
      "new_mode": 33188,
      "new_path": "internal/ceres/CMakeLists.txt"
    }
  ]
}
