{"action":"created","issue":{"url":"https://api.github.com/repos/wenns/sonar-cxx/issues/421","labels_url":"https://api.github.com/repos/wenns/sonar-cxx/issues/421/labels{/name}","comments_url":"https://api.github.com/repos/wenns/sonar-cxx/issues/421/comments","events_url":"https://api.github.com/repos/wenns/sonar-cxx/issues/421/events","html_url":"https://github.com/wenns/sonar-cxx/issues/421","id":56849024,"number":421,"title":"Needs to support compile_commands.json","user":{"login":"LegalizeAdulthood","id":4270863,"avatar_url":"https://avatars.githubusercontent.com/u/4270863?v=3","gravatar_id":"","url":"https://api.github.com/users/LegalizeAdulthood","html_url":"https://github.com/LegalizeAdulthood","followers_url":"https://api.github.com/users/LegalizeAdulthood/followers","following_url":"https://api.github.com/users/LegalizeAdulthood/following{/other_user}","gists_url":"https://api.github.com/users/LegalizeAdulthood/gists{/gist_id}","starred_url":"https://api.github.com/users/LegalizeAdulthood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LegalizeAdulthood/subscriptions","organizations_url":"https://api.github.com/users/LegalizeAdulthood/orgs","repos_url":"https://api.github.com/users/LegalizeAdulthood/repos","events_url":"https://api.github.com/users/LegalizeAdulthood/events{/privacy}","received_events_url":"https://api.github.com/users/LegalizeAdulthood/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-06T18:31:07Z","updated_at":"2015-02-06T19:02:25Z","closed_at":null,"body":"sonar-cxx only lets me configure macros and include paths at the project level.  This is an over-simplification of how things work in a C++ code base.\r\n\r\nInstead, it should support [`compile_commands.json`](http://clang.llvm.org/docs/JSONCompilationDatabase.html) which allows me to define includes and preprocessor symbols appropriately for each and every file in my build."},"comment":{"url":"https://api.github.com/repos/wenns/sonar-cxx/issues/comments/73293232","html_url":"https://github.com/wenns/sonar-cxx/issues/421#issuecomment-73293232","issue_url":"https://api.github.com/repos/wenns/sonar-cxx/issues/421","id":73293232,"user":{"login":"jmecosta","id":1041352,"avatar_url":"https://avatars.githubusercontent.com/u/1041352?v=3","gravatar_id":"","url":"https://api.github.com/users/jmecosta","html_url":"https://github.com/jmecosta","followers_url":"https://api.github.com/users/jmecosta/followers","following_url":"https://api.github.com/users/jmecosta/following{/other_user}","gists_url":"https://api.github.com/users/jmecosta/gists{/gist_id}","starred_url":"https://api.github.com/users/jmecosta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmecosta/subscriptions","organizations_url":"https://api.github.com/users/jmecosta/orgs","repos_url":"https://api.github.com/users/jmecosta/repos","events_url":"https://api.github.com/users/jmecosta/events{/privacy}","received_events_url":"https://api.github.com/users/jmecosta/received_events","type":"User","site_admin":false},"created_at":"2015-02-06T19:02:25Z","updated_at":"2015-02-06T19:02:25Z","body":"How would you produce the compile commands file?\n\nOn Fri, Feb 6, 2015, 20:43 Richard Thomson <notifications@github.com> wrote:\n\n> Oh, and this would come for free if you were based on clang libtooling.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/wenns/sonar-cxx/issues/421#issuecomment-73289909>.\n>\n"}}