{"action":"created","issue":{"url":"https://api.github.com/repos/schuhschuh/cmake-basis/issues/527","labels_url":"https://api.github.com/repos/schuhschuh/cmake-basis/issues/527/labels{/name}","comments_url":"https://api.github.com/repos/schuhschuh/cmake-basis/issues/527/comments","events_url":"https://api.github.com/repos/schuhschuh/cmake-basis/issues/527/events","html_url":"https://github.com/schuhschuh/cmake-basis/issues/527","id":124718496,"number":527,"title":"Support external modules included as Git submodules","user":{"login":"schuhschuh","id":975451,"avatar_url":"https://avatars.githubusercontent.com/u/975451?v=3","gravatar_id":"","url":"https://api.github.com/users/schuhschuh","html_url":"https://github.com/schuhschuh","followers_url":"https://api.github.com/users/schuhschuh/followers","following_url":"https://api.github.com/users/schuhschuh/following{/other_user}","gists_url":"https://api.github.com/users/schuhschuh/gists{/gist_id}","starred_url":"https://api.github.com/users/schuhschuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schuhschuh/subscriptions","organizations_url":"https://api.github.com/users/schuhschuh/orgs","repos_url":"https://api.github.com/users/schuhschuh/repos","events_url":"https://api.github.com/users/schuhschuh/events{/privacy}","received_events_url":"https://api.github.com/users/schuhschuh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/schuhschuh/cmake-basis/labels/2%20-%20In%20Progress","name":"2 - In Progress","color":"fad8c7"},{"url":"https://api.github.com/repos/schuhschuh/cmake-basis/labels/CMake","name":"CMake","color":"fbca04"},{"url":"https://api.github.com/repos/schuhschuh/cmake-basis/labels/Feature","name":"Feature","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"schuhschuh","id":975451,"avatar_url":"https://avatars.githubusercontent.com/u/975451?v=3","gravatar_id":"","url":"https://api.github.com/users/schuhschuh","html_url":"https://github.com/schuhschuh","followers_url":"https://api.github.com/users/schuhschuh/followers","following_url":"https://api.github.com/users/schuhschuh/following{/other_user}","gists_url":"https://api.github.com/users/schuhschuh/gists{/gist_id}","starred_url":"https://api.github.com/users/schuhschuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schuhschuh/subscriptions","organizations_url":"https://api.github.com/users/schuhschuh/orgs","repos_url":"https://api.github.com/users/schuhschuh/repos","events_url":"https://api.github.com/users/schuhschuh/events{/privacy}","received_events_url":"https://api.github.com/users/schuhschuh/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/schuhschuh/cmake-basis/milestones/22","html_url":"https://github.com/schuhschuh/cmake-basis/milestones/v3.3.0","labels_url":"https://api.github.com/repos/schuhschuh/cmake-basis/milestones/22/labels","id":493191,"number":22,"title":"v3.3.0","description":"","creator":{"login":"schuhschuh","id":975451,"avatar_url":"https://avatars.githubusercontent.com/u/975451?v=3","gravatar_id":"","url":"https://api.github.com/users/schuhschuh","html_url":"https://github.com/schuhschuh","followers_url":"https://api.github.com/users/schuhschuh/followers","following_url":"https://api.github.com/users/schuhschuh/following{/other_user}","gists_url":"https://api.github.com/users/schuhschuh/gists{/gist_id}","starred_url":"https://api.github.com/users/schuhschuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schuhschuh/subscriptions","organizations_url":"https://api.github.com/users/schuhschuh/orgs","repos_url":"https://api.github.com/users/schuhschuh/repos","events_url":"https://api.github.com/users/schuhschuh/events{/privacy}","received_events_url":"https://api.github.com/users/schuhschuh/received_events","type":"User","site_admin":false},"open_issues":97,"closed_issues":1,"state":"open","created_at":"2013-11-22T00:44:11Z","updated_at":"2016-01-05T15:24:52Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2016-01-04T08:58:04Z","updated_at":"2016-01-05T18:39:09Z","closed_at":null,"body":"When the source tree of a project module is included as Git submodule, it is an \"external module\". As long as the Git submodule is not initialised and update, the respective subdirectory is empty and does not contain a BasisProject.cmake file. A top-level project should still be able to explicitly declare these external Git submodules such that ```basis_project_modules``` has a complete list of available modules. Instead of a ```MODULE_<MODULE>``` option, a ```NOTFOUND``` entry should be added to the cache if the module source files are missing. When the module is requested either as dependency of another module or by the user (e.g., on the command-line), an error message should make aware that the module source files are missing possible due to a forgotten ```git submodule update --init -- <module_dir>``` call."},"comment":{"url":"https://api.github.com/repos/schuhschuh/cmake-basis/issues/comments/169092179","html_url":"https://github.com/schuhschuh/cmake-basis/issues/527#issuecomment-169092179","issue_url":"https://api.github.com/repos/schuhschuh/cmake-basis/issues/527","id":169092179,"user":{"login":"schuhschuh","id":975451,"avatar_url":"https://avatars.githubusercontent.com/u/975451?v=3","gravatar_id":"","url":"https://api.github.com/users/schuhschuh","html_url":"https://github.com/schuhschuh","followers_url":"https://api.github.com/users/schuhschuh/followers","following_url":"https://api.github.com/users/schuhschuh/following{/other_user}","gists_url":"https://api.github.com/users/schuhschuh/gists{/gist_id}","starred_url":"https://api.github.com/users/schuhschuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schuhschuh/subscriptions","organizations_url":"https://api.github.com/users/schuhschuh/orgs","repos_url":"https://api.github.com/users/schuhschuh/repos","events_url":"https://api.github.com/users/schuhschuh/events{/privacy}","received_events_url":"https://api.github.com/users/schuhschuh/received_events","type":"User","site_admin":false},"created_at":"2016-01-05T18:39:09Z","updated_at":"2016-01-05T18:39:09Z","body":"BASIS could of course also try to run ```git submodule update --init -- <missing_module_dir>```, but I am not sure if that is a good idea. Eventually this \"feature\" is no longer necessary once #528 is implemented. I just needed something quick for now."}}