<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>C++ on 技术笔记</title><link>https://elliot-blog.com/tags/c++/</link><description>Recent content in C++ on 技术笔记</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Sun, 18 Jan 2026 02:24:22 +0800</lastBuildDate><atom:link href="https://elliot-blog.com/tags/c++/index.xml" rel="self" type="application/rss+xml"/><item><title>Cmake理解</title><link>https://elliot-blog.com/posts/202512/cmake/</link><pubDate>Fri, 19 Dec 2025 21:46:39 +0800</pubDate><guid>https://elliot-blog.com/posts/202512/cmake/</guid><description>&lt;h1 id="cmake理解"&gt;cmake理解&lt;/h1&gt;
&lt;h2 id="cmake"&gt;cmake&lt;/h2&gt;
&lt;p&gt;统一的跨平台的构架工具,用于生成makefile(makefile用于生成二进制文件)&lt;/p&gt;
&lt;h2 id="核心理念"&gt;核心理念&lt;/h2&gt;
&lt;blockquote&gt;
&lt;p&gt;Targets represent executables, libraries, and utilities built by CMake. Every &lt;a href="https://cmake.org/cmake/help/latest/command/add_library.html#command:add_library" title="(in CMake v3.30.3)" target="_blank" rel="noopener noreffer "&gt;&lt;code&gt;add_library&lt;/code&gt;&lt;/a&gt;, &lt;a href="https://cmake.org/cmake/help/latest/command/add_executable.html#command:add_executable" title="(in CMake v3.30.3)" target="_blank" rel="noopener noreffer "&gt;&lt;code&gt;add_executable&lt;/code&gt;&lt;/a&gt;, and &lt;a href="https://cmake.org/cmake/help/latest/command/add_custom_target.html#command:add_custom_target" title="(in CMake v3.30.3)" target="_blank" rel="noopener noreffer "&gt;&lt;code&gt;add_custom_target&lt;/code&gt;&lt;/a&gt; command creates a target.&lt;/p&gt;</description></item></channel></rss>