{"id":470524,"date":"2025-08-13T09:00:35","date_gmt":"2025-08-13T09:00:35","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=470524"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=470524","title":{"rendered":"<span>\u0412\u044b\u043f\u0443\u0441\u043a \u0441\u0431\u043e\u0440\u043e\u0447\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b CMake 4.1.0<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<figure class=\"full-width\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/ca2\/6d8\/3a4\/ca26d83a462c47bd797cdd11d5f0fbeb.jpg\" width=\"1122\" height=\"470\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/ca2\/6d8\/3a4\/ca26d83a462c47bd797cdd11d5f0fbeb.jpg 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/ca2\/6d8\/3a4\/ca26d83a462c47bd797cdd11d5f0fbeb.jpg 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u0412 \u043d\u0430\u0447\u0430\u043b\u0435 \u0430\u0432\u0433\u0443\u0441\u0442\u0430 2025\u00a0\u0433\u043e\u0434\u0430 <a href=\"https:\/\/www.kitware.com\/cmake-4-1-0-available-for-download\/\" rel=\"noopener noreferrer nofollow\">\u0441\u043e\u0441\u0442\u043e\u044f\u043b\u0441\u044f<\/a> \u0440\u0435\u043b\u0438\u0437 \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0441\u0431\u043e\u0440\u043e\u0447\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b CMake 4.1.0. \u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043e\u0439 Autotools \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u043e\u0433\u043e \u0432\u00a0\u0442\u0430\u043a\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445, \u043a\u0430\u043a\u00a0KDE, LLVM\/Clang, MySQL, MariaDB, ReactOS \u0438 Blender. \u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 CMake \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430\u00a0\u044f\u0437\u044b\u043a\u0435 C++ \u0438 <a href=\"https:\/\/github.com\/Kitware\/CMake\" rel=\"noopener noreferrer nofollow\">\u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d<\/a> \u043d\u0430\u00a0GitHub \u043f\u043e\u0434\u00a0\u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0435\u0439 BSD. \u0412\u0435\u0440\u0441\u0438\u044f CMake 3.0.0\u00a0<a href=\"https:\/\/github.com\/Kitware\/CMake\/releases\/tag\/v3.0.0\" rel=\"noopener noreferrer nofollow\">\u0432\u044b\u0448\u043b\u0430<\/a> \u0432\u00a0\u0434\u0435\u043a\u0430\u0431\u0440\u0435 2018\u00a0\u0433\u043e\u0434\u0430. \u0420\u0435\u043b\u0438\u0437 CMake 4.0.0 <a href=\"https:\/\/habr.com\/ru\/news\/895612\/\" rel=\"noopener noreferrer nofollow\">\u0441\u043b\u0443\u0447\u0438\u043b\u0441\u044f<\/a> \u0432 \u043c\u0430\u0440\u0442\u0435 2025 \u0433\u043e\u0434\u0430.<\/p>\n<p>\u0421\u0431\u043e\u0440\u043a\u0438 CMake 4.1.0\u00a0<a href=\"https:\/\/cmake.org\/download\/\" rel=\"noopener noreferrer nofollow\">\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b<\/a> \u0434\u043b\u044f\u00a0Unix\/Linux, macOS, Windows \u0438 SunOS.<\/p>\n<figure class=\"full-width\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/d74\/178\/a00\/d74178a00ff8cab6aa19c1c2f32ae55e.png\" width=\"788\" height=\"859\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/d74\/178\/a00\/d74178a00ff8cab6aa19c1c2f32ae55e.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/d74\/178\/a00\/d74178a00ff8cab6aa19c1c2f32ae55e.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u041f\u0440\u043e\u0435\u043a\u0442 CMake \u043f\u0440\u0438\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u0435\u043d \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e \u044f\u0437\u044b\u043a\u0430 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0435\u0432, \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 \u043c\u043e\u0434\u0443\u043b\u0438, \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u043d\u0430\u043b\u0438\u0447\u0438\u0435\u043c \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u0434\u043b\u044f\u00a0\u043a\u0440\u043e\u0441\u0441\u2011\u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438, \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u0444\u0430\u0439\u043b\u043e\u0432 \u0441\u0431\u043e\u0440\u043a\u0438 \u0434\u043b\u044f\u00a0\u0448\u0438\u0440\u043e\u043a\u043e\u0433\u043e \u0441\u043f\u0435\u043a\u0442\u0440\u0430 \u0441\u0438\u0441\u0442\u0435\u043c \u0441\u0431\u043e\u0440\u043a\u0438 \u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u043e\u0432, \u043d\u0430\u043b\u0438\u0447\u0438\u0435\u043c \u0443\u0442\u0438\u043b\u0438\u0442 ctest \u0438 cpack \u0434\u043b\u044f\u00a0\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0435\u0432 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u0441\u0431\u043e\u0440\u043a\u0438 \u043f\u0430\u043a\u0435\u0442\u043e\u0432, \u0443\u0442\u0438\u043b\u0438\u0442\u043e\u0439 cmake\u2011gui \u0434\u043b\u044f\u00a0\u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0439 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u0441\u0431\u043e\u0440\u043a\u0438. <\/p>\n<p>\u041f\u043e <a href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=63713\" rel=\"noopener noreferrer nofollow\">\u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438<\/a> OpenNET, \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 <a href=\"https:\/\/cmake.org\/cmake\/help\/v4.1\/release\/4.1.html\" rel=\"noopener noreferrer nofollow\">\u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f<\/a> \u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0432\u00a0CMake 4.1.0: <\/p>\n<ul>\n<li>\n<p>\u0432 <a href=\"https:\/\/cmake.org\/cmake\/help\/latest\/manual\/cmake-configure-log.7.html\" rel=\"noopener noreferrer nofollow\">cmake\u2011configure\u2011log<\/a> \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d \u0432\u044b\u0432\u043e\u0434 \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u0438\u0437\u00a0\u043a\u043e\u043c\u0430\u043d\u0434 find_package(), find_path(), find_file(), find_library() \u0438 find_program() \u043f\u0440\u0438\u00a0\u0438\u0445 \u043f\u0435\u0440\u0432\u043e\u043c \u0432\u044b\u0437\u043e\u0432\u0435, \u043a\u043e\u0433\u0434\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043c\u0435\u043d\u044f\u0435\u0442 \u0441\u0442\u0430\u0442\u0443\u0441 \u0441 \u00ab\u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u00bb \u043d\u0430 \u00ab\u043d\u0430\u0439\u0434\u0435\u043d\u00bb;<\/p>\n<\/li>\n<li>\n<p>\u0432\u00a0\u043a\u043e\u043c\u0430\u043d\u0434\u0443 cmake_pkg_config() \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u043f\u043e\u0434\u043a\u043e\u043c\u0430\u043d\u0434 IMPORT \u0438 POPULATE \u0434\u043b\u044f\u00a0\u0440\u0430\u0431\u043e\u0442\u044b \u0441\u00a0\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044f\u043c\u0438 \u043d\u0430\u00a0\u0431\u0430\u0437\u0435 pkg\u2011config;<\/p>\n<\/li>\n<li>\n<p>\u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0430 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f CMAKE_FIND_REQUIRED, \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0430\u044f \u0440\u0435\u0436\u0438\u043c REQUIRED \u0432\u00a0\u043a\u043e\u043c\u0430\u043d\u0434\u0430\u0445 find_package(), find_path(), find_file(), find_library() \u0438 find_program(). \u0414\u043b\u044f\u00a0\u0438\u0433\u043d\u043e\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u0432\u00a0\u043a\u043e\u043c\u0430\u043d\u0434\u0430\u0445 \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f \u043a\u043b\u044e\u0447\u0435\u0432\u043e\u0435 \u0441\u043b\u043e\u0432\u043e OPTIONAL;<\/p>\n<\/li>\n<li>\n<p>\u0432\u00a0\u043c\u043e\u0434\u0443\u043b\u044f\u0445 FindBLAS \u0438 FindLAPACK \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 NVPL (NVIDIA Performance Libraries);<\/p>\n<\/li>\n<li>\n<p>\u0432\u00a0\u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f\u0445 string(REGEX MATCHALL), string(REGEX REPLACE) \u0438 list(TRANSFORM REPLACE) \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u043c\u0435\u0442\u043a\u0438 \u043d\u0430\u0447\u0430\u043b\u0430 (\u00ab^\u00bb) \u0432\u00a0\u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0445 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f\u0445;<\/p>\n<\/li>\n<li>\n<p>\u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u0430 TARGET_PROPERTY \u0442\u0435\u043f\u0435\u0440\u044c \u043e\u0445\u0432\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 LINK_LIBRARIES \u0438 INTERFACE_LINK_LIBRARIES. <\/p>\n<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/936432\/\"> https:\/\/habr.com\/ru\/articles\/936432\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<figure class=\"full-width\"><\/figure>\n<p>\u0412 \u043d\u0430\u0447\u0430\u043b\u0435 \u0430\u0432\u0433\u0443\u0441\u0442\u0430 2025\u00a0\u0433\u043e\u0434\u0430 <a href=\"https:\/\/www.kitware.com\/cmake-4-1-0-available-for-download\/\" rel=\"noopener noreferrer nofollow\">\u0441\u043e\u0441\u0442\u043e\u044f\u043b\u0441\u044f<\/a> \u0440\u0435\u043b\u0438\u0437 \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0441\u0431\u043e\u0440\u043e\u0447\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b CMake 4.1.0. \u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043e\u0439 Autotools \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u043e\u0433\u043e \u0432\u00a0\u0442\u0430\u043a\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445, \u043a\u0430\u043a\u00a0KDE, LLVM\/Clang, MySQL, MariaDB, ReactOS \u0438 Blender. \u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 CMake \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430\u00a0\u044f\u0437\u044b\u043a\u0435 C++ \u0438 <a href=\"https:\/\/github.com\/Kitware\/CMake\" rel=\"noopener noreferrer nofollow\">\u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d<\/a> \u043d\u0430\u00a0GitHub \u043f\u043e\u0434\u00a0\u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0435\u0439 BSD. \u0412\u0435\u0440\u0441\u0438\u044f CMake 3.0.0\u00a0<a href=\"https:\/\/github.com\/Kitware\/CMake\/releases\/tag\/v3.0.0\" rel=\"noopener noreferrer nofollow\">\u0432\u044b\u0448\u043b\u0430<\/a> \u0432\u00a0\u0434\u0435\u043a\u0430\u0431\u0440\u0435 2018\u00a0\u0433\u043e\u0434\u0430. \u0420\u0435\u043b\u0438\u0437 CMake 4.0.0 <a href=\"https:\/\/habr.com\/ru\/news\/895612\/\" rel=\"noopener noreferrer nofollow\">\u0441\u043b\u0443\u0447\u0438\u043b\u0441\u044f<\/a> \u0432 \u043c\u0430\u0440\u0442\u0435 2025 \u0433\u043e\u0434\u0430.<\/p>\n<p>\u0421\u0431\u043e\u0440\u043a\u0438 CMake 4.1.0\u00a0<a href=\"https:\/\/cmake.org\/download\/\" rel=\"noopener noreferrer nofollow\">\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b<\/a> \u0434\u043b\u044f\u00a0Unix\/Linux, macOS, Windows \u0438 SunOS.<\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u041f\u0440\u043e\u0435\u043a\u0442 CMake \u043f\u0440\u0438\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u0435\u043d \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e \u044f\u0437\u044b\u043a\u0430 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0435\u0432, \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 \u043c\u043e\u0434\u0443\u043b\u0438, \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u043d\u0430\u043b\u0438\u0447\u0438\u0435\u043c \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u0434\u043b\u044f\u00a0\u043a\u0440\u043e\u0441\u0441\u2011\u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438, \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u0444\u0430\u0439\u043b\u043e\u0432 \u0441\u0431\u043e\u0440\u043a\u0438 \u0434\u043b\u044f\u00a0\u0448\u0438\u0440\u043e\u043a\u043e\u0433\u043e \u0441\u043f\u0435\u043a\u0442\u0440\u0430 \u0441\u0438\u0441\u0442\u0435\u043c \u0441\u0431\u043e\u0440\u043a\u0438 \u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u043e\u0432, \u043d\u0430\u043b\u0438\u0447\u0438\u0435\u043c \u0443\u0442\u0438\u043b\u0438\u0442 ctest \u0438 cpack \u0434\u043b\u044f\u00a0\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0435\u0432 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u0441\u0431\u043e\u0440\u043a\u0438 \u043f\u0430\u043a\u0435\u0442\u043e\u0432, \u0443\u0442\u0438\u043b\u0438\u0442\u043e\u0439 cmake\u2011gui \u0434\u043b\u044f\u00a0\u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0439 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u0441\u0431\u043e\u0440\u043a\u0438. <\/p>\n<p>\u041f\u043e <a href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=63713\" rel=\"noopener noreferrer nofollow\">\u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438<\/a> OpenNET, \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 <a href=\"https:\/\/cmake.org\/cmake\/help\/v4.1\/release\/4.1.html\" rel=\"noopener noreferrer nofollow\">\u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f<\/a> \u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0432\u00a0CMake 4.1.0: <\/p>\n<ul>\n<li>\n<p>\u0432 <a href=\"https:\/\/cmake.org\/cmake\/help\/latest\/manual\/cmake-configure-log.7.html\" rel=\"noopener noreferrer nofollow\">cmake\u2011configure\u2011log<\/a> \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d \u0432\u044b\u0432\u043e\u0434 \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u0438\u0437\u00a0\u043a\u043e\u043c\u0430\u043d\u0434 find_package(), find_path(), find_file(), find_library() \u0438 find_program() \u043f\u0440\u0438\u00a0\u0438\u0445 \u043f\u0435\u0440\u0432\u043e\u043c \u0432\u044b\u0437\u043e\u0432\u0435, \u043a\u043e\u0433\u0434\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043c\u0435\u043d\u044f\u0435\u0442 \u0441\u0442\u0430\u0442\u0443\u0441 \u0441 \u00ab\u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u00bb \u043d\u0430 \u00ab\u043d\u0430\u0439\u0434\u0435\u043d\u00bb;<\/p>\n<\/li>\n<li>\n<p>\u0432\u00a0\u043a\u043e\u043c\u0430\u043d\u0434\u0443 cmake_pkg_config() \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u043f\u043e\u0434\u043a\u043e\u043c\u0430\u043d\u0434 IMPORT \u0438 POPULATE \u0434\u043b\u044f\u00a0\u0440\u0430\u0431\u043e\u0442\u044b \u0441\u00a0\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044f\u043c\u0438 \u043d\u0430\u00a0\u0431\u0430\u0437\u0435 pkg\u2011config;<\/p>\n<\/li>\n<li>\n<p>\u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0430 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f CMAKE_FIND_REQUIRED, \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0430\u044f \u0440\u0435\u0436\u0438\u043c REQUIRED \u0432\u00a0\u043a\u043e\u043c\u0430\u043d\u0434\u0430\u0445 find_package(), find_path(), find_file(), find_library() \u0438 find_program(). \u0414\u043b\u044f\u00a0\u0438\u0433\u043d\u043e\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u0432\u00a0\u043a\u043e\u043c\u0430\u043d\u0434\u0430\u0445 \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f \u043a\u043b\u044e\u0447\u0435\u0432\u043e\u0435 \u0441\u043b\u043e\u0432\u043e OPTIONAL;<\/p>\n<\/li>\n<li>\n<p>\u0432\u00a0\u043c\u043e\u0434\u0443\u043b\u044f\u0445 FindBLAS \u0438 FindLAPACK \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 NVPL (NVIDIA Performance Libraries);<\/p>\n<\/li>\n<li>\n<p>\u0432\u00a0\u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f\u0445 string(REGEX MATCHALL), string(REGEX REPLACE) \u0438 list(TRANSFORM REPLACE) \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u043c\u0435\u0442\u043a\u0438 \u043d\u0430\u0447\u0430\u043b\u0430 (\u00ab^\u00bb) \u0432\u00a0\u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0445 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f\u0445;<\/p>\n<\/li>\n<li>\n<p>\u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u0430 TARGET_PROPERTY \u0442\u0435\u043f\u0435\u0440\u044c \u043e\u0445\u0432\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 LINK_LIBRARIES \u0438 INTERFACE_LINK_LIBRARIES. <\/p>\n<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/936432\/\"> https:\/\/habr.com\/ru\/articles\/936432\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-470524","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/470524","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=470524"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/470524\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=470524"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=470524"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=470524"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}