{"action":"closed","number":14,"pull_request":{"url":"https://api.github.com/repos/mattgodbolt/seasocks/pulls/14","id":47988941,"html_url":"https://github.com/mattgodbolt/seasocks/pull/14","diff_url":"https://github.com/mattgodbolt/seasocks/pull/14.diff","patch_url":"https://github.com/mattgodbolt/seasocks/pull/14.patch","issue_url":"https://api.github.com/repos/mattgodbolt/seasocks/issues/14","number":14,"state":"closed","locked":false,"title":"CMake added","user":{"login":"offa","id":8887756,"avatar_url":"https://avatars.githubusercontent.com/u/8887756?v=3","gravatar_id":"","url":"https://api.github.com/users/offa","html_url":"https://github.com/offa","followers_url":"https://api.github.com/users/offa/followers","following_url":"https://api.github.com/users/offa/following{/other_user}","gists_url":"https://api.github.com/users/offa/gists{/gist_id}","starred_url":"https://api.github.com/users/offa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/offa/subscriptions","organizations_url":"https://api.github.com/users/offa/orgs","repos_url":"https://api.github.com/users/offa/repos","events_url":"https://api.github.com/users/offa/events{/privacy}","received_events_url":"https://api.github.com/users/offa/received_events","type":"User","site_admin":false},"body":"This PR addes cmake as a second build tool.\r\n\r\n### Available:\r\n\r\n- Building of library and apps\r\n- Installation using `make install`\r\n- Travis CI (Matrix using both)\r\n- Generation of embedded content\r\n- Testing compiler for `emplace()`\r\n- Optional building / running of tests using gtest / gmock (default: `OFF`)\r\n- Configure file - `Config.h` (based on a custom template in `cmake/`)\r\n\r\n### Not (yet) available:\r\n- Building tests on CI using cmake\r\n\r\nSince google has merged gtest / gmock into one project - gmock depends on gtest though - i'm not sure how to handle this case on CI. It seems gmock requires gtest but doesn't ship it anymore in one bundle (?).\r\n\r\nAt the moment cmake will look for both if tests are enabled, otherwise there's no dependency on gtest / gmock if disabled.\r\n\r\n### What's different to autoconf:\r\n\r\nThe cmake builds will use it's own `Config.h` (`cmake` directory); it has only a definition for `HAVE_UNORDERED_MAP_EMPLACE`, since i didn't see any usage of all the other flags. However, adding more options is simple enough.\r\n","created_at":"2015-10-17T15:47:55Z","updated_at":"2015-10-18T19:42:56Z","closed_at":"2015-10-18T19:42:56Z","merged_at":"2015-10-18T19:42:56Z","merge_commit_sha":"2a771094a6d4ff22504484cea07027edc93f4894","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mattgodbolt/seasocks/pulls/14/commits","review_comments_url":"https://api.github.com/repos/mattgodbolt/seasocks/pulls/14/comments","review_comment_url":"https://api.github.com/repos/mattgodbolt/seasocks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mattgodbolt/seasocks/issues/14/comments","statuses_url":"https://api.github.com/repos/mattgodbolt/seasocks/statuses/c6af9b625721e58e2aa812298fd2024c1041ca15","head":{"label":"offa:cmake","ref":"cmake","sha":"c6af9b625721e58e2aa812298fd2024c1041ca15","user":{"login":"offa","id":8887756,"avatar_url":"https://avatars.githubusercontent.com/u/8887756?v=3","gravatar_id":"","url":"https://api.github.com/users/offa","html_url":"https://github.com/offa","followers_url":"https://api.github.com/users/offa/followers","following_url":"https://api.github.com/users/offa/following{/other_user}","gists_url":"https://api.github.com/users/offa/gists{/gist_id}","starred_url":"https://api.github.com/users/offa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/offa/subscriptions","organizations_url":"https://api.github.com/users/offa/orgs","repos_url":"https://api.github.com/users/offa/repos","events_url":"https://api.github.com/users/offa/events{/privacy}","received_events_url":"https://api.github.com/users/offa/received_events","type":"User","site_admin":false},"repo":{"id":43975664,"name":"seasocks","full_name":"offa/seasocks","owner":{"login":"offa","id":8887756,"avatar_url":"https://avatars.githubusercontent.com/u/8887756?v=3","gravatar_id":"","url":"https://api.github.com/users/offa","html_url":"https://github.com/offa","followers_url":"https://api.github.com/users/offa/followers","following_url":"https://api.github.com/users/offa/following{/other_user}","gists_url":"https://api.github.com/users/offa/gists{/gist_id}","starred_url":"https://api.github.com/users/offa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/offa/subscriptions","organizations_url":"https://api.github.com/users/offa/orgs","repos_url":"https://api.github.com/users/offa/repos","events_url":"https://api.github.com/users/offa/events{/privacy}","received_events_url":"https://api.github.com/users/offa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/offa/seasocks","description":"Simple, small, C++ embeddable webserver with WebSockets support","fork":true,"url":"https://api.github.com/repos/offa/seasocks","forks_url":"https://api.github.com/repos/offa/seasocks/forks","keys_url":"https://api.github.com/repos/offa/seasocks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/offa/seasocks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/offa/seasocks/teams","hooks_url":"https://api.github.com/repos/offa/seasocks/hooks","issue_events_url":"https://api.github.com/repos/offa/seasocks/issues/events{/number}","events_url":"https://api.github.com/repos/offa/seasocks/events","assignees_url":"https://api.github.com/repos/offa/seasocks/assignees{/user}","branches_url":"https://api.github.com/repos/offa/seasocks/branches{/branch}","tags_url":"https://api.github.com/repos/offa/seasocks/tags","blobs_url":"https://api.github.com/repos/offa/seasocks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/offa/seasocks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/offa/seasocks/git/refs{/sha}","trees_url":"https://api.github.com/repos/offa/seasocks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/offa/seasocks/statuses/{sha}","languages_url":"https://api.github.com/repos/offa/seasocks/languages","stargazers_url":"https://api.github.com/repos/offa/seasocks/stargazers","contributors_url":"https://api.github.com/repos/offa/seasocks/contributors","subscribers_url":"https://api.github.com/repos/offa/seasocks/subscribers","subscription_url":"https://api.github.com/repos/offa/seasocks/subscription","commits_url":"https://api.github.com/repos/offa/seasocks/commits{/sha}","git_commits_url":"https://api.github.com/repos/offa/seasocks/git/commits{/sha}","comments_url":"https://api.github.com/repos/offa/seasocks/comments{/number}","issue_comment_url":"https://api.github.com/repos/offa/seasocks/issues/comments{/number}","contents_url":"https://api.github.com/repos/offa/seasocks/contents/{+path}","compare_url":"https://api.github.com/repos/offa/seasocks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/offa/seasocks/merges","archive_url":"https://api.github.com/repos/offa/seasocks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/offa/seasocks/downloads","issues_url":"https://api.github.com/repos/offa/seasocks/issues{/number}","pulls_url":"https://api.github.com/repos/offa/seasocks/pulls{/number}","milestones_url":"https://api.github.com/repos/offa/seasocks/milestones{/number}","notifications_url":"https://api.github.com/repos/offa/seasocks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/offa/seasocks/labels{/name}","releases_url":"https://api.github.com/repos/offa/seasocks/releases{/id}","created_at":"2015-10-09T19:24:05Z","updated_at":"2015-10-09T19:32:53Z","pushed_at":"2015-10-17T15:20:17Z","git_url":"git://github.com/offa/seasocks.git","ssh_url":"git@github.com:offa/seasocks.git","clone_url":"https://github.com/offa/seasocks.git","svn_url":"https://github.com/offa/seasocks","homepage":null,"size":647,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"mattgodbolt:master","ref":"master","sha":"1c6fc8aa1df38c73ba7555ff61da3d32938a46a3","user":{"login":"mattgodbolt","id":633973,"avatar_url":"https://avatars.githubusercontent.com/u/633973?v=3","gravatar_id":"","url":"https://api.github.com/users/mattgodbolt","html_url":"https://github.com/mattgodbolt","followers_url":"https://api.github.com/users/mattgodbolt/followers","following_url":"https://api.github.com/users/mattgodbolt/following{/other_user}","gists_url":"https://api.github.com/users/mattgodbolt/gists{/gist_id}","starred_url":"https://api.github.com/users/mattgodbolt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattgodbolt/subscriptions","organizations_url":"https://api.github.com/users/mattgodbolt/orgs","repos_url":"https://api.github.com/users/mattgodbolt/repos","events_url":"https://api.github.com/users/mattgodbolt/events{/privacy}","received_events_url":"https://api.github.com/users/mattgodbolt/received_events","type":"User","site_admin":false},"repo":{"id":13523687,"name":"seasocks","full_name":"mattgodbolt/seasocks","owner":{"login":"mattgodbolt","id":633973,"avatar_url":"https://avatars.githubusercontent.com/u/633973?v=3","gravatar_id":"","url":"https://api.github.com/users/mattgodbolt","html_url":"https://github.com/mattgodbolt","followers_url":"https://api.github.com/users/mattgodbolt/followers","following_url":"https://api.github.com/users/mattgodbolt/following{/other_user}","gists_url":"https://api.github.com/users/mattgodbolt/gists{/gist_id}","starred_url":"https://api.github.com/users/mattgodbolt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattgodbolt/subscriptions","organizations_url":"https://api.github.com/users/mattgodbolt/orgs","repos_url":"https://api.github.com/users/mattgodbolt/repos","events_url":"https://api.github.com/users/mattgodbolt/events{/privacy}","received_events_url":"https://api.github.com/users/mattgodbolt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mattgodbolt/seasocks","description":"Simple, small, C++ embeddable webserver with WebSockets support","fork":false,"url":"https://api.github.com/repos/mattgodbolt/seasocks","forks_url":"https://api.github.com/repos/mattgodbolt/seasocks/forks","keys_url":"https://api.github.com/repos/mattgodbolt/seasocks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mattgodbolt/seasocks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mattgodbolt/seasocks/teams","hooks_url":"https://api.github.com/repos/mattgodbolt/seasocks/hooks","issue_events_url":"https://api.github.com/repos/mattgodbolt/seasocks/issues/events{/number}","events_url":"https://api.github.com/repos/mattgodbolt/seasocks/events","assignees_url":"https://api.github.com/repos/mattgodbolt/seasocks/assignees{/user}","branches_url":"https://api.github.com/repos/mattgodbolt/seasocks/branches{/branch}","tags_url":"https://api.github.com/repos/mattgodbolt/seasocks/tags","blobs_url":"https://api.github.com/repos/mattgodbolt/seasocks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mattgodbolt/seasocks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mattgodbolt/seasocks/git/refs{/sha}","trees_url":"https://api.github.com/repos/mattgodbolt/seasocks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mattgodbolt/seasocks/statuses/{sha}","languages_url":"https://api.github.com/repos/mattgodbolt/seasocks/languages","stargazers_url":"https://api.github.com/repos/mattgodbolt/seasocks/stargazers","contributors_url":"https://api.github.com/repos/mattgodbolt/seasocks/contributors","subscribers_url":"https://api.github.com/repos/mattgodbolt/seasocks/subscribers","subscription_url":"https://api.github.com/repos/mattgodbolt/seasocks/subscription","commits_url":"https://api.github.com/repos/mattgodbolt/seasocks/commits{/sha}","git_commits_url":"https://api.github.com/repos/mattgodbolt/seasocks/git/commits{/sha}","comments_url":"https://api.github.com/repos/mattgodbolt/seasocks/comments{/number}","issue_comment_url":"https://api.github.com/repos/mattgodbolt/seasocks/issues/comments{/number}","contents_url":"https://api.github.com/repos/mattgodbolt/seasocks/contents/{+path}","compare_url":"https://api.github.com/repos/mattgodbolt/seasocks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mattgodbolt/seasocks/merges","archive_url":"https://api.github.com/repos/mattgodbolt/seasocks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mattgodbolt/seasocks/downloads","issues_url":"https://api.github.com/repos/mattgodbolt/seasocks/issues{/number}","pulls_url":"https://api.github.com/repos/mattgodbolt/seasocks/pulls{/number}","milestones_url":"https://api.github.com/repos/mattgodbolt/seasocks/milestones{/number}","notifications_url":"https://api.github.com/repos/mattgodbolt/seasocks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mattgodbolt/seasocks/labels{/name}","releases_url":"https://api.github.com/repos/mattgodbolt/seasocks/releases{/id}","created_at":"2013-10-12T15:14:37Z","updated_at":"2015-10-11T00:50:22Z","pushed_at":"2015-10-18T19:42:56Z","git_url":"git://github.com/mattgodbolt/seasocks.git","ssh_url":"git@github.com:mattgodbolt/seasocks.git","clone_url":"https://github.com/mattgodbolt/seasocks.git","svn_url":"https://github.com/mattgodbolt/seasocks","homepage":null,"size":1147,"stargazers_count":106,"watchers_count":106,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":3,"forks":9,"open_issues":3,"watchers":106,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mattgodbolt/seasocks/pulls/14"},"html":{"href":"https://github.com/mattgodbolt/seasocks/pull/14"},"issue":{"href":"https://api.github.com/repos/mattgodbolt/seasocks/issues/14"},"comments":{"href":"https://api.github.com/repos/mattgodbolt/seasocks/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/mattgodbolt/seasocks/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/mattgodbolt/seasocks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mattgodbolt/seasocks/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/mattgodbolt/seasocks/statuses/c6af9b625721e58e2aa812298fd2024c1041ca15"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"mattgodbolt","id":633973,"avatar_url":"https://avatars.githubusercontent.com/u/633973?v=3","gravatar_id":"","url":"https://api.github.com/users/mattgodbolt","html_url":"https://github.com/mattgodbolt","followers_url":"https://api.github.com/users/mattgodbolt/followers","following_url":"https://api.github.com/users/mattgodbolt/following{/other_user}","gists_url":"https://api.github.com/users/mattgodbolt/gists{/gist_id}","starred_url":"https://api.github.com/users/mattgodbolt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattgodbolt/subscriptions","organizations_url":"https://api.github.com/users/mattgodbolt/orgs","repos_url":"https://api.github.com/users/mattgodbolt/repos","events_url":"https://api.github.com/users/mattgodbolt/events{/privacy}","received_events_url":"https://api.github.com/users/mattgodbolt/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":18,"additions":212,"deletions":4,"changed_files":11}}