{"action":"created","issue":{"url":"https://api.github.com/repos/Amber-MD/cpptraj/issues/519","repository_url":"https://api.github.com/repos/Amber-MD/cpptraj","labels_url":"https://api.github.com/repos/Amber-MD/cpptraj/issues/519/labels{/name}","comments_url":"https://api.github.com/repos/Amber-MD/cpptraj/issues/519/comments","events_url":"https://api.github.com/repos/Amber-MD/cpptraj/issues/519/events","html_url":"https://github.com/Amber-MD/cpptraj/pull/519","id":244817073,"number":519,"title":"Add CMake buildfiles","user":{"login":"multiplemonomials","id":2099358,"avatar_url":"https://avatars1.githubusercontent.com/u/2099358?v=4","gravatar_id":"","url":"https://api.github.com/users/multiplemonomials","html_url":"https://github.com/multiplemonomials","followers_url":"https://api.github.com/users/multiplemonomials/followers","following_url":"https://api.github.com/users/multiplemonomials/following{/other_user}","gists_url":"https://api.github.com/users/multiplemonomials/gists{/gist_id}","starred_url":"https://api.github.com/users/multiplemonomials/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/multiplemonomials/subscriptions","organizations_url":"https://api.github.com/users/multiplemonomials/orgs","repos_url":"https://api.github.com/users/multiplemonomials/repos","events_url":"https://api.github.com/users/multiplemonomials/events{/privacy}","received_events_url":"https://api.github.com/users/multiplemonomials/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-07-22T02:07:35Z","updated_at":"2017-07-22T03:26:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Amber-MD/cpptraj/pulls/519","html_url":"https://github.com/Amber-MD/cpptraj/pull/519","diff_url":"https://github.com/Amber-MD/cpptraj/pull/519.diff","patch_url":"https://github.com/Amber-MD/cpptraj/pull/519.patch"},"body":"In order for the Amber CMake build system to work, these buildfiles will have to get added.  Note that there is a duplicate of the cpptraj source list in `src/CMakeLists.txt`.  You will have to keep this up to date if `ambpdbfiles` and `cpptrajfiles` change.  I suppose that if you hated the idea of two source lists, it would be possible to parse those source list files with CMake, but it would end up rather ugly.  Hopefully this'll work out fine.  \r\n\r\nNow, about readline.  Since other AmberTools programs (gleap) use readline, and the cpptraj-included readline doesn't work on Windows out of the box, I started with a clean slate when I did my CMake conversion.  I found a readline that had been ported to Windows (`JuliaLang/readline` on GitHub), and wrote a full CMake build system with a configuration script for it.  I added it as a top-level Amber Tool (in the `AmberTools/src` directory), and set up the cpptraj CMake scripts to use it if the system readline is not available.  So that's why `cpptraj/src/readline` does not have a CMake build system."},"comment":{"url":"https://api.github.com/repos/Amber-MD/cpptraj/issues/comments/317150786","html_url":"https://github.com/Amber-MD/cpptraj/pull/519#issuecomment-317150786","issue_url":"https://api.github.com/repos/Amber-MD/cpptraj/issues/519","id":317150786,"user":{"login":"swails","id":779022,"avatar_url":"https://avatars3.githubusercontent.com/u/779022?v=4","gravatar_id":"","url":"https://api.github.com/users/swails","html_url":"https://github.com/swails","followers_url":"https://api.github.com/users/swails/followers","following_url":"https://api.github.com/users/swails/following{/other_user}","gists_url":"https://api.github.com/users/swails/gists{/gist_id}","starred_url":"https://api.github.com/users/swails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swails/subscriptions","organizations_url":"https://api.github.com/users/swails/orgs","repos_url":"https://api.github.com/users/swails/repos","events_url":"https://api.github.com/users/swails/events{/privacy}","received_events_url":"https://api.github.com/users/swails/received_events","type":"User","site_admin":false},"created_at":"2017-07-22T03:26:36Z","updated_at":"2017-07-22T03:26:36Z","body":"run jenkins"}}
{"actor":{"display_login":"swails"}}