{"action":"created","issue":{"url":"https://api.github.com/repos/totalspectrum/spin2cpp/issues/7","repository_url":"https://api.github.com/repos/totalspectrum/spin2cpp","labels_url":"https://api.github.com/repos/totalspectrum/spin2cpp/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/totalspectrum/spin2cpp/issues/7/comments","events_url":"https://api.github.com/repos/totalspectrum/spin2cpp/issues/7/events","html_url":"https://github.com/totalspectrum/spin2cpp/pull/7","id":138650631,"number":7,"title":"Add CMake support","user":{"login":"DavidZemon","id":3068292,"avatar_url":"https://avatars.githubusercontent.com/u/3068292?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidZemon","html_url":"https://github.com/DavidZemon","followers_url":"https://api.github.com/users/DavidZemon/followers","following_url":"https://api.github.com/users/DavidZemon/following{/other_user}","gists_url":"https://api.github.com/users/DavidZemon/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidZemon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidZemon/subscriptions","organizations_url":"https://api.github.com/users/DavidZemon/orgs","repos_url":"https://api.github.com/users/DavidZemon/repos","events_url":"https://api.github.com/users/DavidZemon/events{/privacy}","received_events_url":"https://api.github.com/users/DavidZemon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-03-05T05:47:57Z","updated_at":"2016-08-21T04:11:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/totalspectrum/spin2cpp/pulls/7","html_url":"https://github.com/totalspectrum/spin2cpp/pull/7","diff_url":"https://github.com/totalspectrum/spin2cpp/pull/7.diff","patch_url":"https://github.com/totalspectrum/spin2cpp/pull/7.patch"},"body":"This is on the master branch for the moment, but I could move it to the experimental branch, or rebase the expiremental branch onto master if you'd like.\r\n\r\nMain targets supported:\r\n\r\n* all: compile all executables (spin2cpp and testlex)\r\n* test-all: Run all unit tests\r\n* install: Install files (spin2cpp -> `${DESTDIR}/${PREFIX}/bin` and other files go into `${DESTDIR}/${PREFIX}/docs`)\r\n* package: Builds a zip and tarball as well as rpm, deb, and exe installers (individual packages can be built with `cpack -G <NAME>` such as `cpack -G ZIP`)\r\n\r\nTo compile, I recommend something like the following:\r\n\r\n```bash\r\ngit clone ...\r\ncd spin2cpp\r\nmkdir bin\r\ncd bin\r\n\r\nmkdir linux\r\ncd linux\r\ncmake ../..\r\nmake test-all\r\ncd ..\r\n\r\nmkdir rpi\r\ncd rpi\r\ncmake -D CROSS=rpi ../..\r\nmake # Can't run tests here\r\ncd ..\r\n\r\nmkdir win32\r\ncd win32\r\ncmake -D CROSS=win32 ../..\r\nmake test-all # Works if you have wine installed\r\n```"},"comment":{"url":"https://api.github.com/repos/totalspectrum/spin2cpp/issues/comments/241237900","html_url":"https://github.com/totalspectrum/spin2cpp/pull/7#issuecomment-241237900","issue_url":"https://api.github.com/repos/totalspectrum/spin2cpp/issues/7","id":241237900,"user":{"login":"DavidZemon","id":3068292,"avatar_url":"https://avatars.githubusercontent.com/u/3068292?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidZemon","html_url":"https://github.com/DavidZemon","followers_url":"https://api.github.com/users/DavidZemon/followers","following_url":"https://api.github.com/users/DavidZemon/following{/other_user}","gists_url":"https://api.github.com/users/DavidZemon/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidZemon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidZemon/subscriptions","organizations_url":"https://api.github.com/users/DavidZemon/orgs","repos_url":"https://api.github.com/users/DavidZemon/repos","events_url":"https://api.github.com/users/DavidZemon/events{/privacy}","received_events_url":"https://api.github.com/users/DavidZemon/received_events","type":"User","site_admin":false},"created_at":"2016-08-21T04:11:39Z","updated_at":"2016-08-21T04:11:39Z","body":"I've rebased onto your latest changes and the old tests are still passing (except for error03 still). I haven't updated the CMake test scripts to run any new tests that may have been written since March 6."}}
{"actor":{"display_login":"DavidZemon"}}