{"id":283088,"date":"2023-10-11T09:00:57","date_gmt":"2023-10-11T01:00:57","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=283088"},"modified":"2023-09-30T18:59:30","modified_gmt":"2023-09-30T10:59:30","slug":"cfbkygjxt","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/cfbkygjxt.html","title":{"rendered":"Cmake 3.27.5 \u53d1\u5e03\uff0c\u5f00\u6e90\u6784\u5efa\u7cfb\u7edf"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | CMake \u662f\u4e00\u4e2a\u8de8\u5e73\u53f0\u7684\u81ea\u52a8\u5316\u6784\u5efa\u7cfb\u7edf\uff0c\u5b83\u4f7f\u7528\u4e00\u4e2a\u540d\u4e3a CMakeLists.txt \u7684\u6587\u4ef6\u6765\u63cf\u8ff0\u6784\u5efa\u8fc7\u7a0b\uff0c\u53ef\u4ee5\u4ea7\u751f\u6807\u51c6\u7684\u6784\u5efa\u6587\u4ef6\uff0c\u5982 Unix \u7684 Makefile \u6216 Windows Visual C++ \u7684 projects\/workspaces \u3002\u6587\u4ef6 CMakeLists.txt \u9700\u8981\u624b\u5de5\u7f16\u5199\uff0c\u4e5f\u53ef\u4ee5\u901a\u8fc7\u7f16\u5199\u811a\u672c\u8fdb\u884c\u534a\u81ea\u52a8\u7684\u751f\u6210\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n <\/p>\n CMake\u662f\u4e00\u4e2a\u8de8\u5e73\u53f0\u7684\u5b89\u88c5\uff08\u7f16\u8bd1\uff09\u5de5\u5177\uff0c\u53ef\u4ee5\u7528\u7b80\u5355\u7684\u8bed\u53e5\u6765\u63cf\u8ff0\u6240\u6709\u5e73\u53f0\u7684\u5b89\u88c5(\u7f16\u8bd1\u8fc7\u7a0b)\u3002\u4ed6\u80fd\u591f\u8f93\u51fa\u5404\u79cd\u5404\u6837\u7684makefile\u6216\u8005project\u6587\u4ef6\uff0c\u80fd\u6d4b\u8bd5\u7f16\u8bd1\u5668\u6240\u652f\u6301\u7684C++\u7279\u6027,\u7c7b\u4f3cUNIX\u4e0b\u7684automake\u3002\u53ea\u662f CMake \u7684\u7ec4\u6001\u6863\u53d6\u540d\u4e3a CMakeLists.txt\u3002Cmake \u5e76\u4e0d\u76f4\u63a5\u5efa\u6784\u51fa\u6700\u7ec8\u7684\u8f6f\u4ef6\uff0c\u800c\u662f\u4ea7\u751f\u6807\u51c6\u7684\u5efa\u6784\u6863\uff08\u5982 Unix \u7684 Makefile \u6216 Windows Visual C++ \u7684 projects\/workspaces\uff09\uff0c\u7136\u540e\u518d\u4f9d\u4e00\u822c\u7684\u5efa\u6784\u65b9\u5f0f\u4f7f\u7528\u3002\u8fd9\u4f7f\u5f97\u719f\u6089\u67d0\u4e2a\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u7684\u5f00\u53d1\u8005\u53ef\u4ee5\u7528\u6807\u51c6\u7684\u65b9\u5f0f\u5efa\u6784\u4ed6\u7684\u8f6f\u4ef6\uff0c\u8fd9\u79cd\u53ef\u4ee5\u4f7f\u7528\u5404\u5e73\u53f0\u7684\u539f\u751f\u5efa\u6784\u7cfb\u7edf\u7684\u80fd\u529b\u662f CMake \u548c SCons \u7b49\u5176\u4ed6\u7c7b\u4f3c\u7cfb\u7edf\u7684\u533a\u522b\u4e4b\u5904\u3002<\/p>\n CMake \u662f\u4e00\u4e2a\u8de8\u5e73\u53f0\u7684\u81ea\u52a8\u5316\u6784\u5efa\u7cfb\u7edf\uff0c\u5b83\u4f7f\u7528\u4e00\u4e2a\u540d\u4e3a CMakeLists.txt \u7684\u6587\u4ef6\u6765\u63cf\u8ff0\u6784\u5efa\u8fc7\u7a0b\uff0c\u53ef\u4ee5\u4ea7\u751f\u6807\u51c6\u7684\u6784\u5efa\u6587\u4ef6\uff0c\u5982 Unix \u7684 Makefile \u6216 Windows Visual C++ \u7684 projects\/workspaces \u3002\u6587\u4ef6 CMakeLists.txt \u9700\u8981\u624b\u5de5\u7f16\u5199\uff0c\u4e5f\u53ef\u4ee5\u901a\u8fc7\u7f16\u5199\u811a\u672c\u8fdb\u884c\u534a\u81ea\u52a8\u7684\u751f\u6210\u3002CMake 3.27.5 \u73b0\u5df2\u53d1\u5e03\uff0c\u4e00\u4e9b\u4eae\u70b9\u66f4\u65b0\u5185\u5bb9\u5982\u4e0b\uff1a<\/p>\n
|