{"action":"created","issue":{"url":"https://api.github.com/repos/niosus/EasyClangComplete/issues/19","repository_url":"https://api.github.com/repos/niosus/EasyClangComplete","labels_url":"https://api.github.com/repos/niosus/EasyClangComplete/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/niosus/EasyClangComplete/issues/19/comments","events_url":"https://api.github.com/repos/niosus/EasyClangComplete/issues/19/events","html_url":"https://github.com/niosus/EasyClangComplete/issues/19","id":157341608,"number":19,"title":"Support cmake CMAKE_EXPORT_COMPILE_COMMANDS and compile_commands.json","user":{"login":"milot-mirdita","id":63657,"avatar_url":"https://avatars.githubusercontent.com/u/63657?v=3","gravatar_id":"","url":"https://api.github.com/users/milot-mirdita","html_url":"https://github.com/milot-mirdita","followers_url":"https://api.github.com/users/milot-mirdita/followers","following_url":"https://api.github.com/users/milot-mirdita/following{/other_user}","gists_url":"https://api.github.com/users/milot-mirdita/gists{/gist_id}","starred_url":"https://api.github.com/users/milot-mirdita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milot-mirdita/subscriptions","organizations_url":"https://api.github.com/users/milot-mirdita/orgs","repos_url":"https://api.github.com/users/milot-mirdita/repos","events_url":"https://api.github.com/users/milot-mirdita/events{/privacy}","received_events_url":"https://api.github.com/users/milot-mirdita/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/niosus/EasyClangComplete/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":30,"created_at":"2016-05-28T14:38:07Z","updated_at":"2016-08-26T19:59:06Z","closed_at":null,"body":"Thanks for the plugin! It would be cool, if ECC could read the compile_commands.json file that cmake generates if you pass -DCMAKE_EXPORT_COMPILE_COMMANDS=ON.\r\nIn this file it lists all flags that where used for every file.\r\n\r\nThe compile_commands.json output looks like this:\r\n\r\n```\r\n[\r\n{\r\n  \"directory\": \"/Users/me/mytool\",\r\n  \"command\": \"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++   -DAVX2 -I/Users/me/repositories/mytool/src/commons -I/Users/me/repositories/mytool/src/util -I/Users/me/repositories/mytool/lib/getoptpp    -march=native -mavx2 -mfpmath=sse -std=c++0x -m64 -pedantic -Wall -Wextra -Winline -Wdisabled-optimization -Wno-unused-parameter -stdlib=libc++ -O3 -DNDEBUG  -march=native -mavx2 -mfpmath=sse -O3 -DNDEBUG -ffast-math -fno-exceptions -ftree-vectorize -fno-strict-aliasing   -o src/CMakeFiles/mytool.dir/mytool.cpp.o -c /Users/me/repositories/mytool/src/mytool.cpp\",\r\n  \"file\": \"/Users/me/repositories/mytool/src/mytool.cpp\"\r\n}\r\n...\r\n]\r\n````"},"comment":{"url":"https://api.github.com/repos/niosus/EasyClangComplete/issues/comments/242836092","html_url":"https://github.com/niosus/EasyClangComplete/issues/19#issuecomment-242836092","issue_url":"https://api.github.com/repos/niosus/EasyClangComplete/issues/19","id":242836092,"user":{"login":"merlinthered","id":2165185,"avatar_url":"https://avatars.githubusercontent.com/u/2165185?v=3","gravatar_id":"","url":"https://api.github.com/users/merlinthered","html_url":"https://github.com/merlinthered","followers_url":"https://api.github.com/users/merlinthered/followers","following_url":"https://api.github.com/users/merlinthered/following{/other_user}","gists_url":"https://api.github.com/users/merlinthered/gists{/gist_id}","starred_url":"https://api.github.com/users/merlinthered/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/merlinthered/subscriptions","organizations_url":"https://api.github.com/users/merlinthered/orgs","repos_url":"https://api.github.com/users/merlinthered/repos","events_url":"https://api.github.com/users/merlinthered/events{/privacy}","received_events_url":"https://api.github.com/users/merlinthered/received_events","type":"User","site_admin":false},"created_at":"2016-08-26T19:59:06Z","updated_at":"2016-08-26T19:59:06Z","body":"That was also my concern. We need an elegant solution for automatically finding the correct include paths. Letting the user specify a script that does this might be the most universal solution. Then, some predefined solutions for common build systems might be shipped with the plugin."}}
{"actor":{"display_login":"merlinthered"}}