{"action":"created","issue":{"url":"https://api.github.com/repos/openstreetmap/osm2pgsql/issues/460","labels_url":"https://api.github.com/repos/openstreetmap/osm2pgsql/issues/460/labels{/name}","comments_url":"https://api.github.com/repos/openstreetmap/osm2pgsql/issues/460/comments","events_url":"https://api.github.com/repos/openstreetmap/osm2pgsql/issues/460/events","html_url":"https://github.com/openstreetmap/osm2pgsql/pull/460","id":111707289,"number":460,"title":"Add cmake build scripts and appveyor.yml","user":{"login":"alex85k","id":4124648,"avatar_url":"https://avatars.githubusercontent.com/u/4124648?v=3","gravatar_id":"","url":"https://api.github.com/users/alex85k","html_url":"https://github.com/alex85k","followers_url":"https://api.github.com/users/alex85k/followers","following_url":"https://api.github.com/users/alex85k/following{/other_user}","gists_url":"https://api.github.com/users/alex85k/gists{/gist_id}","starred_url":"https://api.github.com/users/alex85k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex85k/subscriptions","organizations_url":"https://api.github.com/users/alex85k/orgs","repos_url":"https://api.github.com/users/alex85k/repos","events_url":"https://api.github.com/users/alex85k/events{/privacy}","received_events_url":"https://api.github.com/users/alex85k/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":78,"created_at":"2015-10-15T21:03:08Z","updated_at":"2015-10-26T12:37:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openstreetmap/osm2pgsql/pulls/460","html_url":"https://github.com/openstreetmap/osm2pgsql/pull/460","diff_url":"https://github.com/openstreetmap/osm2pgsql/pull/460.diff","patch_url":"https://github.com/openstreetmap/osm2pgsql/pull/460.patch"},"body":"Here is my attemp to make cmake build scripts available for main repository.\r\nI have modified .travis.yml to build one version with cmake too. \r\n\r\nTo make appveyor work like here https://ci.appveyor.com/project/alex85k/osm2pgsql , you need to login and enable it for main repository.\r\n\r\nNotes:\r\n - Have two warnings in cmake build, can not apply -Werror (some flags??)\r\nhttps://travis-ci.org/openstreetmap/osm2pgsql/jobs/85616194\r\n - In appveyor.yml there is ACCOUNT variable and `curl -T` - it is uploading windows build to my shared folder https://yadi.sk/d/ACuCgfNIRUULH and should be better replaced in production\r\n - In appveyor.yml there is a download of Windows dependenices from my Dropbox. Better to be placed somewhere else :)"},"comment":{"url":"https://api.github.com/repos/openstreetmap/osm2pgsql/issues/comments/151120694","html_url":"https://github.com/openstreetmap/osm2pgsql/pull/460#issuecomment-151120694","issue_url":"https://api.github.com/repos/openstreetmap/osm2pgsql/issues/460","id":151120694,"user":{"login":"DerDakon","id":10909049,"avatar_url":"https://avatars.githubusercontent.com/u/10909049?v=3","gravatar_id":"","url":"https://api.github.com/users/DerDakon","html_url":"https://github.com/DerDakon","followers_url":"https://api.github.com/users/DerDakon/followers","following_url":"https://api.github.com/users/DerDakon/following{/other_user}","gists_url":"https://api.github.com/users/DerDakon/gists{/gist_id}","starred_url":"https://api.github.com/users/DerDakon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DerDakon/subscriptions","organizations_url":"https://api.github.com/users/DerDakon/orgs","repos_url":"https://api.github.com/users/DerDakon/repos","events_url":"https://api.github.com/users/DerDakon/events{/privacy}","received_events_url":"https://api.github.com/users/DerDakon/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T12:37:32Z","updated_at":"2015-10-26T12:37:32Z","body":"If I get it right your idea is \"mkdir build && cd build && cmake .. && make test\" and everything is built and tests are run. I don't know if that is possible, at least not in a portable way. I don't think it's worth the hassle anyway. If you want to run the tests build the software first."}}