{"id":3753,"date":"2020-08-20T06:46:33","date_gmt":"2020-08-19T21:46:33","guid":{"rendered":"https:\/\/www.chihayafuru.jp\/tech\/?p=3753"},"modified":"2020-08-20T06:52:24","modified_gmt":"2020-08-19T21:52:24","slug":"pkg-config","status":"publish","type":"post","link":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/archives\/3753","title":{"rendered":"pkg-config"},"content":{"rendered":"<p>\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u7528\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981\u306a\u30d1\u30b9\u3084\u30d3\u30eb\u30c9\u30aa\u30d7\u30b7\u30e7\u30f3\u306a\u3069\u306e\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308b\u305f\u3081\u306e\u4ed5\u7d44\u307f<\/p>\n<p><!--more--><\/p>\n<h3>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u4f8b<\/h3>\n<p><code>\/usr\/local\/lib\/pkgconfig\/gtest.pc<\/code><\/p>\n<pre class=\"lang:default highlight:0 decode:true \" >prefix=${pcfiledir}\/..\/..\r\nlibdir=${prefix}\/lib\r\nincludedir=${prefix}\/include\r\n\r\nName: gtest\r\nDescription: GoogleTest (without main() function)\r\nVersion: 1.10.0\r\nURL: https:\/\/github.com\/google\/googletest\r\nLibs: -L${libdir} -lgtest\r\nCflags: -I${includedir} -DGTEST_HAS_PTHREAD=1<\/pre>\n<h3>\u60c5\u5831\u53c2\u7167\u4f8b<\/h3>\n<pre class=\"lang:default highlight:0 decode:true \" >\r\n% pkg-config --modversion gtest\r\n1.10.0\r\n<\/pre>\n<pre class=\"lang:default highlight:0 decode:true \" >\r\n% pkg-config --cflags gtest\r\n-DGTEST_HAS_PTHREAD=1 -I\/usr\/local\/lib\/pkgconfig\/..\/..\/include\r\n<\/pre>\n<pre class=\"lang:default highlight:0 decode:true \" >\r\n% pkg-config --libs gtest\r\n\r\n-L\/usr\/local\/lib\/pkgconfig\/..\/..\/lib -lgtest\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u7528\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981\u306a\u30d1\u30b9\u3084\u30d3\u30eb\u30c9\u30aa\u30d7\u30b7\u30e7\u30f3\u306a\u3069\u306e\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308b\u305f\u3081\u306e\u4ed5\u7d44\u307f<\/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":[],"class_list":["post-3753","post","type-post","status-publish","format-standard","hentry","category-memo"],"_links":{"self":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/3753","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=3753"}],"version-history":[{"count":5,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/3753\/revisions"}],"predecessor-version":[{"id":3758,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/3753\/revisions\/3758"}],"wp:attachment":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/media?parent=3753"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/categories?post=3753"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/tags?post=3753"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}