{"action":"created","issue":{"url":"https://api.github.com/repos/ninja-build/ninja/issues/1055","labels_url":"https://api.github.com/repos/ninja-build/ninja/issues/1055/labels{/name}","comments_url":"https://api.github.com/repos/ninja-build/ninja/issues/1055/comments","events_url":"https://api.github.com/repos/ninja-build/ninja/issues/1055/events","html_url":"https://github.com/ninja-build/ninja/issues/1055","id":118198086,"number":1055,"title":"Build targets listed on ninja command line in order","user":{"login":"NiklasRosenstein","id":1318438,"avatar_url":"https://avatars.githubusercontent.com/u/1318438?v=3","gravatar_id":"","url":"https://api.github.com/users/NiklasRosenstein","html_url":"https://github.com/NiklasRosenstein","followers_url":"https://api.github.com/users/NiklasRosenstein/followers","following_url":"https://api.github.com/users/NiklasRosenstein/following{/other_user}","gists_url":"https://api.github.com/users/NiklasRosenstein/gists{/gist_id}","starred_url":"https://api.github.com/users/NiklasRosenstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NiklasRosenstein/subscriptions","organizations_url":"https://api.github.com/users/NiklasRosenstein/orgs","repos_url":"https://api.github.com/users/NiklasRosenstein/repos","events_url":"https://api.github.com/users/NiklasRosenstein/events{/privacy}","received_events_url":"https://api.github.com/users/NiklasRosenstein/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-21T13:55:53Z","updated_at":"2015-11-21T13:59:03Z","closed_at":null,"body":"I have a ninja file that has a target \"nr.container_object.plugin\" and \"maxon.c4d.run\". The run target has no dependency of the plugin target. But when I invoke it with `ninja nr.container_object.plugin maxon.c4d.run\", I would like to build/invoke the targets in order, because the plugin target should be built before the run target starts the application.\r\n\r\nIs there any way to achive this with a single ninja command?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ninja-build/ninja/issues/comments/158643180","html_url":"https://github.com/ninja-build/ninja/issues/1055#issuecomment-158643180","issue_url":"https://api.github.com/repos/ninja-build/ninja/issues/1055","id":158643180,"user":{"login":"sgraham","id":1822,"avatar_url":"https://avatars.githubusercontent.com/u/1822?v=3","gravatar_id":"","url":"https://api.github.com/users/sgraham","html_url":"https://github.com/sgraham","followers_url":"https://api.github.com/users/sgraham/followers","following_url":"https://api.github.com/users/sgraham/following{/other_user}","gists_url":"https://api.github.com/users/sgraham/gists{/gist_id}","starred_url":"https://api.github.com/users/sgraham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgraham/subscriptions","organizations_url":"https://api.github.com/users/sgraham/orgs","repos_url":"https://api.github.com/users/sgraham/repos","events_url":"https://api.github.com/users/sgraham/events{/privacy}","received_events_url":"https://api.github.com/users/sgraham/received_events","type":"User","site_admin":false},"created_at":"2015-11-21T13:59:03Z","updated_at":"2015-11-21T13:59:03Z","body":"That's kind of the definition of dependencies. Why don't you add an\ndependency on the plugin target?\nOn Nov 21, 2015 5:55 AM, \"Niklas Rosenstein\" <notifications@github.com>\nwrote:\n\n> I have a ninja file that has a target \"nr.container_object.plugin\" and\n> \"maxon.c4d.run\". The run target has no dependency of the plugin target. But\n> when I invoke it with `ninja nr.container_object.plugin maxon.c4d.run\", I\n> would like to build/invoke the targets in order, because the plugin target\n> should be built before the run target starts the application.\n>\n> Is there any way to achive this with a single ninja command?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/ninja-build/ninja/issues/1055>.\n>\n"}}