{"action":"created","issue":{"url":"https://api.github.com/repos/RobotLocomotion/drake/issues/1884","repository_url":"https://api.github.com/repos/RobotLocomotion/drake","labels_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/1884/labels{/name}","comments_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/1884/comments","events_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/1884/events","html_url":"https://github.com/RobotLocomotion/drake/pull/1884","id":141717470,"number":1884,"title":"Improve \"native CMake\" support","user":{"login":"mwoehlke-kitware","id":6474409,"avatar_url":"https://avatars.githubusercontent.com/u/6474409?v=3","gravatar_id":"","url":"https://api.github.com/users/mwoehlke-kitware","html_url":"https://github.com/mwoehlke-kitware","followers_url":"https://api.github.com/users/mwoehlke-kitware/followers","following_url":"https://api.github.com/users/mwoehlke-kitware/following{/other_user}","gists_url":"https://api.github.com/users/mwoehlke-kitware/gists{/gist_id}","starred_url":"https://api.github.com/users/mwoehlke-kitware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwoehlke-kitware/subscriptions","organizations_url":"https://api.github.com/users/mwoehlke-kitware/orgs","repos_url":"https://api.github.com/users/mwoehlke-kitware/repos","events_url":"https://api.github.com/users/mwoehlke-kitware/events{/privacy}","received_events_url":"https://api.github.com/users/mwoehlke-kitware/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RobotLocomotion/drake/labels/approved%20for%20build%20servers","name":"approved for build servers","color":"009800"},{"url":"https://api.github.com/repos/RobotLocomotion/drake/labels/waiting%20for%20code%20discussion%20/%20resolution","name":"waiting for code discussion / resolution","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2016-03-17T21:57:06Z","updated_at":"2016-03-24T13:16:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/RobotLocomotion/drake/pulls/1884","html_url":"https://github.com/RobotLocomotion/drake/pull/1884","diff_url":"https://github.com/RobotLocomotion/drake/pull/1884.diff","patch_url":"https://github.com/RobotLocomotion/drake/pull/1884.patch"},"body":"Modify how externals are built, when using CMake directly, to use the CMake build directory and not pod-style build directories, and to propagate build flags to the external projects. (There is an option, turned on by the pods `Makefile`, to preserve the old behavior.)\r\n\r\nThis brings us closer to being able to build in any directory (not just `<clone>/pod-build`) and with any generator (tested with ninja), and reduces the number of build artifacts that are placed in the source tree (and thus interfere with having multiple builds from a single source). Note however that some externals may still fail to \"play nice\" (e.g. libbot still forces its external projects to build in the source tree).\r\n\r\nNote that this changes the build location for external projects from `<source>/externals/<name>/pod-build` to `<build>/externals/<name>`. (This seems like a reasonable place, but I'm open to alternative suggestions if anyone feels strongly.)"},"comment":{"url":"https://api.github.com/repos/RobotLocomotion/drake/issues/comments/200826907","html_url":"https://github.com/RobotLocomotion/drake/pull/1884#issuecomment-200826907","issue_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/1884","id":200826907,"user":{"login":"jamiesnape","id":3630149,"avatar_url":"https://avatars.githubusercontent.com/u/3630149?v=3","gravatar_id":"","url":"https://api.github.com/users/jamiesnape","html_url":"https://github.com/jamiesnape","followers_url":"https://api.github.com/users/jamiesnape/followers","following_url":"https://api.github.com/users/jamiesnape/following{/other_user}","gists_url":"https://api.github.com/users/jamiesnape/gists{/gist_id}","starred_url":"https://api.github.com/users/jamiesnape/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamiesnape/subscriptions","organizations_url":"https://api.github.com/users/jamiesnape/orgs","repos_url":"https://api.github.com/users/jamiesnape/repos","events_url":"https://api.github.com/users/jamiesnape/events{/privacy}","received_events_url":"https://api.github.com/users/jamiesnape/received_events","type":"User","site_admin":false},"created_at":"2016-03-24T13:16:57Z","updated_at":"2016-03-24T13:16:57Z","body":"There is a feature request, but no official support yet. Some people have made it work, though.\r\n\r\nhttps://youtrack.jetbrains.com/issue/CPP-870"}}