{"action":"created","comment":{"url":"https://api.github.com/repos/SFTtech/openage/pulls/comments/39694793","id":39694793,"diff_hunk":"@@ -0,0 +1,66 @@\n+# Copyright 2014-2015 the openage authors. See copying.md for legal info.\n+\n+option(GENERATE_DOCS \"Generate documentation from the source files.\" ON)\n+\n+set(DOXYFILE_TEMPLATE \"${BUILDSYSTEM_DIR}/templates/Doxyfile.in\")\n+set(DOCS_ROOT_DIRECTORY \"${CMAKE_BINARY_DIR}/docs\")\n+\n+function(add_doxygen_target TARGET TARGET_SRC_DIR)\n+\tif(NOT DOXYGEN_FOUND)\n+\t\treturn()\n+\tendif()\n+\n+\tset(DOXYFILE \"${CMAKE_BINARY_DIR}/${TARGET}_Doxyfile\")\n+\tset(OUTPUT_DIRECTORY \"${DOCS_ROOT_DIRECTORY}/${TARGET}\")\n+\tforeach(SRC_DIR ${TARGET_SRC_DIR} ${ARGN})\n+\t\tif(NOT IS_ABSOLUTE SRC_DIR)\n+\t\t\tset(SRC_DIR \"${CMAKE_CURRENT_SOURCE_DIR}/${SRC_DIR}\")\n+\t\tendif()\n+\t\tset(DOXYGEN_SCAN_FOLDERS \"${DOXYGEN_SCAN_FOLDERS} ${SRC_DIR}\")\n+\tendforeach()\n+\n+\tconfigure_file(${DOXYFILE_TEMPLATE} ${DOXYFILE} @ONLY)\n+\n+\tadd_custom_target(${TARGET}_docs\n+\t\tCOMMAND ${CMAKE_COMMAND} -E make_directory ${OUTPUT_DIRECTORY}\n+\t\tCOMMAND ${DOXYGEN_EXECUTABLE} ${DOXYFILE}\n+\t\tWORKING_DIRECTORY ${CMAKE_BINARY_DIR}\n+\t\tCOMMENT \"Generating docs for ${TARGET}\"\n+\t\tVERBATIM\n+\t)\n+\tadd_dependencies(doc ${TARGET}_docs)\n+endfunction()\n+\n+# If disabled, don't even bother going forward\n+if(NOT GENERATE_DOCS)\n+\tadd_custom_target(doc\n+\t\tCOMMAND echo \"openage was configured with GENERATE_DOCS option set to OFF.\"\n+\t\tCOMMAND echo \"Reconfigure the project with this option set as ON to be able to generate docs.\"","path":"buildsystem/Doxygen.cmake","position":38,"original_position":38,"commit_id":"69d9df706081490015c4234dc5b2154cee766f42","original_commit_id":"69d9df706081490015c4234dc5b2154cee766f42","user":{"login":"TheJJ","id":673543,"avatar_url":"https://avatars.githubusercontent.com/u/673543?v=3","gravatar_id":"","url":"https://api.github.com/users/TheJJ","html_url":"https://github.com/TheJJ","followers_url":"https://api.github.com/users/TheJJ/followers","following_url":"https://api.github.com/users/TheJJ/following{/other_user}","gists_url":"https://api.github.com/users/TheJJ/gists{/gist_id}","starred_url":"https://api.github.com/users/TheJJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheJJ/subscriptions","organizations_url":"https://api.github.com/users/TheJJ/orgs","repos_url":"https://api.github.com/users/TheJJ/repos","events_url":"https://api.github.com/users/TheJJ/events{/privacy}","received_events_url":"https://api.github.com/users/TheJJ/received_events","type":"User","site_admin":false},"body":"Ah, yes it is: `cmake -E echo` :)","created_at":"2015-09-16T22:45:21Z","updated_at":"2015-09-16T22:45:21Z","html_url":"https://github.com/SFTtech/openage/pull/372#discussion_r39694793","pull_request_url":"https://api.github.com/repos/SFTtech/openage/pulls/372","_links":{"self":{"href":"https://api.github.com/repos/SFTtech/openage/pulls/comments/39694793"},"html":{"href":"https://github.com/SFTtech/openage/pull/372#discussion_r39694793"},"pull_request":{"href":"https://api.github.com/repos/SFTtech/openage/pulls/372"}}},"pull_request":{"url":"https://api.github.com/repos/SFTtech/openage/pulls/372","id":43477348,"html_url":"https://github.com/SFTtech/openage/pull/372","diff_url":"https://github.com/SFTtech/openage/pull/372.diff","patch_url":"https://github.com/SFTtech/openage/pull/372.patch","issue_url":"https://api.github.com/repos/SFTtech/openage/issues/372","number":372,"state":"open","locked":false,"title":"Attempt at cleaning up buildsystem","user":{"login":"jprashanth","id":3164170,"avatar_url":"https://avatars.githubusercontent.com/u/3164170?v=3","gravatar_id":"","url":"https://api.github.com/users/jprashanth","html_url":"https://github.com/jprashanth","followers_url":"https://api.github.com/users/jprashanth/followers","following_url":"https://api.github.com/users/jprashanth/following{/other_user}","gists_url":"https://api.github.com/users/jprashanth/gists{/gist_id}","starred_url":"https://api.github.com/users/jprashanth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jprashanth/subscriptions","organizations_url":"https://api.github.com/users/jprashanth/orgs","repos_url":"https://api.github.com/users/jprashanth/repos","events_url":"https://api.github.com/users/jprashanth/events{/privacy}","received_events_url":"https://api.github.com/users/jprashanth/received_events","type":"User","site_admin":false},"body":"Buildsystem restructuring and cleanup.","created_at":"2015-08-27T03:59:14Z","updated_at":"2015-09-16T22:45:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b4a1c2c487c2dccef66a4f4ec43751810e72acde","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SFTtech/openage/pulls/372/commits","review_comments_url":"https://api.github.com/repos/SFTtech/openage/pulls/372/comments","review_comment_url":"https://api.github.com/repos/SFTtech/openage/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SFTtech/openage/issues/372/comments","statuses_url":"https://api.github.com/repos/SFTtech/openage/statuses/69d9df706081490015c4234dc5b2154cee766f42","head":{"label":"jprashanth:buildsystem","ref":"buildsystem","sha":"69d9df706081490015c4234dc5b2154cee766f42","user":{"login":"jprashanth","id":3164170,"avatar_url":"https://avatars.githubusercontent.com/u/3164170?v=3","gravatar_id":"","url":"https://api.github.com/users/jprashanth","html_url":"https://github.com/jprashanth","followers_url":"https://api.github.com/users/jprashanth/followers","following_url":"https://api.github.com/users/jprashanth/following{/other_user}","gists_url":"https://api.github.com/users/jprashanth/gists{/gist_id}","starred_url":"https://api.github.com/users/jprashanth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jprashanth/subscriptions","organizations_url":"https://api.github.com/users/jprashanth/orgs","repos_url":"https://api.github.com/users/jprashanth/repos","events_url":"https://api.github.com/users/jprashanth/events{/privacy}","received_events_url":"https://api.github.com/users/jprashanth/received_events","type":"User","site_admin":false},"repo":{"id":25923622,"name":"openage","full_name":"jprashanth/openage","owner":{"login":"jprashanth","id":3164170,"avatar_url":"https://avatars.githubusercontent.com/u/3164170?v=3","gravatar_id":"","url":"https://api.github.com/users/jprashanth","html_url":"https://github.com/jprashanth","followers_url":"https://api.github.com/users/jprashanth/followers","following_url":"https://api.github.com/users/jprashanth/following{/other_user}","gists_url":"https://api.github.com/users/jprashanth/gists{/gist_id}","starred_url":"https://api.github.com/users/jprashanth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jprashanth/subscriptions","organizations_url":"https://api.github.com/users/jprashanth/orgs","repos_url":"https://api.github.com/users/jprashanth/repos","events_url":"https://api.github.com/users/jprashanth/events{/privacy}","received_events_url":"https://api.github.com/users/jprashanth/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jprashanth/openage","description":"Free (as in freedom) open source clone of the Age of Empires II engine.","fork":true,"url":"https://api.github.com/repos/jprashanth/openage","forks_url":"https://api.github.com/repos/jprashanth/openage/forks","keys_url":"https://api.github.com/repos/jprashanth/openage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jprashanth/openage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jprashanth/openage/teams","hooks_url":"https://api.github.com/repos/jprashanth/openage/hooks","issue_events_url":"https://api.github.com/repos/jprashanth/openage/issues/events{/number}","events_url":"https://api.github.com/repos/jprashanth/openage/events","assignees_url":"https://api.github.com/repos/jprashanth/openage/assignees{/user}","branches_url":"https://api.github.com/repos/jprashanth/openage/branches{/branch}","tags_url":"https://api.github.com/repos/jprashanth/openage/tags","blobs_url":"https://api.github.com/repos/jprashanth/openage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jprashanth/openage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jprashanth/openage/git/refs{/sha}","trees_url":"https://api.github.com/repos/jprashanth/openage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jprashanth/openage/statuses/{sha}","languages_url":"https://api.github.com/repos/jprashanth/openage/languages","stargazers_url":"https://api.github.com/repos/jprashanth/openage/stargazers","contributors_url":"https://api.github.com/repos/jprashanth/openage/contributors","subscribers_url":"https://api.github.com/repos/jprashanth/openage/subscribers","subscription_url":"https://api.github.com/repos/jprashanth/openage/subscription","commits_url":"https://api.github.com/repos/jprashanth/openage/commits{/sha}","git_commits_url":"https://api.github.com/repos/jprashanth/openage/git/commits{/sha}","comments_url":"https://api.github.com/repos/jprashanth/openage/comments{/number}","issue_comment_url":"https://api.github.com/repos/jprashanth/openage/issues/comments{/number}","contents_url":"https://api.github.com/repos/jprashanth/openage/contents/{+path}","compare_url":"https://api.github.com/repos/jprashanth/openage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jprashanth/openage/merges","archive_url":"https://api.github.com/repos/jprashanth/openage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jprashanth/openage/downloads","issues_url":"https://api.github.com/repos/jprashanth/openage/issues{/number}","pulls_url":"https://api.github.com/repos/jprashanth/openage/pulls{/number}","milestones_url":"https://api.github.com/repos/jprashanth/openage/milestones{/number}","notifications_url":"https://api.github.com/repos/jprashanth/openage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jprashanth/openage/labels{/name}","releases_url":"https://api.github.com/repos/jprashanth/openage/releases{/id}","created_at":"2014-10-29T14:04:07Z","updated_at":"2015-03-24T14:24:06Z","pushed_at":"2015-09-05T17:16:39Z","git_url":"git://github.com/jprashanth/openage.git","ssh_url":"git@github.com:jprashanth/openage.git","clone_url":"https://github.com/jprashanth/openage.git","svn_url":"https://github.com/jprashanth/openage","homepage":"http://openage.sft.mx","size":5444,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"SFTtech:master","ref":"master","sha":"73a64092b5d95775a0aa266529fc5354f40fec74","user":{"login":"SFTtech","id":1783325,"avatar_url":"https://avatars.githubusercontent.com/u/1783325?v=3","gravatar_id":"","url":"https://api.github.com/users/SFTtech","html_url":"https://github.com/SFTtech","followers_url":"https://api.github.com/users/SFTtech/followers","following_url":"https://api.github.com/users/SFTtech/following{/other_user}","gists_url":"https://api.github.com/users/SFTtech/gists{/gist_id}","starred_url":"https://api.github.com/users/SFTtech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SFTtech/subscriptions","organizations_url":"https://api.github.com/users/SFTtech/orgs","repos_url":"https://api.github.com/users/SFTtech/repos","events_url":"https://api.github.com/users/SFTtech/events{/privacy}","received_events_url":"https://api.github.com/users/SFTtech/received_events","type":"Organization","site_admin":false},"repo":{"id":14095175,"name":"openage","full_name":"SFTtech/openage","owner":{"login":"SFTtech","id":1783325,"avatar_url":"https://avatars.githubusercontent.com/u/1783325?v=3","gravatar_id":"","url":"https://api.github.com/users/SFTtech","html_url":"https://github.com/SFTtech","followers_url":"https://api.github.com/users/SFTtech/followers","following_url":"https://api.github.com/users/SFTtech/following{/other_user}","gists_url":"https://api.github.com/users/SFTtech/gists{/gist_id}","starred_url":"https://api.github.com/users/SFTtech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SFTtech/subscriptions","organizations_url":"https://api.github.com/users/SFTtech/orgs","repos_url":"https://api.github.com/users/SFTtech/repos","events_url":"https://api.github.com/users/SFTtech/events{/privacy}","received_events_url":"https://api.github.com/users/SFTtech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SFTtech/openage","description":"Free (as in freedom) open source clone of the Age of Empires II engine.","fork":false,"url":"https://api.github.com/repos/SFTtech/openage","forks_url":"https://api.github.com/repos/SFTtech/openage/forks","keys_url":"https://api.github.com/repos/SFTtech/openage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SFTtech/openage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SFTtech/openage/teams","hooks_url":"https://api.github.com/repos/SFTtech/openage/hooks","issue_events_url":"https://api.github.com/repos/SFTtech/openage/issues/events{/number}","events_url":"https://api.github.com/repos/SFTtech/openage/events","assignees_url":"https://api.github.com/repos/SFTtech/openage/assignees{/user}","branches_url":"https://api.github.com/repos/SFTtech/openage/branches{/branch}","tags_url":"https://api.github.com/repos/SFTtech/openage/tags","blobs_url":"https://api.github.com/repos/SFTtech/openage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SFTtech/openage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SFTtech/openage/git/refs{/sha}","trees_url":"https://api.github.com/repos/SFTtech/openage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SFTtech/openage/statuses/{sha}","languages_url":"https://api.github.com/repos/SFTtech/openage/languages","stargazers_url":"https://api.github.com/repos/SFTtech/openage/stargazers","contributors_url":"https://api.github.com/repos/SFTtech/openage/contributors","subscribers_url":"https://api.github.com/repos/SFTtech/openage/subscribers","subscription_url":"https://api.github.com/repos/SFTtech/openage/subscription","commits_url":"https://api.github.com/repos/SFTtech/openage/commits{/sha}","git_commits_url":"https://api.github.com/repos/SFTtech/openage/git/commits{/sha}","comments_url":"https://api.github.com/repos/SFTtech/openage/comments{/number}","issue_comment_url":"https://api.github.com/repos/SFTtech/openage/issues/comments{/number}","contents_url":"https://api.github.com/repos/SFTtech/openage/contents/{+path}","compare_url":"https://api.github.com/repos/SFTtech/openage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SFTtech/openage/merges","archive_url":"https://api.github.com/repos/SFTtech/openage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SFTtech/openage/downloads","issues_url":"https://api.github.com/repos/SFTtech/openage/issues{/number}","pulls_url":"https://api.github.com/repos/SFTtech/openage/pulls{/number}","milestones_url":"https://api.github.com/repos/SFTtech/openage/milestones{/number}","notifications_url":"https://api.github.com/repos/SFTtech/openage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SFTtech/openage/labels{/name}","releases_url":"https://api.github.com/repos/SFTtech/openage/releases{/id}","created_at":"2013-11-03T22:35:23Z","updated_at":"2015-09-16T16:09:34Z","pushed_at":"2015-09-16T21:49:55Z","git_url":"git://github.com/SFTtech/openage.git","ssh_url":"git@github.com:SFTtech/openage.git","clone_url":"https://github.com/SFTtech/openage.git","svn_url":"https://github.com/SFTtech/openage","homepage":"http://openage.sft.mx","size":8908,"stargazers_count":3124,"watchers_count":3124,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":300,"mirror_url":null,"open_issues_count":107,"forks":300,"open_issues":107,"watchers":3124,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SFTtech/openage/pulls/372"},"html":{"href":"https://github.com/SFTtech/openage/pull/372"},"issue":{"href":"https://api.github.com/repos/SFTtech/openage/issues/372"},"comments":{"href":"https://api.github.com/repos/SFTtech/openage/issues/372/comments"},"review_comments":{"href":"https://api.github.com/repos/SFTtech/openage/pulls/372/comments"},"review_comment":{"href":"https://api.github.com/repos/SFTtech/openage/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SFTtech/openage/pulls/372/commits"},"statuses":{"href":"https://api.github.com/repos/SFTtech/openage/statuses/69d9df706081490015c4234dc5b2154cee766f42"}}}}