<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
    <channel>
        <title>CMake - 标签 - LoveIt</title>
        <link>https://zhengqijun0121.github.io/blog/tags/cmake/</link>
        <description>CMake - 标签 - LoveIt</description>
        <generator>Hugo -- gohugo.io</generator><language>zh-CN</language><managingEditor>zhengqijun0121@qq.com (zhengqijun0121)</managingEditor>
            <webMaster>zhengqijun0121@qq.com (zhengqijun0121)</webMaster><copyright>This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.</copyright><lastBuildDate>Sat, 24 Jan 2026 09:00:00 &#43;0800</lastBuildDate><atom:link href="https://zhengqijun0121.github.io/blog/tags/cmake/" rel="self" type="application/rss+xml" /><item>
    <title>CMake 多平台 Toolchain 配置指南</title>
    <link>https://zhengqijun0121.github.io/blog/003_cmake%E5%A4%9A%E5%B9%B3%E5%8F%B0toolchain%E9%85%8D%E7%BD%AE%E6%8C%87%E5%8D%97/</link>
    <pubDate>Sat, 24 Jan 2026 09:00:00 &#43;0800</pubDate>
    <author>zhengqijun0121@qq.com (zhengqijun0121)</author>
    <guid>https://zhengqijun0121.github.io/blog/003_cmake%E5%A4%9A%E5%B9%B3%E5%8F%B0toolchain%E9%85%8D%E7%BD%AE%E6%8C%87%E5%8D%97/</guid>
    <description><![CDATA[<h1 id="cmake-多平台-toolchain-编写指南">CMake 多平台 Toolchain 编写指南</h1>
<p>CMake Toolchain 的核心作用是<strong>隔离平台/架构的编译器、链接器、系统配置差异</strong>，配合通用构建逻辑实现一套代码多平台编译。分为两大核心场景：<strong>原生多平台适配</strong>（在目标平台本地编译，自动适配环境）、<strong>交叉编译</strong>（在主机编译其他平台的目标程序），以下是完整的实现方案、模板和最佳实践。</p>]]></description>
</item>
</channel>
</rss>
