{"action":"created","issue":{"url":"https://api.github.com/repos/MegaGlest/megaglest-source/issues/57","labels_url":"https://api.github.com/repos/MegaGlest/megaglest-source/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/MegaGlest/megaglest-source/issues/57/comments","events_url":"https://api.github.com/repos/MegaGlest/megaglest-source/issues/57/events","html_url":"https://github.com/MegaGlest/megaglest-source/pull/57","id":57721564,"number":57,"title":"Script removes files generated by build process","user":{"login":"goetzk","id":8732490,"avatar_url":"https://avatars.githubusercontent.com/u/8732490?v=3","gravatar_id":"","url":"https://api.github.com/users/goetzk","html_url":"https://github.com/goetzk","followers_url":"https://api.github.com/users/goetzk/followers","following_url":"https://api.github.com/users/goetzk/following{/other_user}","gists_url":"https://api.github.com/users/goetzk/gists{/gist_id}","starred_url":"https://api.github.com/users/goetzk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goetzk/subscriptions","organizations_url":"https://api.github.com/users/goetzk/orgs","repos_url":"https://api.github.com/users/goetzk/repos","events_url":"https://api.github.com/users/goetzk/events{/privacy}","received_events_url":"https://api.github.com/users/goetzk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-15T07:29:15Z","updated_at":"2015-02-17T21:48:27Z","closed_at":"2015-02-17T21:48:27Z","pull_request":{"url":"https://api.github.com/repos/MegaGlest/megaglest-source/pulls/57","html_url":"https://github.com/MegaGlest/megaglest-source/pull/57","diff_url":"https://github.com/MegaGlest/megaglest-source/pull/57.diff","patch_url":"https://github.com/MegaGlest/megaglest-source/pull/57.patch"},"body":"Having a script to remove all these files means no matter how I build I can\r\nstill get rid of the mess.\r\nI don't know if its going to be considered generally useful and worth having\r\nin the source tree but I certainly find it useful."},"comment":{"url":"https://api.github.com/repos/MegaGlest/megaglest-source/issues/comments/74761309","html_url":"https://github.com/MegaGlest/megaglest-source/pull/57#issuecomment-74761309","issue_url":"https://api.github.com/repos/MegaGlest/megaglest-source/issues/57","id":74761309,"user":{"login":"filux","id":5335953,"avatar_url":"https://avatars.githubusercontent.com/u/5335953?v=3","gravatar_id":"","url":"https://api.github.com/users/filux","html_url":"https://github.com/filux","followers_url":"https://api.github.com/users/filux/followers","following_url":"https://api.github.com/users/filux/following{/other_user}","gists_url":"https://api.github.com/users/filux/gists{/gist_id}","starred_url":"https://api.github.com/users/filux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filux/subscriptions","organizations_url":"https://api.github.com/users/filux/orgs","repos_url":"https://api.github.com/users/filux/repos","events_url":"https://api.github.com/users/filux/events{/privacy}","received_events_url":"https://api.github.com/users/filux/received_events","type":"User","site_admin":false},"created_at":"2015-02-17T21:48:27Z","updated_at":"2015-02-17T21:48:27Z","body":"In general for that purpose you should use \"out of source\" build. It is common way to handle mess \r\nafter the build.\r\nBasic steps for this:\r\n```\r\nmkdir build\r\ncd build\r\ncmake ..\r\n```\r\nand for remove:\r\n```\r\ncd ..\r\nrm -r build\r\n```"}}