{"action":"created","issue":{"url":"https://api.github.com/repos/LazyT/rrcc/issues/9","repository_url":"https://api.github.com/repos/LazyT/rrcc","labels_url":"https://api.github.com/repos/LazyT/rrcc/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/LazyT/rrcc/issues/9/comments","events_url":"https://api.github.com/repos/LazyT/rrcc/issues/9/events","html_url":"https://github.com/LazyT/rrcc/pull/9","id":391456974,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM4OTU5ODA0","number":9,"title":"Add cmake build system","user":{"login":"cryptomilk","id":545480,"node_id":"MDQ6VXNlcjU0NTQ4MA==","avatar_url":"https://avatars1.githubusercontent.com/u/545480?v=4","gravatar_id":"","url":"https://api.github.com/users/cryptomilk","html_url":"https://github.com/cryptomilk","followers_url":"https://api.github.com/users/cryptomilk/followers","following_url":"https://api.github.com/users/cryptomilk/following{/other_user}","gists_url":"https://api.github.com/users/cryptomilk/gists{/gist_id}","starred_url":"https://api.github.com/users/cryptomilk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cryptomilk/subscriptions","organizations_url":"https://api.github.com/users/cryptomilk/orgs","repos_url":"https://api.github.com/users/cryptomilk/repos","events_url":"https://api.github.com/users/cryptomilk/events{/privacy}","received_events_url":"https://api.github.com/users/cryptomilk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-16T11:09:57Z","updated_at":"2018-12-16T12:35:10Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/LazyT/rrcc/pulls/9","html_url":"https://github.com/LazyT/rrcc/pull/9","diff_url":"https://github.com/LazyT/rrcc/pull/9.diff","patch_url":"https://github.com/LazyT/rrcc/pull/9.patch"},"body":"Hi,\r\n\r\nI've wanted to create RPM packages for rrcc, however the qmake based files do not provide a way and also it is normally ugly to get it fully working. So I've started to write cmake files.\r\n\r\nIt correctly builds and installs. However the resources are not found like icons or translation because it looks for them in the same location as the binary.\r\n\r\nThe best would be to define those locations in a \"config.h\" file and then load them from those locations. Maybe have two, a in build tree location and a installation location.\r\n\r\nI've only created them for Linux, changes for other systems are still missing but it is a start ...\r\n\r\ncmake can create Visual Studio, mingw or msys build files too."},"comment":{"url":"https://api.github.com/repos/LazyT/rrcc/issues/comments/447639830","html_url":"https://github.com/LazyT/rrcc/pull/9#issuecomment-447639830","issue_url":"https://api.github.com/repos/LazyT/rrcc/issues/9","id":447639830,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NzYzOTgzMA==","user":{"login":"cryptomilk","id":545480,"node_id":"MDQ6VXNlcjU0NTQ4MA==","avatar_url":"https://avatars1.githubusercontent.com/u/545480?v=4","gravatar_id":"","url":"https://api.github.com/users/cryptomilk","html_url":"https://github.com/cryptomilk","followers_url":"https://api.github.com/users/cryptomilk/followers","following_url":"https://api.github.com/users/cryptomilk/following{/other_user}","gists_url":"https://api.github.com/users/cryptomilk/gists{/gist_id}","starred_url":"https://api.github.com/users/cryptomilk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cryptomilk/subscriptions","organizations_url":"https://api.github.com/users/cryptomilk/orgs","repos_url":"https://api.github.com/users/cryptomilk/repos","events_url":"https://api.github.com/users/cryptomilk/events{/privacy}","received_events_url":"https://api.github.com/users/cryptomilk/received_events","type":"User","site_admin":false},"created_at":"2018-12-16T12:35:10Z","updated_at":"2018-12-16T12:35:10Z","author_association":"NONE","body":"For Windows you can create a NSIS installer using the cpack. You get a package target in mingw or VS\r\n\r\nExample:\r\nhttps://git.cryptomilk.org/projects/cmocka.git/tree/CPackConfig.cmake"}}
{"actor":{"display_login":"cryptomilk"}}