{"action":"created","issue":{"url":"https://api.github.com/repos/gabime/spdlog/issues/127","labels_url":"https://api.github.com/repos/gabime/spdlog/issues/127/labels{/name}","comments_url":"https://api.github.com/repos/gabime/spdlog/issues/127/comments","events_url":"https://api.github.com/repos/gabime/spdlog/issues/127/events","html_url":"https://github.com/gabime/spdlog/pull/127","id":105853651,"number":127,"title":"Add CMake build","user":{"login":"ruslo","id":4346993,"avatar_url":"https://avatars.githubusercontent.com/u/4346993?v=3","gravatar_id":"","url":"https://api.github.com/users/ruslo","html_url":"https://github.com/ruslo","followers_url":"https://api.github.com/users/ruslo/followers","following_url":"https://api.github.com/users/ruslo/following{/other_user}","gists_url":"https://api.github.com/users/ruslo/gists{/gist_id}","starred_url":"https://api.github.com/users/ruslo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruslo/subscriptions","organizations_url":"https://api.github.com/users/ruslo/orgs","repos_url":"https://api.github.com/users/ruslo/repos","events_url":"https://api.github.com/users/ruslo/events{/privacy}","received_events_url":"https://api.github.com/users/ruslo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-10T17:05:51Z","updated_at":"2015-09-14T12:10:18Z","closed_at":"2015-09-10T21:45:15Z","pull_request":{"url":"https://api.github.com/repos/gabime/spdlog/pulls/127","html_url":"https://github.com/gabime/spdlog/pull/127","diff_url":"https://github.com/gabime/spdlog/pull/127.diff","patch_url":"https://github.com/gabime/spdlog/pull/127.patch"},"body":"With this CMake code library can be installed and found by `find_package` like this:\r\n\r\n```cmake\r\nfind_package(spdlog CONFIG REQUIRED)\r\n\r\nadd_executable(example example.cpp)\r\ntarget_link_libraries(example spdlog::spdlog)\r\n```\r\n\r\nalso tests can be run using CTest.\r\n\r\nI see no releases so version set to `1.0.0`."},"comment":{"url":"https://api.github.com/repos/gabime/spdlog/issues/comments/140050597","html_url":"https://github.com/gabime/spdlog/pull/127#issuecomment-140050597","issue_url":"https://api.github.com/repos/gabime/spdlog/issues/127","id":140050597,"user":{"login":"ruslo","id":4346993,"avatar_url":"https://avatars.githubusercontent.com/u/4346993?v=3","gravatar_id":"","url":"https://api.github.com/users/ruslo","html_url":"https://github.com/ruslo","followers_url":"https://api.github.com/users/ruslo/followers","following_url":"https://api.github.com/users/ruslo/following{/other_user}","gists_url":"https://api.github.com/users/ruslo/gists{/gist_id}","starred_url":"https://api.github.com/users/ruslo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruslo/subscriptions","organizations_url":"https://api.github.com/users/ruslo/orgs","repos_url":"https://api.github.com/users/ruslo/repos","events_url":"https://api.github.com/users/ruslo/events{/privacy}","received_events_url":"https://api.github.com/users/ruslo/received_events","type":"User","site_admin":false},"created_at":"2015-09-14T12:10:18Z","updated_at":"2015-09-14T12:10:18Z","body":"> Could you please add a section in the wiki that briefly explains the cmake usage?\r\n\r\n@gabime please take a look here: https://github.com/gabime/spdlog/wiki/CMake-build"}}