{"action":"created","issue":{"url":"https://api.github.com/repos/systemed/tilemaker/issues/24","labels_url":"https://api.github.com/repos/systemed/tilemaker/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/systemed/tilemaker/issues/24/comments","events_url":"https://api.github.com/repos/systemed/tilemaker/issues/24/events","html_url":"https://github.com/systemed/tilemaker/pull/24","id":110807665,"number":24,"title":"Support building on Windows","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":2,"created_at":"2015-10-10T17:44:58Z","updated_at":"2015-10-11T06:17:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/systemed/tilemaker/pulls/24","html_url":"https://github.com/systemed/tilemaker/pull/24","diff_url":"https://github.com/systemed/tilemaker/pull/24.diff","patch_url":"https://github.com/systemed/tilemaker/pull/24.patch"},"body":"Thank you very much for this good tool!\r\n\r\nUsage of C++11 allows simple cross-platform builds. I had to do only one small change (define uint type) to make it compile under Visual Studio 2015.\r\n\r\nIt would be useful to add cmake build scripts for systems that have libraries in different locations.\r\nFor example, osrm and libosmium have them.\r\n\r\ncmake will not break the existing Makefile build (special check is included)\r\n\r\nThe script should also work on Linux/BSD/Macos but this needs additional checking. Commands to build are something like\r\n```bash\r\ngit clone https://github.com/alex85k/tilemaker.git\r\n#if merged, git clone https://github.com/systemed/tilemaker.git :)\r\ncd tilemaker\r\nmkdir build && cd build\r\ncmake .. -G \"Unix Makefiles\"\r\nmake\r\n```"},"comment":{"url":"https://api.github.com/repos/systemed/tilemaker/issues/comments/147162956","html_url":"https://github.com/systemed/tilemaker/pull/24#issuecomment-147162956","issue_url":"https://api.github.com/repos/systemed/tilemaker/issues/24","id":147162956,"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},"created_at":"2015-10-11T06:17:13Z","updated_at":"2015-10-11T06:17:13Z","body":"Actually, yes. Makefile will be for \"simple classical Linux systems\", where all libraries are placed correctly and CMake is for Windows and non-standard Linux installations (like non-root installed home-made libraries). The build process is simple enough and the support of CMakeLists.txt should be easy."}}