{"id":1974,"date":"2018-03-15T09:32:52","date_gmt":"2018-03-15T00:32:52","guid":{"rendered":"http:\/\/www.chihayafuru.jp\/tech\/?p=1974"},"modified":"2024-07-18T10:46:29","modified_gmt":"2024-07-18T01:46:29","slug":"%e3%81%af%e3%81%98%e3%82%81%e3%81%a6%e3%81%aedoxygen","status":"publish","type":"post","link":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/archives\/1974","title":{"rendered":"\u306f\u3058\u3081\u3066\u306eDoxygen"},"content":{"rendered":"<h3>Doxyfile\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u4f5c\u6210<\/h3>\n<p>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u30bc\u30ed\u304b\u3089\u8a18\u8ff0\u3057\u3066\u3082\u826f\u3044\u3002\u3057\u304b\u3057\u306a\u304c\u3089\u3001\u4e0b\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3044\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u81ea\u52d5\u751f\u6210\u3057\u3001\u5fc5\u8981\u306a\u7b87\u6240\u3060\u3051\u3092\u7de8\u96c6\u3059\u308b\u65b9\u6cd5\u304c\u7c21\u4fbf\u3067\u3042\u308b\u3002<\/p>\n<pre class=\"lang:default highlight:0 decode:true \" >$ doxygen -g [configName]<\/pre>\n<p>[configName] \u306b\u3066\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u660e\u793a\u7684\u306b\u6307\u5b9a\u3067\u304d\u308b\u3002\u660e\u793a\u7684\u306b\u6307\u5b9a\u3057\u306a\u3051\u308c\u3070\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u540d\u306e &quot;Doxyfile&quot; \u3067\u4f5c\u6210\u3055\u308c\u308b\u3002<\/p>\n<p>\u305f\u3060\u3057\u3001\u81ea\u52d5\u751f\u6210\u3055\u308c\u305f\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306eDoxyfile\u3092\u4f7f\u3046\u3068\u300c\u307b\u307c\u300d\u4e2d\u8eab\u306e\u306a\u3044\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3057\u304b\u51fa\u529b\u3055\u308c\u306a\u3044\u3002<\/p>\n<p><!--more--><\/p>\n<h3>Doxyfile\u306e\u7de8\u96c6<\/h3>\n<h4>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d\u5909\u66f4<\/h4>\n<pre class=\"lang:default highlight:0 decode:true \" >PROJECT_NAME = \"My Project\"<\/pre>\n<blockquote><p>\u30c7\u30d5\u30a9\u30eb\u30c8\u306e &quot;My Project&quot; \u306e\u307e\u307e\u3067\u652f\u969c\u306f\u306a\u3044\u304c\u6c17\u5206\u306e\u554f\u984c\u3002<\/p><\/blockquote>\n<p><!--more--><\/p>\n<h4>Doxygen\u5bfe\u8c61\u30d5\u30a1\u30a4\u30eb\u306e\u62e1\u5927<\/h4>\n<pre class=\"lang:default highlight:0 decode:true \" >EXTRACT_ALL = YES<\/pre>\n<blockquote><p>\u30c7\u30d5\u30a9\u30eb\u30c8\u306e <strong>NO<\/strong> \u3067\u306fDoxygen\u304c\u8b58\u5225\u53ef\u80fd\u306a\u30bf\u30b0\uff08\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\uff09\u304c\u57cb\u3081\u8fbc\u307e\u308c\u305f\u30d5\u30a1\u30a4\u30eb\uff08\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\uff09\u3057\u304b\u89e3\u6790\u5bfe\u8c61\u306b\u306a\u3089\u306a\u3044\u3002<\/p><\/blockquote>\n<h4>\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30e1\u30f3\u30d0\u30fc\u306e\u62bd\u51fa<\/h4>\n<pre class=\"lang:default highlight:0 decode:true \" >EXTRACT_PRIVATE = YES<\/pre>\n<blockquote><p>\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30e1\u30f3\u30d0\u30fc\u3082\u62bd\u51fa\u3059\u308b\u3002<\/p><\/blockquote>\n<h4>\u30b9\u30bf\u30c6\u30a3\u30c3\u30af\u30e1\u30f3\u30d0\u30fc\u306e\u62bd\u51fa<\/h4>\n<pre class=\"lang:default highlight:0 decode:true \" >EXTRACT_STATIC = YES<\/pre>\n<blockquote><p>\u30b9\u30bf\u30c6\u30a3\u30c3\u30af\uff08\u5185\u90e8\u30b9\u30b3\u30fc\u30d7\uff09\u30e1\u30f3\u30d0\u30fc\u3082\u62bd\u51fa\u3059\u308b\u3002<\/p><\/blockquote>\n<h4>\u5165\u529b<\/h4>\n<pre class=\"lang:default highlight:0 decode:true \" >INPUT = XXX YYY ZZZ<\/pre>\n<blockquote><p>\u672a\u6307\u5b9a\u306e\u3068\u304d\u306f\u30ab\u30ec\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u5bfe\u8c61\u306b\u306a\u308b\u3002\u8907\u6570\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u5217\u6319\u3059\u308b\u3068\u304d\u306f\u7a7a\u767d\u6587\u5b57\u3067\u533a\u5207\u308b\u3002<\/p><\/blockquote>\n<h4>\u518d\u5e30\u8aad\u307f\u8fbc\u307f<\/h4>\n<pre class=\"lang:default highlight:0 decode:true \" >RECURSIVE = YES<\/pre>\n<blockquote><p>\u30b5\u30d6\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u518d\u5e30\u8aad\u307f\u8fbc\u307f\u3092\u6709\u52b9\u306b\u3059\u308b\u3002<\/p><\/blockquote>\n<h4>\u9664\u5916<\/h4>\n<pre class=\"lang:default highlight:0 decode:true \" >EXCLUDE = XXX YYY ZZZ<\/pre>\n<blockquote><p>INPUT\u3067\u6307\u5b9a\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3001\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u9664\u5916\u3059\u308b\u3082\u306e\u3092\u6307\u5b9a\u3059\u308b\u3002<\/p><\/blockquote>\n<h4>\u5165\u529b\u6587\u5b57\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0<\/h4>\n<pre class=\"lang:default highlight:0 decode:true \" >INPUT_ENCODING<\/pre>\n<blockquote><p>\u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u306e\u6587\u5b57\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3092\u6307\u5b9a\u3059\u308b\u3002 [\u4f8b] CP932 (code page 932\u3002\u3044\u308f\u3086\u308bShift JIS)<\/p><\/blockquote>\n<h4>LATEX\u51fa\u529b\u306e\u6291\u6b62<\/h4>\n<pre class=\"lang:default highlight:0 decode:true \" >GENERATE_LATEX = NO<\/pre>\n<blockquote><p>LATEX\u51fa\u529b\u304c\u4e0d\u8981(HTML\u51fa\u529b\u3067\u5341\u5206)\u306a\u30b1\u30fc\u30b9\u3067\u306f <strong>NO<\/strong> \u306b\u3059\u308b\u3002<\/p><\/blockquote>\n<h4>UML\u5f62\u5f0f\u51fa\u529b<\/h4>\n<pre class=\"lang:default highlight:0 decode:true \" >UML_LOOK = YES<\/pre>\n<blockquote><p>UML\u306b\u6e96\u62e0\u3057\u305f\u51fa\u529b\u5f62\u5f0f\u306b\u3059\u308b\u3002<\/p><\/blockquote>\n<h4>\u30b3\u30fc\u30eb\u30b0\u30e9\u30d5\u51fa\u529b<\/h4>\n<pre class=\"lang:default highlight:0 decode:true \" >HAVE_DOT = YES\r\nCALL_GRAPH = YES\r\nCALLER_GRAPH = YES<\/pre>\n<ul>\n<li>CALL_GRAPH : \u547c\u51fa\u5148\u95a2\u6570\u30b0\u30e9\u30d5\uff08\u4e00\u89a7\uff09\u3092\u51fa\u529b\u3059\u308b\u3002<\/li>\n<li>CALLER_GRAPH : \u547c\u51fa\u5143\u95a2\u6570\u30b0\u30e9\u30d5\uff08\u4e00\u89a7\uff09\u3092\u51fa\u529b\u3059\u308b\u3002<\/li>\n<\/ul>\n<h4>\u51fa\u529b\u5148<\/h4>\n<ul>\n<li>OUTPUT_DIRECTORY<\/li>\n<li>\n<ul>\n<li>HTML_OUTPUT<\/li>\n<li>RTF_OUTPUT<\/li>\n<li>LATEX_OUTPUT<\/li>\n<li>XML_OUTPUT<\/li>\n<li>MAN_OUTPUT<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h4>\u4e8b\u524d\u30de\u30af\u30ed\u5b9a\u7fa9<\/h4>\n<pre class=\"lang:default highlight:0 decode:true \" >PREDEFINED = name[=value]<\/pre>\n<blockquote><p>\u30d7\u30ea\u30d7\u30ed\u30bb\u30b9\u5b9f\u884c\u524d\u306b\uff08\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u5168\u4f53\u306b\u9069\u7528\u3055\u308c\u308b\uff09\u30de\u30af\u30ed\u5b9a\u7fa9\u3092\u6307\u5b9a\u3059\u308b\u3002gcc\u306e <code>-D XXX<\/code> \u306b\u76f8\u5f53\u3059\u308b\u3002\u8907\u6570\u306e\u30de\u30af\u30ed\u5b9a\u7fa9\u306e\u533a\u5207\u308a\u306f\u7a7a\u767d\u6587\u5b57\u3068\u3059\u308b\u3053\u3068\u3002\u30ab\u30f3\u30de , \u306fNG\u3067\u3042\u308b\u3002\u5f15\u7528\u7b26\u306f\u4e0d\u8981\u3067\u3042\u308b\u3002<\/p><\/blockquote>\n<h3>\u7279\u6b8a\u30b3\u30de\u30f3\u30c9 (Special commands)<\/h3>\n<p>\u30d0\u30c3\u30af\u30b9\u30e9\u30c3\u30b7\u30e5 ( &#092; )\u3000\u307e\u305f\u306f \u30a2\u30c3\u30c8\u30de\u30fc\u30af ( &#064; ) \u3067\u59cb\u307e\u308b\u30b3\u30de\u30f3\u30c9\u3002<\/p>\n<p>\u4f8b. &#064;author, &#064;param, &#064;return, &#8230;<\/p>\n<p>Doxygen\u306e\u591a\u304f\u306e\u7279\u6b8a\u30b3\u30de\u30f3\u30c9\u304c<strong>Javadoc<\/strong>\u3068\u4e92\u63db\u6027\u3092\u6301\u3063\u3066\u3044\u308b\u304c\u3001\u4e21\u8005\u306f\u5fc5\u305a\u3057\u3082\u5171\u901a\u3067\u306f\u306a\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Doxyfile\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u4f5c\u6210 \u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u30bc\u30ed\u304b\u3089\u8a18\u8ff0\u3057\u3066\u3082\u826f\u3044\u3002\u3057\u304b\u3057\u306a\u304c\u3089\u3001\u4e0b\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3044\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u81ea\u52d5\u751f\u6210\u3057\u3001\u5fc5\u8981\u306a\u7b87\u6240\u3060\u3051\u3092\u7de8\u96c6\u3059\u308b\u65b9\u6cd5\u304c\u7c21\u4fbf\u3067\u3042\u308b\u3002 $ doxygen -g [ [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[68],"class_list":["post-1974","post","type-post","status-publish","format-standard","hentry","category-memo","tag-doxygen"],"_links":{"self":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/1974","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/comments?post=1974"}],"version-history":[{"count":24,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/1974\/revisions"}],"predecessor-version":[{"id":7008,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/1974\/revisions\/7008"}],"wp:attachment":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/media?parent=1974"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/categories?post=1974"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/tags?post=1974"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}