Browse Source

upadte docs

ruki 3 years ago
parent
commit
e23cba796d

+ 0 - 8
mirror/package/remote_package.html

@@ -193,14 +193,6 @@ add_requires("tbox dev")
 <p>Among them, configs is the configurable parameters provided by the spdlog package itself, and the configs part with builtin below is the built-in configuration parameters that all packages will have.<br>The top required section is the current configuration value of the project.</p>
 <p>!> <code>vs_runtime</code> is the setting for vs runtime under msvc. In v2.2.9, it also supports automatic inheritance of all static dependencies. That is to say, if spdlog is set to MD, then the fmt package it depends on will also inherit automatically. Set the MD.</p>
 <p>It can be seen that we have been able to customize the required packages very conveniently, but each package may have a lot of dependencies. If these dependencies are also customized, what should I do?</p>
-<p>Or take <code>spdlog->fmt</code> as an example. For <code>vs_runtime</code> this can automatically inherit the configuration, because it is a built-in configuration item, many private configurations can not be processed.</p>
-<p>At this time, we can add the fmt package by <code>add_requires</code> in advance in the outer project xmake.lua (this time you can set various configuration of your own).<br>Make sure that spdlog has been installed by <code>add_requires</code> before installation. If spdlog is installed, it will be detected automatically and used directly. It will not continue to install fmt dependencies internally.</p>
-<p>e.g:</p>
-<pre><code class="lang-lua">add_requires("fmt", {system = false, configs = {cxflags = "-fPIC"}})
-add_requires("spdlog", {system = false, configs = {fmt_external = true, cxflags = "-fPIC"}})
-</code></pre>
-<p>Our project requires spdlog to enable fPIC compilation, then its fmt dependency package also needs to be enabled, then we can add the fmt package first on the spdlog, and also set the fPIC to install it in advance.</p>
-<p>In this way, spdlog corresponds to the internal fmt dependency package, we can also flexibly set various complex custom configurations in the upper layer through <code>add_requires</code>.</p>
 <h3 id="installanyversionofthepackage">Install any version of the package</h3>
 <p>By default, <code>add_requires("zlib >1.2.x")</code> can only select the package version that exists in the <code>xmake-repo</code> repository, because each version of the package will have a sha256 check value. Use To check the integrity of the package.</p>
 <p>Therefore, there is no check value for packages of unknown version, and xmake will not let you choose to use it by default, which is not safe.</p>

+ 1 - 8
mirror/zh-cn/package/remote_package.html

@@ -207,14 +207,7 @@ add_requires("tbox dev")
 <p>其中,configs里面就是spdlog包自身提供的可配置参数,而下面带有builtin的configs部分,是所有包都会有的内置配置参数。<br>最上面requires部分,是项目当前配置值。</p>
 <p>!> <code>vs_runtime</code>是用于msvc下vs runtime的设置,v2.2.9版本中,还支持所有static依赖包的自动继承,也就是说spdlog如果设置了MD,那么它依赖的fmt包也会自动继承设置MD。</p>
 <p>可以看到,我们已经能够很方便的定制化获取需要的包,但是每个包自身也许有很多依赖,如果这些依赖也要各种定制化配置,怎么办?</p>
-<p>还是拿<code>spdlog->fmt</code>为例,对于<code>vs_runtime</code>这种可以自动继承配置,因为它是内置配置项,很多私有配置就没法处理了。</p>
-<p>这个时候,我们可以通过在外层项目xmake.lua提前通过<code>add_requires</code>添加fmt包(这个时候你可以设置各种自己的配置),<br>确保spdlog在在安装之前,fmt已经通过<code>add_requires</code>的配置完成了安装,那么在安装spdlog的时候,就会自动检测到,并直接使用,不会在内部继续安装fmt依赖。</p>
-<p>例如:</p>
-<pre><code class="lang-lua">add_requires("fmt", {system = false, configs = {cxflags = "-fPIC"}})
-add_requires("spdlog", {system = false, configs = {fmt_external = true, cxflags = "-fPIC"}})
-</code></pre>
-<p>我们的项目需要spdlog启用fPIC编译,那么它的fmt依赖包也需要启用,那么我们可以在spdlog的上面优先添加fmt包,也设置上fPIC提前安装掉即可。</p>
-<p>通过这种方式,spdlog对应内部的fmt依赖包,我们也可以在上层通过<code>add_requires</code>灵活的设置各种复杂的自定义配置。</p>
+<p>可以通过 <code>add_requireconfs</code> 去重写内部依赖包的配置参数。</p>
 <h3 id="">安装任意版本的包</h3>
 <p>默认情况下,<code>add_requires("zlib >1.2.x")</code> 只能选择到 <code>xmake-repo</code> 仓库中存在的包版本,因为每个版本的包,它们都会有一个sha256的校验值,用于包的完整性校验。</p>
 <p>因此,未知版本的包不存在校验值,xmake 默认是不让选择使用的,这并不安全。</p>

+ 0 - 16
package/remote_package.md

@@ -156,22 +156,6 @@ The top required section is the current configuration value of the project.
 
 It can be seen that we have been able to customize the required packages very conveniently, but each package may have a lot of dependencies. If these dependencies are also customized, what should I do?
 
-Or take `spdlog->fmt` as an example. For `vs_runtime` this can automatically inherit the configuration, because it is a built-in configuration item, many private configurations can not be processed.
-
-At this time, we can add the fmt package by `add_requires` in advance in the outer project xmake.lua (this time you can set various configuration of your own).
-Make sure that spdlog has been installed by `add_requires` before installation. If spdlog is installed, it will be detected automatically and used directly. It will not continue to install fmt dependencies internally.
-
-e.g:
-
-```lua
-add_requires("fmt", {system = false, configs = {cxflags = "-fPIC"}})
-add_requires("spdlog", {system = false, configs = {fmt_external = true, cxflags = "-fPIC"}})
-```
-
-Our project requires spdlog to enable fPIC compilation, then its fmt dependency package also needs to be enabled, then we can add the fmt package first on the spdlog, and also set the fPIC to install it in advance.
-
-In this way, spdlog corresponds to the internal fmt dependency package, we can also flexibly set various complex custom configurations in the upper layer through `add_requires`.
-
 ### Install any version of the package
 
 By default, `add_requires("zlib >1.2.x")` can only select the package version that exists in the `xmake-repo` repository, because each version of the package will have a sha256 check value. Use To check the integrity of the package.

+ 100 - 100
sitemap.xml

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

+ 1 - 15
zh-cn/package/remote_package.md

@@ -183,21 +183,7 @@ xmake require --info spdlog
 
 可以看到,我们已经能够很方便的定制化获取需要的包,但是每个包自身也许有很多依赖,如果这些依赖也要各种定制化配置,怎么办?
 
-还是拿`spdlog->fmt`为例,对于`vs_runtime`这种可以自动继承配置,因为它是内置配置项,很多私有配置就没法处理了。
-
-这个时候,我们可以通过在外层项目xmake.lua提前通过`add_requires`添加fmt包(这个时候你可以设置各种自己的配置),
-确保spdlog在在安装之前,fmt已经通过`add_requires`的配置完成了安装,那么在安装spdlog的时候,就会自动检测到,并直接使用,不会在内部继续安装fmt依赖。
-
-例如:
-
-```lua
-add_requires("fmt", {system = false, configs = {cxflags = "-fPIC"}})
-add_requires("spdlog", {system = false, configs = {fmt_external = true, cxflags = "-fPIC"}})
-```
-
-我们的项目需要spdlog启用fPIC编译,那么它的fmt依赖包也需要启用,那么我们可以在spdlog的上面优先添加fmt包,也设置上fPIC提前安装掉即可。
-
-通过这种方式,spdlog对应内部的fmt依赖包,我们也可以在上层通过`add_requires`灵活的设置各种复杂的自定义配置。
+可以通过 `add_requireconfs` 去重写内部依赖包的配置参数。
 
 ### 安装任意版本的包