{"action":"created","issue":{"url":"https://api.github.com/repos/aldebaran/qibuild/issues/61","repository_url":"https://api.github.com/repos/aldebaran/qibuild","labels_url":"https://api.github.com/repos/aldebaran/qibuild/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/aldebaran/qibuild/issues/61/comments","events_url":"https://api.github.com/repos/aldebaran/qibuild/issues/61/events","html_url":"https://github.com/aldebaran/qibuild/issues/61","id":139223281,"number":61,"title":"Do not build tests and their dependencies by default","user":{"login":"AlexandreBossard","id":482261,"avatar_url":"https://avatars.githubusercontent.com/u/482261?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexandreBossard","html_url":"https://github.com/AlexandreBossard","followers_url":"https://api.github.com/users/AlexandreBossard/followers","following_url":"https://api.github.com/users/AlexandreBossard/following{/other_user}","gists_url":"https://api.github.com/users/AlexandreBossard/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexandreBossard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexandreBossard/subscriptions","organizations_url":"https://api.github.com/users/AlexandreBossard/orgs","repos_url":"https://api.github.com/users/AlexandreBossard/repos","events_url":"https://api.github.com/users/AlexandreBossard/events{/privacy}","received_events_url":"https://api.github.com/users/AlexandreBossard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-03-08T09:22:21Z","updated_at":"2016-03-10T10:42:43Z","closed_at":null,"body":"qibuild configure and make build \"testtime\" dependencies (unless you add --build-deps-only). When you work on a large project, with lots of tests, you don't need to build those and this can drag a lot more code to compile. \r\n\r\nI think a switch to select the type of dependencies like --testtime/--buildtime/--runtime during configure would be a good idea. Those switches can add some predefine variables to cmake (like QI_WITH_TESTS=ON) and so on..."},"comment":{"url":"https://api.github.com/repos/aldebaran/qibuild/issues/comments/194786021","html_url":"https://github.com/aldebaran/qibuild/issues/61#issuecomment-194786021","issue_url":"https://api.github.com/repos/aldebaran/qibuild/issues/61","id":194786021,"user":{"login":"dmerejkowsky","id":606755,"avatar_url":"https://avatars.githubusercontent.com/u/606755?v=3","gravatar_id":"","url":"https://api.github.com/users/dmerejkowsky","html_url":"https://github.com/dmerejkowsky","followers_url":"https://api.github.com/users/dmerejkowsky/followers","following_url":"https://api.github.com/users/dmerejkowsky/following{/other_user}","gists_url":"https://api.github.com/users/dmerejkowsky/gists{/gist_id}","starred_url":"https://api.github.com/users/dmerejkowsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmerejkowsky/subscriptions","organizations_url":"https://api.github.com/users/dmerejkowsky/orgs","repos_url":"https://api.github.com/users/dmerejkowsky/repos","events_url":"https://api.github.com/users/dmerejkowsky/events{/privacy}","received_events_url":"https://api.github.com/users/dmerejkowsky/received_events","type":"User","site_admin":false},"created_at":"2016-03-10T10:42:43Z","updated_at":"2016-03-10T10:42:43Z","body":"> if I run qitest run --nightly, but did not provide -DQI_WITH_NIGHTLY_TESTS=ON when I configured the project (weeks ago), the nightly tests won't be built nor run (with no warning), I need to be extra awake to notice it.\r\n\r\nLooks like a bug to me. You should open an other issue\r\n\r\n> qibuild under-uses it by calling \"make all\" everywhere.\r\n\r\nActually we don't call `make all`, we call `cmake --build`, but I see your point.\r\n\r\nNot sure how we could find out which targets in the dependent project we need to build, though.\r\n\r\n(Maybe if we rewrote qibuild to use exported targets we could do something, but currenly with only the \r\n${name)_LIBRARIES variable it seems very hard to accomplish)"}}