{"id":17052,"date":"2023-10-26T21:00:05","date_gmt":"2023-10-26T13:00:05","guid":{"rendered":"https:\/\/www.bookcard.net\/wordpress\/?p=17052"},"modified":"2023-10-26T21:02:20","modified_gmt":"2023-10-26T13:02:20","slug":"cmake_setup","status":"publish","type":"post","link":"https:\/\/www.bookcard.net\/wordpress\/cmake_setup\/","title":{"rendered":"CMake\u5b89\u88dd"},"content":{"rendered":"<figure id=\"attachment_17053\" aria-describedby=\"caption-attachment-17053\" style=\"width: 1280px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2023\/10\/CMake_setup.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-17053\" src=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2023\/10\/CMake_setup.jpg\" alt=\"CMake\u5b89\u88dd\" width=\"1280\" height=\"800\" srcset=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2023\/10\/CMake_setup.jpg 1280w, https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2023\/10\/CMake_setup-300x188.jpg 300w, https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2023\/10\/CMake_setup-768x480.jpg 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/a><figcaption id=\"caption-attachment-17053\" class=\"wp-caption-text\">CMake\u5b89\u88dd<\/figcaption><\/figure>\n<figure id=\"attachment_17054\" aria-describedby=\"caption-attachment-17054\" style=\"width: 1280px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2023\/10\/CMake_version.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-17054\" src=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2023\/10\/CMake_version.jpg\" alt=\"CMake\u7248\u672c\" width=\"1280\" height=\"800\" srcset=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2023\/10\/CMake_version.jpg 1280w, https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2023\/10\/CMake_version-300x188.jpg 300w, https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2023\/10\/CMake_version-768x480.jpg 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/a><figcaption id=\"caption-attachment-17054\" class=\"wp-caption-text\">CMake\u7248\u672c<\/figcaption><\/figure>\n<p>\u300eCMake\u300f\u611b\u849e\u751f\u6210makefile\u6216project\u6587\u4ef6, \u7540Visual studio\u7de8\u8b6f\u4ee3\u78bc.<\/p>\n<p>\u767b\u5165\u300e<a href=\"https:\/\/cmake.org\/\">CMake\u5b98\u7db2<\/a>\u300f\u4e0b\u8f09\u300e<a href=\"https:\/\/github.com\/Kitware\/CMake\/releases\/download\/v3.27.7\/cmake-3.27.7-windows-x86_64.msi\">cmake-3.27.7-windows-x86_64.msi<\/a>\u300f\u5b89\u88c5\u5305.<\/p>\n<ol>\n<li>\u904b\u884c\u300e<a href=\"https:\/\/github.com\/Kitware\/CMake\/releases\/download\/v3.27.7\/cmake-3.27.7-windows-x86_64.msi\">cmake-3.27.7-windows-x86_64.msi<\/a>\u300f<\/li>\n<li>\u52fe\u300eI accept the terms in License Agreement\u300f\u64b3\u300eNext\u300f<\/li>\n<li>\u52fe\u300eAdd CMake to system PATH for all users\u300f\u64b3\u300eNext\u300f<\/li>\n<li>\u300eInstall Cmake to:\u300f\u586b\u300eC:\\Program Files\\CMake\\\u300f\u6216\u586b\u82f1\u6587\u8def\u5f91.\u64b3\u300eNext\u300f<\/li>\n<li>\u64b3\u300eInstall\u300f\u5b89\u88c5<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p>\u9a57\u8a3cCMake\u5b89\u88c5<\/p>\n<ol>\n<li>\u64b3\u300ewin+r\u300f\u586b \u8fdb\u5165\u547d\u4ee4\u884c\u6a21\u5f0f.<\/li>\n<li>\u586b\u300ecmake -version\u300f\u64b3enter\u9375<\/li>\n<li>\u986f\u793acmake\u7248\u672c\u300ecmake version 3.27.7\u300f.<\/li>\n<\/ol>\n<table>\n<tbody>\n<tr>\n<td width=\"553\"><a href=\"https:\/\/cmake.org\/\">https:\/\/cmake.org\/<\/a><\/td>\n<\/tr>\n<tr>\n<td width=\"553\"><a href=\"https:\/\/cmake.org\/download\/\">https:\/\/cmake.org\/download\/<\/a><\/td>\n<\/tr>\n<tr>\n<td width=\"553\"><a href=\"https:\/\/github.com\/Kitware\/CMake\/releases\/download\/v3.28.0-rc3\/cmake-3.28.0-rc3-windows-x86_64.msi\">cmake-3.28.0-rc3-windows-x86_64.msi<\/a><\/td>\n<\/tr>\n<tr>\n<td width=\"553\"><a href=\"https:\/\/github.com\/Kitware\/CMake\/releases\/download\/v3.27.7\/cmake-3.27.7-windows-x86_64.msi\">cmake-3.27.7-windows-x86_64.msi<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u300eCMake\u300f\u611b\u849e\u751f\u6210makefile\u6216project\u6587\u4ef6, \u7540Visual studio\u7de8\u8b6f\u4ee3\u78bc. \u767b\u5165\u300eC &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.bookcard.net\/wordpress\/cmake_setup\/\" class=\"more-link\">\u7e7c\u7e8c\u95b1\u8b80 <span class=\"screen-reader-text\">CMake\u5b89\u88dd<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[51,13],"tags":[3,42],"class_list":["post-17052","post","type-post","status-publish","format-standard","hentry","category-windows","category-pc","tag-windows","tag-computer","entry"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/posts\/17052","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/comments?post=17052"}],"version-history":[{"count":1,"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/posts\/17052\/revisions"}],"predecessor-version":[{"id":17055,"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/posts\/17052\/revisions\/17055"}],"wp:attachment":[{"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/media?parent=17052"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/categories?post=17052"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/tags?post=17052"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}