{"id":6667,"date":"2017-10-11T22:39:47","date_gmt":"2017-10-11T13:39:47","guid":{"rendered":"http:\/\/umezawa.dyndns.info\/wordpress\/?p=6667"},"modified":"2017-10-11T22:39:47","modified_gmt":"2017-10-11T13:39:47","slug":"autotools-%e3%81%8b-cmake-%e3%81%8b","status":"publish","type":"post","link":"http:\/\/umezawa.dyndns.info\/wordpress\/?p=6667","title":{"rendered":"autotools \u304b CMake \u304b"},"content":{"rendered":"<p>Ut Video Codec Suite \u3092 Linux (Unix) \u3067\u3082\u4f7f\u3048\u308b\uff08\u30d3\u30eb\u30c9\u3067\u304d\u308b\uff09\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u3092\u8003\u3048\u3066\u3044\u308b\u308f\u3051\u3067\u3059\u304c\u3001\u4eca\u6642\u751f\u306e Makefile \u3092\u30d5\u30eb\u306b\u624b\u66f8\u304d\u3057\u305f\u304f\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u4eca Unix \u3067\u30dd\u30d4\u30e5\u30e9\u30fc\u306a Makefile \u751f\u6210\u30b7\u30b9\u30c6\u30e0\u3068\u3044\u3046\u3068 autotools (<a href=\"https:\/\/www.gnu.org\/software\/automake\/\">automake<\/a>\/<a href=\"https:\/\/www.gnu.org\/software\/autoconf\/autoconf.html\">autoconf<\/a>) \u3068 <a href=\"https:\/\/cmake.org\/\">CMake<\/a> \u304c\u8003\u3048\u3089\u308c\u307e\u3059\u3002\u4ed6\u306b\u3082 SCons \u3068\u304b\u3044\u308d\u3044\u308d\u3042\u308b\u3088\u3046\u3067\u3059\u304c\u3001\u8003\u3048\u306a\u3044\u3053\u3068\u306b\u3057\u307e\u3059\u3002\uff08\u30b0\u30b0\u3063\u3066\u3082 CMake \u3068\u6bd4\u8f03\u3059\u308b\u3068\u3060\u3044\u3076\u5c11\u306a\u3044\u3057\uff09<\/p>\n<p><!--more--><\/p>\n<p>configure.ac\/Makefile.am \u306f\u4f55\u5ea6\u3082\u66f8\u3044\u305f\u3051\u3069 CMakeLists.txt \u3092\u66f8\u3044\u305f\u3053\u3068\u304c\u306a\u3044\u79c1\u306e\u7406\u89e3\u306e\u7bc4\u56f2\u3067\u306e\u3001 CMake \u306e autotools \u306b\u5bfe\u3059\u308b\u5229\u70b9\u3068\u6b20\u70b9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3002<\/p>\n<dl>\n<dt>\u5229\u70b9<\/dt>\n<dd>\n<ul>\n<li>Windows \u3067\u3082\u666e\u901a\u306b\u4f7f\u3048\u3066 Visual Studio \u7528\u306e\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\/\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u751f\u6210\u3067\u304d\u308b\u3002Mac \u3067\u3082\u540c\u69d8\u306b Xcode \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u751f\u6210\u3067\u304d\u308b\u3002\uff08\u305f\u3060\u3057\u3001\u4eca\u56de CMake \u3092 Windows\/Mac \u3067\u4f7f\u3046\u3064\u3082\u308a\u306f\u306a\u3044\uff09<\/li>\n<li>Visual Studio 2017 \u3060\u3068 CMakeLists.txt \u3092\u76f4\u63a5\u8aad\u307f\u8fbc\u3080\u3053\u3068\u3082\u3067\u304d\u308b\u3002\uff08\u305f\u3060\u3057\u3001\uff08\uff52\uff59<\/li>\n<li>JetBrains \u306e <a href=\"https:\/\/www.jetbrains.com\/clion\/\">CLion<\/a> \u3060\u3068 CMakeLists.txt \u3092\u76f4\u63a5\u8aad\u307f\u8fbc\u3080\u3053\u3068\u304c\u3067\u304d\u308b\u3002<\/li>\n<\/ul>\n<\/dd>\n<dt>\u6b20\u70b9<\/dt>\n<dd>\n<ul>\n<li>\u30d3\u30eb\u30c9\u3059\u308b\u74b0\u5883\u306b CMake \u81ea\u4f53\u304c\u5fc5\u8981\u3067\u3001CMake \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c CMakeLists.txt \u3067\u6307\u5b9a\u3057\u305f\u30d0\u30fc\u30b8\u30e7\u30f3\u3088\u308a\u53e4\u3044\uff08CMakeLists.txt \u304c CMake \u306e\u65b0\u3057\u3044\u6a5f\u80fd\u3092\u4f7f\u3063\u3066\u3044\u308b\uff09\u3068 Makefile \u3092\u751f\u6210\u3067\u304d\u306a\u304b\u3063\u305f\u308a\u3059\u308b\u3002\uff08autotools \u306e\u5834\u5408\u306f\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u5f71\u97ff\u3092\u53d7\u3051\u308b\u306e\u306f configure \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u751f\u6210\u3059\u308b\u74b0\u5883\u3060\u3051\u3067\u3001\u30d3\u30eb\u30c9\u3060\u3051\u3059\u308b\u4eba\u306b\u306f\u5f71\u97ff\u304c\u306a\u3044\uff09<\/li>\n<\/ul>\n<\/dd>\n<\/dl>\n<p>\u3055\u3066\u3069\u3046\u3057\u307e\u3059\u304b\u306d\u3047\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ut Video Codec Suite \u3092 Linux (Unix) \u3067\u3082\u4f7f\u3048\u308b\uff08\u30d3\u30eb\u30c9\u3067\u304d\u308b\uff09\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u3092\u8003\u3048\u3066\u3044\u308b\u308f\u3051\u3067\u3059\u304c\u3001\u4eca\u6642\u751f\u306e Makefile \u3092\u30d5\u30eb\u306b\u624b\u66f8\u304d\u3057\u305f\u304f\u306f\u3042\u308a\u307e\u305b\u3093\u3002 \u4eca Unix \u3067\u30dd\u30d4 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27],"tags":[],"class_list":["post-6667","post","type-post","status-publish","format-standard","hentry","category-technology"],"_links":{"self":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/6667","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6667"}],"version-history":[{"count":9,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/6667\/revisions"}],"predecessor-version":[{"id":6676,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/6667\/revisions\/6676"}],"wp:attachment":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6667"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6667"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6667"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}