{"action":"created","issue":{"url":"https://api.github.com/repos/Andersbakken/rtags/issues/647","repository_url":"https://api.github.com/repos/Andersbakken/rtags","labels_url":"https://api.github.com/repos/Andersbakken/rtags/issues/647/labels{/name}","comments_url":"https://api.github.com/repos/Andersbakken/rtags/issues/647/comments","events_url":"https://api.github.com/repos/Andersbakken/rtags/issues/647/events","html_url":"https://github.com/Andersbakken/rtags/issues/647","id":144154598,"number":647,"title":"the index does not start with openwrt grouped by buildroot","user":{"login":"lianghu","id":3190996,"avatar_url":"https://avatars.githubusercontent.com/u/3190996?v=3","gravatar_id":"","url":"https://api.github.com/users/lianghu","html_url":"https://github.com/lianghu","followers_url":"https://api.github.com/users/lianghu/followers","following_url":"https://api.github.com/users/lianghu/following{/other_user}","gists_url":"https://api.github.com/users/lianghu/gists{/gist_id}","starred_url":"https://api.github.com/users/lianghu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lianghu/subscriptions","organizations_url":"https://api.github.com/users/lianghu/orgs","repos_url":"https://api.github.com/users/lianghu/repos","events_url":"https://api.github.com/users/lianghu/events{/privacy}","received_events_url":"https://api.github.com/users/lianghu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-29T04:41:50Z","updated_at":"2016-03-30T08:14:23Z","closed_at":null,"body":"I use the Bear to create the compile data file compile_commands.json successfully at the root of openwrt  project https://github.com/openwrt/openwrt\r\n$ cd openwrt\r\n$rdm &\r\n$rc -J compile_commands.json\r\n\r\nBut there is no index files gernerated under ~/.rtags/ for any file in the project.\r\n\r\n$rc --find-project-root /home/lianghu/openwrt/marvell/linux/drivers/clk/xxx/clk-yyy.c                                                                                  \r\nfindProjectRoot [/home/lianghu/openwrt/marvell/linux/drivers/clk/xxx/clk-yyy.c] => [/home/lianghu/openwrt/]\r\n\r\nIs it because the buildroot tool make the projects with rtags unknown style?\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Andersbakken/rtags/issues/comments/203312333","html_url":"https://github.com/Andersbakken/rtags/issues/647#issuecomment-203312333","issue_url":"https://api.github.com/repos/Andersbakken/rtags/issues/647","id":203312333,"user":{"login":"lianghu","id":3190996,"avatar_url":"https://avatars.githubusercontent.com/u/3190996?v=3","gravatar_id":"","url":"https://api.github.com/users/lianghu","html_url":"https://github.com/lianghu","followers_url":"https://api.github.com/users/lianghu/followers","following_url":"https://api.github.com/users/lianghu/following{/other_user}","gists_url":"https://api.github.com/users/lianghu/gists{/gist_id}","starred_url":"https://api.github.com/users/lianghu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lianghu/subscriptions","organizations_url":"https://api.github.com/users/lianghu/orgs","repos_url":"https://api.github.com/users/lianghu/repos","events_url":"https://api.github.com/users/lianghu/events{/privacy}","received_events_url":"https://api.github.com/users/lianghu/received_events","type":"User","site_admin":false},"created_at":"2016-03-30T08:14:23Z","updated_at":"2016-03-30T08:14:23Z","body":"Further narrow down to 3 issues\r\n\r\n1,  clang does not support some gcc options, just like #591, can use similar -G  input to rdm\r\n2,  How to ignore a gcc option pattern  such as \"-Wp,-MD,/xxx/yyy/zzz.o.d\" or  \"-Wp,-MMD,/xxx/yyy/zzz.o.d\" ?\r\n3,  How to handle the build system copying the sources to another build_dir like buildroot in openwrt?\r\n\r\nP.S. How to make the compile_commands.json files if  a project include some different directories with different make CONFIG options?\r\n"}}