{"action":"created","issue":{"url":"https://api.github.com/repos/RoboticsURJC/JdeRobot/issues/45","labels_url":"https://api.github.com/repos/RoboticsURJC/JdeRobot/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/RoboticsURJC/JdeRobot/issues/45/comments","events_url":"https://api.github.com/repos/RoboticsURJC/JdeRobot/issues/45/events","html_url":"https://github.com/RoboticsURJC/JdeRobot/issues/45","id":67146368,"number":45,"title":"Add doc target and doxygen support","user":{"login":"ojgarciab","id":4188035,"avatar_url":"https://avatars.githubusercontent.com/u/4188035?v=3","gravatar_id":"","url":"https://api.github.com/users/ojgarciab","html_url":"https://github.com/ojgarciab","followers_url":"https://api.github.com/users/ojgarciab/followers","following_url":"https://api.github.com/users/ojgarciab/following{/other_user}","gists_url":"https://api.github.com/users/ojgarciab/gists{/gist_id}","starred_url":"https://api.github.com/users/ojgarciab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ojgarciab/subscriptions","organizations_url":"https://api.github.com/users/ojgarciab/orgs","repos_url":"https://api.github.com/users/ojgarciab/repos","events_url":"https://api.github.com/users/ojgarciab/events{/privacy}","received_events_url":"https://api.github.com/users/ojgarciab/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-08T14:44:44Z","updated_at":"2015-04-08T16:14:01Z","closed_at":null,"body":"I'll implement document generation system.\r\n\r\nThere will a common target for every document system `doc` and a local dependency on every component/library."},"comment":{"url":"https://api.github.com/repos/RoboticsURJC/JdeRobot/issues/comments/90962759","html_url":"https://github.com/RoboticsURJC/JdeRobot/issues/45#issuecomment-90962759","issue_url":"https://api.github.com/repos/RoboticsURJC/JdeRobot/issues/45","id":90962759,"user":{"login":"ojgarciab","id":4188035,"avatar_url":"https://avatars.githubusercontent.com/u/4188035?v=3","gravatar_id":"","url":"https://api.github.com/users/ojgarciab","html_url":"https://github.com/ojgarciab","followers_url":"https://api.github.com/users/ojgarciab/followers","following_url":"https://api.github.com/users/ojgarciab/following{/other_user}","gists_url":"https://api.github.com/users/ojgarciab/gists{/gist_id}","starred_url":"https://api.github.com/users/ojgarciab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ojgarciab/subscriptions","organizations_url":"https://api.github.com/users/ojgarciab/orgs","repos_url":"https://api.github.com/users/ojgarciab/repos","events_url":"https://api.github.com/users/ojgarciab/events{/privacy}","received_events_url":"https://api.github.com/users/ojgarciab/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T16:14:01Z","updated_at":"2015-04-08T16:14:01Z","body":"I just implement an default doxyfile.in file that is used if there is not customized file in a library/component to avoid tenths of copies of the same generic Doxyfile.in file distributed across the project tree.\r\n\r\nI have been defined some @...@ patterns to customize parameters on every library/component. They would be expanded to allow more customization.\r\n\r\n@lr-morales the problem with your implementation is that whole project only has a unique \"doc\" target, so defining it several times on every component/library will throw a error like this:\r\n\r\n```\r\nCMake Error at actual_file (ADD_CUSTOM_TARGET):\r\n  add_custom_target cannot create target \"doc\" because another target with\r\n  the same name already exists.  The existing target is a custom target\r\n  created in source directory\r\n  \"previous_dir/previous_file\".\r\n  See documentation for policy CMP0002 for more details.\r\n```\r\n\r\nWith this implementation and CMakeLists.txt example every component/library will create its own target and later add a dependency on global \"doc\" target.\r\n\r\nAnd as I said, \"doc\" target will generate documentation only when use \"make doc\" to avoid waste of time of regenerate documentation every time we compile the entire project or an library/component."}}