ruki 2 år sedan
förälder
incheckning
1c827ba917

+ 26 - 2
manual/project_target.md

@@ -1191,11 +1191,35 @@ target("test")
     set_pcxxheader("header.h")
 ```
 
-### target:add_deps
+### target:set_pmheader
 
-#### Add target dependencies
+#### Set pre-compiled objc header file
+
+Xmake supports accelerating objc program compilation by precompiling header files. Currently supported compilers are: gcc, clang, and msvc.
+
+The usage is as follows:
+
+```lua
+target("test")
+    set_pmheader("header.h")
+```
+
+### target:set_pmxxheader
 
+#### Set pre-compiled objc++ header file
 
+Xmake supports precompiled header files to speed up ObjC++ program compilation. Currently supported compilers are: gcc, clang, and msvc.
+
+The usage is as follows:
+
+```lua
+target("test")
+    set_pmxxheader("header.h")
+```
+
+### target:add_deps
+
+#### Add target dependencies
 
 Add the dependency target of the current target. When compiling, it will first compile the target of the dependency and then compile the current target. . .
 

+ 5 - 0
mirror/about/who_is_using_xmake.html

@@ -231,6 +231,11 @@
 <td style="text-align:left"><a href="https://luisa-render.com/">Luisa-Compute</a></td>
 <td style="text-align:left">A general-purpose, high-performance, cross-platform computing framework for streaming-architectures. Thanks to xmake&#39;s cross-platform ability and lua DSL&#39;s flexible expressioness, the development efficiency and compilation experience has been greatly improved.</td>
 </tr>
+<tr>
+<td style="text-align:left"><a href="https://github.com/Sunrisepeak">Sunrisepeak</a></td>
+<td style="text-align:left"><a href="https://github.com/Sunrisepeak/DStruct">DStruct</a> (an easy-to-port/learn/use C++ data structure template library)</td>
+<td style="text-align:left">DStruct 是一个平台无关(易于移植)且结构简洁的数据结构模板库, 可使用xmake进行快速构建&amp;测试</td>
+</tr>
 </tbody>
 </table>
 </article>

+ 14 - 0
mirror/manual/project_target.html

@@ -1172,6 +1172,20 @@ target("demo")
 <pre><code class="lang-lua">target("test")
     set_pcxxheader("header.h")
 </code></pre>
+<h3 id="targetset_pmheader">target:set_pmheader</h3>
+<h4 id="setprecompiledobjcheaderfile">Set pre-compiled objc header file</h4>
+<p>Xmake supports accelerating objc program compilation by precompiling header files. Currently supported compilers are: gcc, clang, and msvc.</p>
+<p>The usage is as follows:</p>
+<pre><code class="lang-lua">target("test")
+    set_pmheader("header.h")
+</code></pre>
+<h3 id="targetset_pmxxheader">target:set_pmxxheader</h3>
+<h4 id="setprecompiledobjcheaderfile">Set pre-compiled objc++ header file</h4>
+<p>Xmake supports precompiled header files to speed up ObjC++ program compilation. Currently supported compilers are: gcc, clang, and msvc.</p>
+<p>The usage is as follows:</p>
+<pre><code class="lang-lua">target("test")
+    set_pmxxheader("header.h")
+</code></pre>
 <h3 id="targetadd_deps">target:add_deps</h3>
 <h4 id="addtargetdependencies">Add target dependencies</h4>
 <p>Add the dependency target of the current target. When compiling, it will first compile the target of the dependency and then compile the current target. . .</p>

+ 5 - 0
mirror/zh-cn/about/who_is_using_xmake.html

@@ -221,6 +221,11 @@
 <td style="text-align:left"><a href="https://luisa-render.com/">Luisa-Compute</a></td>
 <td style="text-align:left">跨平台高性能通用流处理器计算框架。凭借xmake良好的跨平台能力和lua DSL强大的表达能力,极大提升了项目开发效率和编译体验。</td>
 </tr>
+<tr>
+<td style="text-align:left"><a href="https://github.com/Sunrisepeak">Sunrisepeak</a></td>
+<td style="text-align:left"><a href="https://github.com/Sunrisepeak/DStruct">DStruct</a> (an easy-to-port/learn/use C++ data structure template library)</td>
+<td style="text-align:left">DStruct 是一个平台无关(易于移植)且结构简洁的数据结构模板库, 可使用xmake进行快速构建&amp;测试</td>
+</tr>
 </tbody>
 </table>
 </article>

+ 1 - 1
mirror/zh-cn/guide/project_examples.html

@@ -1251,7 +1251,7 @@ target("test")
 echo zlibVersion()
 </code></pre>
 <h2 id="keilmdk">Keil/MDK 嵌入式程序</h2>
-<p>相关例子工程:<a href="https://github.com/xmake-io/xmake/tree/dev/tests/projects/mdk/hello">Example</a></p>
+<p>相关例子工程:<a href="https://github.com/xmake-io/xmake/tree/dev/tests/projects/embed/mdk/hello">Example</a></p>
 <p>xmake 会自动探测 Keil/MDK 安装的编译器,相关 issues <a href="https://github.com/xmake-io/xmake/issues/1753">#1753</a>。</p>
 <p>使用 armcc 编译</p>
 <pre><code class="lang-console">$ xmake f -p cross -a cortex-m3 --toolchain=armcc -c

+ 16 - 2
mirror/zh-cn/manual/project_target.html

@@ -1168,19 +1168,33 @@ target("demo")
     end)
 </code></pre>
 <h3 id="targetset_pcheader">target:set_pcheader</h3>
-<h4 id="c">设置c预编译头文件</h4>
+<h4 id="c">设置 C 预编译头文件</h4>
 <p>xmake支持通过预编译头文件去加速c程序编译,目前支持的编译器有:gcc, clang和msvc。</p>
 <p>使用方式如下:</p>
 <pre><code class="lang-lua">target("test")
     set_pcheader("header.h")
 </code></pre>
 <h3 id="targetset_pcxxheader">target:set_pcxxheader</h3>
-<h4 id="c">设置c++预编译头文件</h4>
+<h4 id="c">设置 C++ 预编译头文件</h4>
 <p>xmake支持通过预编译头文件去加速c++程序编译,目前支持的编译器有:gcc, clang和msvc。</p>
 <p>使用方式如下:</p>
 <pre><code class="lang-lua">target("test")
     set_pcxxheader("header.h")
 </code></pre>
+<h3 id="targetset_pmheader">target:set_pmheader</h3>
+<h4 id="objc">设置 ObjC 预编译头文件</h4>
+<p>xmake支持通过预编译头文件去加速 ObjC 程序编译,目前支持的编译器有:gcc, clang和msvc。</p>
+<p>使用方式如下:</p>
+<pre><code class="lang-lua">target("test")
+    set_pmheader("header.h")
+</code></pre>
+<h3 id="targetset_pmxxheader">target:set_pmxxheader</h3>
+<h4 id="objc">设置 ObjC++ 预编译头文件</h4>
+<p>xmake支持通过预编译头文件去加速 ObjC++ 程序编译,目前支持的编译器有:gcc, clang和msvc。</p>
+<p>使用方式如下:</p>
+<pre><code class="lang-lua">target("test")
+    set_pmxxheader("header.h")
+</code></pre>
 <h3 id="targetadd_deps">target:add_deps</h3>
 <h4 id="">添加子工程目标依赖</h4>
 <p>添加当前目标的依赖目标,编译的时候,会去优先编译依赖的目标,然后再编译当前目标。。。</p>

+ 102 - 102
sitemap.xml

@@ -12,512 +12,512 @@
 
 <url>
   <loc>https://xmake.io/mirror/guide/project_examples.html</loc>
-  <lastmod>2023-06-30T22:45:35+08:00</lastmod>
+  <lastmod>2023-07-08T22:11:58+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/guide/quickstart.html</loc>
-  <lastmod>2023-06-30T22:45:35+08:00</lastmod>
+  <lastmod>2023-07-08T22:11:58+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/guide/faq.html</loc>
-  <lastmod>2023-06-30T22:45:35+08:00</lastmod>
+  <lastmod>2023-07-08T22:11:58+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/guide/build_policies.html</loc>
-  <lastmod>2023-06-30T22:45:35+08:00</lastmod>
+  <lastmod>2023-07-08T22:11:59+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/guide/configuration.html</loc>
-  <lastmod>2023-06-30T22:45:35+08:00</lastmod>
+  <lastmod>2023-07-08T22:11:59+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/guide/syntax_description.html</loc>
-  <lastmod>2023-06-30T22:45:35+08:00</lastmod>
+  <lastmod>2023-07-08T22:11:59+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/guide/installation.html</loc>
-  <lastmod>2023-06-30T22:45:36+08:00</lastmod>
+  <lastmod>2023-07-08T22:11:59+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/features/remote_build.html</loc>
-  <lastmod>2023-06-30T22:45:36+08:00</lastmod>
+  <lastmod>2023-07-08T22:11:59+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/features/unity_build.html</loc>
-  <lastmod>2023-06-30T22:45:36+08:00</lastmod>
+  <lastmod>2023-07-08T22:11:59+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/features/distcc_build.html</loc>
-  <lastmod>2023-06-30T22:45:36+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:00+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/features/trybuild.html</loc>
-  <lastmod>2023-06-30T22:45:36+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:00+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/features/autogen.html</loc>
-  <lastmod>2023-06-30T22:45:36+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:00+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/features/build_cache.html</loc>
-  <lastmod>2023-06-30T22:45:37+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:00+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/plugin/plugin_development.html</loc>
-  <lastmod>2023-06-30T22:45:37+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:00+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/plugin/more_plugins.html</loc>
-  <lastmod>2023-06-30T22:45:37+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:00+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/plugin/builtin_plugins.html</loc>
-  <lastmod>2023-06-30T22:45:37+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:01+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/about/awesome.html</loc>
-  <lastmod>2023-06-30T22:45:37+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:01+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/about/technical_support.html</loc>
-  <lastmod>2023-06-30T22:45:37+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:01+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/about/changelog.html</loc>
-  <lastmod>2023-06-30T22:45:38+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:01+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/about/contact.html</loc>
-  <lastmod>2023-06-30T22:45:38+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:01+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/about/introduction.html</loc>
-  <lastmod>2023-06-30T22:45:38+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:02+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/about/who_is_using_xmake.html</loc>
-  <lastmod>2023-06-30T22:45:38+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:02+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/about/sponsor.html</loc>
-  <lastmod>2023-06-30T22:45:38+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:02+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/index.html</loc>
-  <lastmod>2023-06-30T22:45:39+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:02+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/guide/project_examples.html</loc>
-  <lastmod>2023-06-30T22:45:39+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:02+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/guide/quickstart.html</loc>
-  <lastmod>2023-06-30T22:45:39+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:03+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/guide/faq.html</loc>
-  <lastmod>2023-06-30T22:45:39+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:03+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/guide/build_policies.html</loc>
-  <lastmod>2023-06-30T22:45:39+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:03+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/guide/configuration.html</loc>
-  <lastmod>2023-06-30T22:45:40+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:03+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/guide/syntax_description.html</loc>
-  <lastmod>2023-06-30T22:45:40+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:03+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/guide/installation.html</loc>
-  <lastmod>2023-06-30T22:45:40+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:03+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/features/remote_build.html</loc>
-  <lastmod>2023-06-30T22:45:40+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:04+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/features/unity_build.html</loc>
-  <lastmod>2023-06-30T22:45:40+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:04+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/features/distcc_build.html</loc>
-  <lastmod>2023-06-30T22:45:40+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:04+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/features/trybuild.html</loc>
-  <lastmod>2023-06-30T22:45:41+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:04+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/features/autogen.html</loc>
-  <lastmod>2023-06-30T22:45:41+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:04+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/features/build_cache.html</loc>
-  <lastmod>2023-06-30T22:45:41+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:05+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/plugin/plugin_development.html</loc>
-  <lastmod>2023-06-30T22:45:41+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:05+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/plugin/more_plugins.html</loc>
-  <lastmod>2023-06-30T22:45:41+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:05+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/plugin/builtin_plugins.html</loc>
-  <lastmod>2023-06-30T22:45:41+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:05+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/about/awesome.html</loc>
-  <lastmod>2023-06-30T22:45:42+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:05+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/about/technical_support.html</loc>
-  <lastmod>2023-06-30T22:45:42+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:06+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/about/changelog.html</loc>
-  <lastmod>2023-06-30T22:45:42+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:06+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/about/contact.html</loc>
-  <lastmod>2023-06-30T22:45:42+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:06+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/about/peripheral_items.html</loc>
-  <lastmod>2023-06-30T22:45:42+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:06+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/about/introduction.html</loc>
-  <lastmod>2023-06-30T22:45:43+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:06+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/about/who_is_using_xmake.html</loc>
-  <lastmod>2023-06-30T22:45:43+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:07+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/about/sponsor.html</loc>
-  <lastmod>2023-06-30T22:45:43+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:07+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/about/course.html</loc>
-  <lastmod>2023-06-30T22:45:43+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:07+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/index.html</loc>
-  <lastmod>2023-06-30T22:45:43+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:07+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/getting_started.html</loc>
-  <lastmod>2023-06-30T22:45:44+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:07+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/specification.html</loc>
-  <lastmod>2023-06-30T22:45:44+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:08+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/builtin_variables.html</loc>
-  <lastmod>2023-06-30T22:45:44+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:08+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/conditions.html</loc>
-  <lastmod>2023-06-30T22:45:44+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:08+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/custom_rule.html</loc>
-  <lastmod>2023-06-30T22:45:44+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:08+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/target_instance.html</loc>
-  <lastmod>2023-06-30T22:45:44+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:08+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/project_target.html</loc>
-  <lastmod>2023-06-30T22:45:45+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:09+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/builtin_modules.html</loc>
-  <lastmod>2023-06-30T22:45:45+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:09+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/custom_toolchain.html</loc>
-  <lastmod>2023-06-30T22:45:45+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:09+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/plugin_task.html</loc>
-  <lastmod>2023-06-30T22:45:45+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:09+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/package_dependencies.html</loc>
-  <lastmod>2023-06-30T22:45:45+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:09+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/configuration_option.html</loc>
-  <lastmod>2023-06-30T22:45:46+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:10+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/extension_modules.html</loc>
-  <lastmod>2023-06-30T22:45:46+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:10+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/helper_interfaces.html</loc>
-  <lastmod>2023-06-30T22:45:46+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:10+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/global_interfaces.html</loc>
-  <lastmod>2023-06-30T22:45:46+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:10+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/package_instance.html</loc>
-  <lastmod>2023-06-30T22:45:46+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:10+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/option_instance.html</loc>
-  <lastmod>2023-06-30T22:45:46+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:10+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/theme/builtin_themes.html</loc>
-  <lastmod>2023-06-30T22:45:47+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:11+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/theme/switch_theme.html</loc>
-  <lastmod>2023-06-30T22:45:47+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:11+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/package/local_3rd_source_library.html</loc>
-  <lastmod>2023-06-30T22:45:47+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:11+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/package/local_package_old.html</loc>
-  <lastmod>2023-06-30T22:45:47+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:11+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/package/local_package.html</loc>
-  <lastmod>2023-06-30T22:45:47+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:11+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/package/system_package.html</loc>
-  <lastmod>2023-06-30T22:45:48+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:12+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/package/remote_package.html</loc>
-  <lastmod>2023-06-30T22:45:48+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:12+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/toolchain/remote_toolchain.html</loc>
-  <lastmod>2023-06-30T22:45:48+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:12+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/toolchain/builtin_toolchains.html</loc>
-  <lastmod>2023-06-30T22:45:48+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:12+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/getting_started.html</loc>
-  <lastmod>2023-06-30T22:45:48+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:12+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/manual/specification.html</loc>
-  <lastmod>2023-06-30T22:45:49+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:13+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/manual/builtin_variables.html</loc>
-  <lastmod>2023-06-30T22:45:49+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:13+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/manual/conditions.html</loc>
-  <lastmod>2023-06-30T22:45:49+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:13+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/manual/custom_rule.html</loc>
-  <lastmod>2023-06-30T22:45:49+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:13+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/manual/target_instance.html</loc>
-  <lastmod>2023-06-30T22:45:49+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:13+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/manual/project_target.html</loc>
-  <lastmod>2023-06-30T22:45:50+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:14+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/manual/builtin_modules.html</loc>
-  <lastmod>2023-06-30T22:45:50+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:14+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/manual/custom_toolchain.html</loc>
-  <lastmod>2023-06-30T22:45:50+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:14+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/manual/plugin_task.html</loc>
-  <lastmod>2023-06-30T22:45:50+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:14+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/manual/package_dependencies.html</loc>
-  <lastmod>2023-06-30T22:45:50+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:14+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/manual/configuration_option.html</loc>
-  <lastmod>2023-06-30T22:45:50+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:15+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/manual/extension_modules.html</loc>
-  <lastmod>2023-06-30T22:45:51+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:15+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/manual/helper_interfaces.html</loc>
-  <lastmod>2023-06-30T22:45:51+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:15+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/manual/global_interfaces.html</loc>
-  <lastmod>2023-06-30T22:45:51+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:15+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/manual/package_instance.html</loc>
-  <lastmod>2023-06-30T22:45:51+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:15+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/manual/option_instance.html</loc>
-  <lastmod>2023-06-30T22:45:51+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:16+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/theme/builtin_themes.html</loc>
-  <lastmod>2023-06-30T22:45:52+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:16+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/theme/switch_theme.html</loc>
-  <lastmod>2023-06-30T22:45:52+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:16+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/package/local_3rd_source_library.html</loc>
-  <lastmod>2023-06-30T22:45:52+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:16+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/package/local_package_old.html</loc>
-  <lastmod>2023-06-30T22:45:52+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:16+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/package/local_package.html</loc>
-  <lastmod>2023-06-30T22:45:52+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:16+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/package/system_package.html</loc>
-  <lastmod>2023-06-30T22:45:52+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:17+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/package/remote_package.html</loc>
-  <lastmod>2023-06-30T22:45:53+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:17+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/toolchain/remote_toolchain.html</loc>
-  <lastmod>2023-06-30T22:45:53+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:17+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/toolchain/builtin_toolchains.html</loc>
-  <lastmod>2023-06-30T22:45:53+08:00</lastmod>
+  <lastmod>2023-07-08T22:12:17+08:00</lastmod>
 </url>
 
 </urlset>

+ 28 - 2
zh-cn/manual/project_target.md

@@ -1170,7 +1170,7 @@ target("test")
 
 ### target:set_pcheader
 
-#### 设置c预编译头文件
+#### 设置 C 预编译头文件
 
 xmake支持通过预编译头文件去加速c程序编译,目前支持的编译器有:gcc, clang和msvc。
 
@@ -1183,7 +1183,7 @@ target("test")
 
 ### target:set_pcxxheader
 
-#### 设置c++预编译头文件
+#### 设置 C++ 预编译头文件
 
 xmake支持通过预编译头文件去加速c++程序编译,目前支持的编译器有:gcc, clang和msvc。
 
@@ -1194,6 +1194,32 @@ target("test")
     set_pcxxheader("header.h")
 ```
 
+### target:set_pmheader
+
+#### 设置 ObjC 预编译头文件
+
+xmake支持通过预编译头文件去加速 ObjC 程序编译,目前支持的编译器有:gcc, clang和msvc。
+
+使用方式如下:
+
+```lua
+target("test")
+    set_pmheader("header.h")
+```
+
+### target:set_pmxxheader
+
+#### 设置 ObjC++ 预编译头文件
+
+xmake支持通过预编译头文件去加速 ObjC++ 程序编译,目前支持的编译器有:gcc, clang和msvc。
+
+使用方式如下:
+
+```lua
+target("test")
+    set_pmxxheader("header.h")
+```
+
 ### target:add_deps
 
 #### 添加子工程目标依赖