瀏覽代碼

update docs

ruki 2 年之前
父節點
當前提交
5ee301517c

+ 24 - 0
manual/package_dependencies.md

@@ -170,6 +170,30 @@ else
 end
 end
 ```
 ```
 
 
+### package:add_linkorders
+
+#### Adjust the link order within the package
+
+For specific details, please see the target's internal documentation for `add_linkorders`, [target/add_linkorders](https://xmake.io/#/zh-cn/manual/project_target?id=targetadd_linkorders).
+
+```lua
+package("libpng")
+     add_linkorders("png16", "png", "linkgroup::foo")
+     add_linkgroups("dl", {name = "foo", group = true})
+```
+
+### package:add_linkgroups
+
+#### Configure the link group of the package
+
+For specific details, please see the target's internal documentation for `add_linkgroups`, [target/add_linkgroups](https://xmake.io/#/zh-cn/manual/project_target?id=targetadd_linkgroups).
+
+```lua
+package("libpng")
+     add_linkorders("png16", "png", "linkgroup::foo")
+     add_linkgroups("dl", {name = "foo", group = true})
+```
+
 ### package:add_frameworks
 ### package:add_frameworks
 
 
 #### Add frameworks
 #### Add frameworks

+ 15 - 1
mirror/manual/package_dependencies.html

@@ -203,7 +203,21 @@ elseif is_plat("windows") then
 else
 else
     add_syslinks("pthread")
     add_syslinks("pthread")
 end
 end
-</code></pre><h3 id="packageadd_frameworks">package:add_frameworks</h3>
+</code></pre><h3 id="packageadd_linkorders">package:add_linkorders</h3>
+<h4 id="adjustthelinkorderwithinthepackage">Adjust the link order within the package</h4>
+<p>For specific details, please see the target&#39;s internal documentation for <code>add_linkorders</code>, <a href="https://xmake.io/#/zh-cn/manual/project_target?id=targetadd_linkorders">target/add_linkorders</a>.</p>
+<pre><code class="lang-lua">package("libpng")
+     add_linkorders("png16", "png", "linkgroup::foo")
+     add_linkgroups("dl", {name = "foo", group = true})
+</code></pre>
+<h3 id="packageadd_linkgroups">package:add_linkgroups</h3>
+<h4 id="configurethelinkgroupofthepackage">Configure the link group of the package</h4>
+<p>For specific details, please see the target&#39;s internal documentation for <code>add_linkgroups</code>, <a href="https://xmake.io/#/zh-cn/manual/project_target?id=targetadd_linkgroups">target/add_linkgroups</a>.</p>
+<pre><code class="lang-lua">package("libpng")
+     add_linkorders("png16", "png", "linkgroup::foo")
+     add_linkgroups("dl", {name = "foo", group = true})
+</code></pre>
+<h3 id="packageadd_frameworks">package:add_frameworks</h3>
 <h4 id="addframeworks">Add frameworks</h4>
 <h4 id="addframeworks">Add frameworks</h4>
 <p>Add a dependent system frameworks link.</p>
 <p>Add a dependent system frameworks link.</p>
 <p>See for example: <a href="#add_syslinks">add_syslinks</a></p>
 <p>See for example: <a href="#add_syslinks">add_syslinks</a></p>

+ 15 - 1
mirror/zh-cn/manual/package_dependencies.html

@@ -201,7 +201,21 @@ elseif is_plat("windows") then
 else
 else
     add_syslinks("pthread")
     add_syslinks("pthread")
 end
 end
-</code></pre><h3 id="packageadd_frameworks">package:add_frameworks</h3>
+</code></pre><h3 id="packageadd_linkorders">package:add_linkorders</h3>
+<h4 id="">调整包内部的链接顺序</h4>
+<p>具体详情可以看下 target 内部对 <code>add_linkorders</code> 的文档说明,<a href="https://xmake.io/#/zh-cn/manual/project_target?id=targetadd_linkorders">target/add_linkorders</a>。</p>
+<pre><code class="lang-lua">package("libpng")
+    add_linkorders("png16", "png", "linkgroup::foo")
+    add_linkgroups("dl", {name = "foo", group = true})
+</code></pre>
+<h3 id="packageadd_linkgroups">package:add_linkgroups</h3>
+<h4 id="">配置包的链接组</h4>
+<p>具体详情可以看下 target 内部对 <code>add_linkgroups</code> 的文档说明,<a href="https://xmake.io/#/zh-cn/manual/project_target?id=targetadd_linkgroups">target/add_linkgroups</a>。</p>
+<pre><code class="lang-lua">package("libpng")
+    add_linkorders("png16", "png", "linkgroup::foo")
+    add_linkgroups("dl", {name = "foo", group = true})
+</code></pre>
+<h3 id="packageadd_frameworks">package:add_frameworks</h3>
 <h4 id="frameworks">添加依赖的系统 frameworks 链接</h4>
 <h4 id="frameworks">添加依赖的系统 frameworks 链接</h4>
 <p>示例见:<a href="#packageadd_syslinks">add_syslinks</a></p>
 <p>示例见:<a href="#packageadd_syslinks">add_syslinks</a></p>
 <h3 id="packageadd_linkdirs">package:add_linkdirs</h3>
 <h3 id="packageadd_linkdirs">package:add_linkdirs</h3>

+ 102 - 102
sitemap.xml

@@ -12,512 +12,512 @@
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/guide/project_examples.html</loc>
   <loc>https://xmake.io/mirror/guide/project_examples.html</loc>
-  <lastmod>2023-11-01T15:53:15+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:10+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/guide/quickstart.html</loc>
   <loc>https://xmake.io/mirror/guide/quickstart.html</loc>
-  <lastmod>2023-11-01T15:53:15+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:10+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/guide/faq.html</loc>
   <loc>https://xmake.io/mirror/guide/faq.html</loc>
-  <lastmod>2023-11-01T15:53:16+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:10+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/guide/build_policies.html</loc>
   <loc>https://xmake.io/mirror/guide/build_policies.html</loc>
-  <lastmod>2023-11-01T15:53:16+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:10+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/guide/configuration.html</loc>
   <loc>https://xmake.io/mirror/guide/configuration.html</loc>
-  <lastmod>2023-11-01T15:53:16+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:10+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/guide/syntax_description.html</loc>
   <loc>https://xmake.io/mirror/guide/syntax_description.html</loc>
-  <lastmod>2023-11-01T15:53:16+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:11+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/guide/installation.html</loc>
   <loc>https://xmake.io/mirror/guide/installation.html</loc>
-  <lastmod>2023-11-01T15:53:16+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:11+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/features/remote_build.html</loc>
   <loc>https://xmake.io/mirror/features/remote_build.html</loc>
-  <lastmod>2023-11-01T15:53:16+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:11+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/features/unity_build.html</loc>
   <loc>https://xmake.io/mirror/features/unity_build.html</loc>
-  <lastmod>2023-11-01T15:53:17+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:11+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/features/distcc_build.html</loc>
   <loc>https://xmake.io/mirror/features/distcc_build.html</loc>
-  <lastmod>2023-11-01T15:53:17+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:11+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/features/trybuild.html</loc>
   <loc>https://xmake.io/mirror/features/trybuild.html</loc>
-  <lastmod>2023-11-01T15:53:17+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:11+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/features/autogen.html</loc>
   <loc>https://xmake.io/mirror/features/autogen.html</loc>
-  <lastmod>2023-11-01T15:53:17+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:12+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/features/build_cache.html</loc>
   <loc>https://xmake.io/mirror/features/build_cache.html</loc>
-  <lastmod>2023-11-01T15:53:17+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:12+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/plugin/plugin_development.html</loc>
   <loc>https://xmake.io/mirror/plugin/plugin_development.html</loc>
-  <lastmod>2023-11-01T15:53:17+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:12+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/plugin/more_plugins.html</loc>
   <loc>https://xmake.io/mirror/plugin/more_plugins.html</loc>
-  <lastmod>2023-11-01T15:53:18+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:12+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/plugin/builtin_plugins.html</loc>
   <loc>https://xmake.io/mirror/plugin/builtin_plugins.html</loc>
-  <lastmod>2023-11-01T15:53:18+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:12+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/about/awesome.html</loc>
   <loc>https://xmake.io/mirror/about/awesome.html</loc>
-  <lastmod>2023-11-01T15:53:18+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:12+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/about/technical_support.html</loc>
   <loc>https://xmake.io/mirror/about/technical_support.html</loc>
-  <lastmod>2023-11-01T15:53:18+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:13+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/about/changelog.html</loc>
   <loc>https://xmake.io/mirror/about/changelog.html</loc>
-  <lastmod>2023-11-01T15:53:18+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:13+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/about/contact.html</loc>
   <loc>https://xmake.io/mirror/about/contact.html</loc>
-  <lastmod>2023-11-01T15:53:18+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:13+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/about/introduction.html</loc>
   <loc>https://xmake.io/mirror/about/introduction.html</loc>
-  <lastmod>2023-11-01T15:53:19+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:13+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/about/who_is_using_xmake.html</loc>
   <loc>https://xmake.io/mirror/about/who_is_using_xmake.html</loc>
-  <lastmod>2023-11-01T15:53:19+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:13+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/about/sponsor.html</loc>
   <loc>https://xmake.io/mirror/about/sponsor.html</loc>
-  <lastmod>2023-11-01T15:53:19+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:13+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/index.html</loc>
   <loc>https://xmake.io/mirror/index.html</loc>
-  <lastmod>2023-11-01T15:53:19+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:14+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/guide/project_examples.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/guide/project_examples.html</loc>
-  <lastmod>2023-11-01T15:53:19+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:14+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/guide/quickstart.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/guide/quickstart.html</loc>
-  <lastmod>2023-11-01T15:53:19+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:14+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/guide/faq.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/guide/faq.html</loc>
-  <lastmod>2023-11-01T15:53:20+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:14+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/guide/build_policies.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/guide/build_policies.html</loc>
-  <lastmod>2023-11-01T15:53:20+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:14+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/guide/configuration.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/guide/configuration.html</loc>
-  <lastmod>2023-11-01T15:53:20+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:14+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/guide/syntax_description.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/guide/syntax_description.html</loc>
-  <lastmod>2023-11-01T15:53:20+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:15+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/guide/installation.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/guide/installation.html</loc>
-  <lastmod>2023-11-01T15:53:20+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:15+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/features/remote_build.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/features/remote_build.html</loc>
-  <lastmod>2023-11-01T15:53:20+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:15+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/features/unity_build.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/features/unity_build.html</loc>
-  <lastmod>2023-11-01T15:53:21+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:15+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/features/distcc_build.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/features/distcc_build.html</loc>
-  <lastmod>2023-11-01T15:53:21+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:15+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/features/trybuild.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/features/trybuild.html</loc>
-  <lastmod>2023-11-01T15:53:21+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:15+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/features/autogen.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/features/autogen.html</loc>
-  <lastmod>2023-11-01T15:53:21+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:16+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/features/build_cache.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/features/build_cache.html</loc>
-  <lastmod>2023-11-01T15:53:21+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:16+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/plugin/plugin_development.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/plugin/plugin_development.html</loc>
-  <lastmod>2023-11-01T15:53:21+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:16+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/plugin/more_plugins.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/plugin/more_plugins.html</loc>
-  <lastmod>2023-11-01T15:53:21+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:16+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/plugin/builtin_plugins.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/plugin/builtin_plugins.html</loc>
-  <lastmod>2023-11-01T15:53:22+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:16+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/about/awesome.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/about/awesome.html</loc>
-  <lastmod>2023-11-01T15:53:22+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:16+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/about/technical_support.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/about/technical_support.html</loc>
-  <lastmod>2023-11-01T15:53:22+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:17+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/about/changelog.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/about/changelog.html</loc>
-  <lastmod>2023-11-01T15:53:22+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:17+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/about/contact.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/about/contact.html</loc>
-  <lastmod>2023-11-01T15:53:22+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:17+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/about/peripheral_items.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/about/peripheral_items.html</loc>
-  <lastmod>2023-11-01T15:53:23+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:17+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/about/introduction.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/about/introduction.html</loc>
-  <lastmod>2023-11-01T15:53:23+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:17+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/about/who_is_using_xmake.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/about/who_is_using_xmake.html</loc>
-  <lastmod>2023-11-01T15:53:23+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:17+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/about/sponsor.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/about/sponsor.html</loc>
-  <lastmod>2023-11-01T15:53:23+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:18+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/about/course.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/about/course.html</loc>
-  <lastmod>2023-11-01T15:53:23+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:18+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/index.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/index.html</loc>
-  <lastmod>2023-11-01T15:53:23+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:18+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/getting_started.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/getting_started.html</loc>
-  <lastmod>2023-11-01T15:53:24+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:18+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/specification.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/manual/specification.html</loc>
-  <lastmod>2023-11-01T15:53:24+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:18+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/builtin_variables.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/manual/builtin_variables.html</loc>
-  <lastmod>2023-11-01T15:53:24+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:18+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/conditions.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/manual/conditions.html</loc>
-  <lastmod>2023-11-01T15:53:24+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:19+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/custom_rule.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/manual/custom_rule.html</loc>
-  <lastmod>2023-11-01T15:53:24+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:19+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/target_instance.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/manual/target_instance.html</loc>
-  <lastmod>2023-11-01T15:53:24+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:19+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/project_target.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/manual/project_target.html</loc>
-  <lastmod>2023-11-01T15:53:25+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:19+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/builtin_modules.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/manual/builtin_modules.html</loc>
-  <lastmod>2023-11-01T15:53:25+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:19+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/custom_toolchain.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/manual/custom_toolchain.html</loc>
-  <lastmod>2023-11-01T15:53:25+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:19+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/plugin_task.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/manual/plugin_task.html</loc>
-  <lastmod>2023-11-01T15:53:25+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:20+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/package_dependencies.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/manual/package_dependencies.html</loc>
-  <lastmod>2023-11-01T15:53:25+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:20+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/configuration_option.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/manual/configuration_option.html</loc>
-  <lastmod>2023-11-01T15:53:25+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:20+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/extension_modules.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/manual/extension_modules.html</loc>
-  <lastmod>2023-11-01T15:53:26+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:20+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/helper_interfaces.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/manual/helper_interfaces.html</loc>
-  <lastmod>2023-11-01T15:53:26+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:20+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/global_interfaces.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/manual/global_interfaces.html</loc>
-  <lastmod>2023-11-01T15:53:26+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:21+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/package_instance.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/manual/package_instance.html</loc>
-  <lastmod>2023-11-01T15:53:26+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:21+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/option_instance.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/manual/option_instance.html</loc>
-  <lastmod>2023-11-01T15:53:26+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:21+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/theme/builtin_themes.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/theme/builtin_themes.html</loc>
-  <lastmod>2023-11-01T15:53:27+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:21+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/theme/switch_theme.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/theme/switch_theme.html</loc>
-  <lastmod>2023-11-01T15:53:27+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:21+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/package/local_3rd_source_library.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/package/local_3rd_source_library.html</loc>
-  <lastmod>2023-11-01T15:53:27+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:21+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/package/local_package_old.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/package/local_package_old.html</loc>
-  <lastmod>2023-11-01T15:53:27+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:22+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/package/local_package.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/package/local_package.html</loc>
-  <lastmod>2023-11-01T15:53:27+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:22+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/package/system_package.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/package/system_package.html</loc>
-  <lastmod>2023-11-01T15:53:27+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:22+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/package/remote_package.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/package/remote_package.html</loc>
-  <lastmod>2023-11-01T15:53:28+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:22+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/toolchain/remote_toolchain.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/toolchain/remote_toolchain.html</loc>
-  <lastmod>2023-11-01T15:53:28+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:22+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/zh-cn/toolchain/builtin_toolchains.html</loc>
   <loc>https://xmake.io/mirror/zh-cn/toolchain/builtin_toolchains.html</loc>
-  <lastmod>2023-11-01T15:53:28+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:22+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/getting_started.html</loc>
   <loc>https://xmake.io/mirror/getting_started.html</loc>
-  <lastmod>2023-11-01T15:53:28+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:23+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/manual/specification.html</loc>
   <loc>https://xmake.io/mirror/manual/specification.html</loc>
-  <lastmod>2023-11-01T15:53:28+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:23+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/manual/builtin_variables.html</loc>
   <loc>https://xmake.io/mirror/manual/builtin_variables.html</loc>
-  <lastmod>2023-11-01T15:53:29+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:23+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/manual/conditions.html</loc>
   <loc>https://xmake.io/mirror/manual/conditions.html</loc>
-  <lastmod>2023-11-01T15:53:29+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:23+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/manual/custom_rule.html</loc>
   <loc>https://xmake.io/mirror/manual/custom_rule.html</loc>
-  <lastmod>2023-11-01T15:53:29+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:23+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/manual/target_instance.html</loc>
   <loc>https://xmake.io/mirror/manual/target_instance.html</loc>
-  <lastmod>2023-11-01T15:53:29+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:23+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/manual/project_target.html</loc>
   <loc>https://xmake.io/mirror/manual/project_target.html</loc>
-  <lastmod>2023-11-01T15:53:29+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:24+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/manual/builtin_modules.html</loc>
   <loc>https://xmake.io/mirror/manual/builtin_modules.html</loc>
-  <lastmod>2023-11-01T15:53:29+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:24+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/manual/custom_toolchain.html</loc>
   <loc>https://xmake.io/mirror/manual/custom_toolchain.html</loc>
-  <lastmod>2023-11-01T15:53:30+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:24+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/manual/plugin_task.html</loc>
   <loc>https://xmake.io/mirror/manual/plugin_task.html</loc>
-  <lastmod>2023-11-01T15:53:30+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:24+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/manual/package_dependencies.html</loc>
   <loc>https://xmake.io/mirror/manual/package_dependencies.html</loc>
-  <lastmod>2023-11-01T15:53:30+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:24+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/manual/configuration_option.html</loc>
   <loc>https://xmake.io/mirror/manual/configuration_option.html</loc>
-  <lastmod>2023-11-01T15:53:30+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:24+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/manual/extension_modules.html</loc>
   <loc>https://xmake.io/mirror/manual/extension_modules.html</loc>
-  <lastmod>2023-11-01T15:53:30+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:25+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/manual/helper_interfaces.html</loc>
   <loc>https://xmake.io/mirror/manual/helper_interfaces.html</loc>
-  <lastmod>2023-11-01T15:53:31+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:25+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/manual/global_interfaces.html</loc>
   <loc>https://xmake.io/mirror/manual/global_interfaces.html</loc>
-  <lastmod>2023-11-01T15:53:31+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:25+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/manual/package_instance.html</loc>
   <loc>https://xmake.io/mirror/manual/package_instance.html</loc>
-  <lastmod>2023-11-01T15:53:31+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:25+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/manual/option_instance.html</loc>
   <loc>https://xmake.io/mirror/manual/option_instance.html</loc>
-  <lastmod>2023-11-01T15:53:31+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:25+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/theme/builtin_themes.html</loc>
   <loc>https://xmake.io/mirror/theme/builtin_themes.html</loc>
-  <lastmod>2023-11-01T15:53:31+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:25+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/theme/switch_theme.html</loc>
   <loc>https://xmake.io/mirror/theme/switch_theme.html</loc>
-  <lastmod>2023-11-01T15:53:31+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:26+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/package/local_3rd_source_library.html</loc>
   <loc>https://xmake.io/mirror/package/local_3rd_source_library.html</loc>
-  <lastmod>2023-11-01T15:53:32+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:26+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/package/local_package_old.html</loc>
   <loc>https://xmake.io/mirror/package/local_package_old.html</loc>
-  <lastmod>2023-11-01T15:53:32+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:26+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/package/local_package.html</loc>
   <loc>https://xmake.io/mirror/package/local_package.html</loc>
-  <lastmod>2023-11-01T15:53:32+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:26+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/package/system_package.html</loc>
   <loc>https://xmake.io/mirror/package/system_package.html</loc>
-  <lastmod>2023-11-01T15:53:32+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:26+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/package/remote_package.html</loc>
   <loc>https://xmake.io/mirror/package/remote_package.html</loc>
-  <lastmod>2023-11-01T15:53:32+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:26+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/toolchain/remote_toolchain.html</loc>
   <loc>https://xmake.io/mirror/toolchain/remote_toolchain.html</loc>
-  <lastmod>2023-11-01T15:53:32+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:27+08:00</lastmod>
 </url>
 </url>
 
 
 <url>
 <url>
   <loc>https://xmake.io/mirror/toolchain/builtin_toolchains.html</loc>
   <loc>https://xmake.io/mirror/toolchain/builtin_toolchains.html</loc>
-  <lastmod>2023-11-01T15:53:33+08:00</lastmod>
+  <lastmod>2023-11-01T16:00:27+08:00</lastmod>
 </url>
 </url>
 
 
 </urlset>
 </urlset>

+ 24 - 0
zh-cn/manual/package_dependencies.md

@@ -167,6 +167,30 @@ else
 end
 end
 ```
 ```
 
 
+### package:add_linkorders
+
+#### 调整包内部的链接顺序
+
+具体详情可以看下 target 内部对 `add_linkorders` 的文档说明,[target/add_linkorders](https://xmake.io/#/zh-cn/manual/project_target?id=targetadd_linkorders)。
+
+```lua
+package("libpng")
+    add_linkorders("png16", "png", "linkgroup::foo")
+    add_linkgroups("dl", {name = "foo", group = true})
+```
+
+### package:add_linkgroups
+
+#### 配置包的链接组
+
+具体详情可以看下 target 内部对 `add_linkgroups` 的文档说明,[target/add_linkgroups](https://xmake.io/#/zh-cn/manual/project_target?id=targetadd_linkgroups)。
+
+```lua
+package("libpng")
+    add_linkorders("png16", "png", "linkgroup::foo")
+    add_linkgroups("dl", {name = "foo", group = true})
+```
+
 ### package:add_frameworks
 ### package:add_frameworks
 
 
 #### 添加依赖的系统 frameworks 链接
 #### 添加依赖的系统 frameworks 链接