Procházet zdrojové kódy

autoupdate docs by xmake-repo/ci

ruki před 4 roky
rodič
revize
03e596f0dd

+ 1 - 1
_coverpage.md

@@ -6,7 +6,7 @@
 
 - *Simple, lightweight, cross-platform*
 - *Modern C/C++ package manager, support distributed repositories*
-- **Recently added: geos, port, collada-dom**
+- **Recently added: gflags, glog, geos**
 
 [Gitee](https://gitee.com/tboox/xrepo/)
 [Github](https://github.com/xmake-io/xrepo/)

+ 1 - 1
_sidebar.md

@@ -1,7 +1,7 @@
 - Getting Started
   - [Sponsor](https://xmake.io/#/about/sponsor)
   - [Quick Start](getting_started.md)
-- Packages (316)
+- Packages (318)
   - [android](packages/android.md)
   - [bsd](packages/bsd.md)
   - [cross](packages/cross.md)

+ 14 - 0
mirror/index.html

@@ -222,6 +222,15 @@ JIT: ON SSE2 SSE3 SSE4.1 BMI2 fold cse dce fwd dse narrow loop abc sink fuse
 <pre><code class="lang-console">$ xrepo env -b "luajit 2.x" luajit
 $ xrepo env -p iphoneos -b "zlib,libpng,luajit 2.x" cmake ..
 </code></pre>
+<h3 id="enterthepackageshellenvironment">Enter the package shell environment</h3>
+<p>We can customize some package configurations by adding the xmake.lua file in the current directory, and then enter the specific package shell environment.</p>
+<pre><code class="lang-lua">add_requires("zlib 1.2.11")
+add_requires("python 3.x", "luajit")
+</code></pre>
+<pre><code class="lang-console">$ xrepo env shell
+> python --version
+> luajit --version
+</code></pre>
 <h3 id="showthegivenpackageinformation">Show the given package information</h3>
 <pre><code class="lang-console">$ xrepo info zlib
 The package info of project:
@@ -262,6 +271,11 @@ The package info of project:
          -> vs_runtime: Set vs compiler runtime. (default: MT)
             -> values: {"MT","MD"}
 </code></pre>
+<h3 id="uninstallallpackages">Uninstall all packages</h3>
+<p>We can use the following command to batch uninstall and delete the installed packages, supporting pattern matching:</p>
+<pre><code class="lang-bash">$ xrepo remove --all
+$ xrepo remove --all zlib pcr*
+</code></pre>
 </article>
 </body>
 </html>

+ 74 - 0
mirror/packages/linux.html

@@ -2301,6 +2301,43 @@
 <h5 id="integrationintheprojectxmakelua">Integration in the project (xmake.lua)</h5>
 <pre><code class="lang-lua">add_requires("gettext")
 </code></pre>
+<h3 id="gflagslinux">gflags (linux)</h3>
+<table>
+<thead>
+<tr>
+<th>Description</th>
+<th><em>The gflags package contains a C++ library that implements commandline flags processing.</em></th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>Homepage</td>
+<td><a href="https://github.com/gflags/gflags/">https://github.com/gflags/gflags/</a></td>
+</tr>
+<tr>
+<td>License</td>
+<td>BSD-3-Clause</td>
+</tr>
+<tr>
+<td>Versions</td>
+<td>v2.2.2</td>
+</tr>
+<tr>
+<td>Architectures</td>
+<td>arm64-v8a, armv7, armv7s, i386, mips, mips64, mips64el, mipsel, x86_64</td>
+</tr>
+<tr>
+<td>Definition</td>
+<td><a href="https://github.com/xmake-io/xmake-repo/blob/master/packages/g/gflags/xmake.lua">gflags/xmake.lua</a></td>
+</tr>
+</tbody>
+</table>
+<h5 id="installcommand">Install command</h5>
+<pre><code class="lang-console">xrepo install gflags
+</code></pre>
+<h5 id="integrationintheprojectxmakelua">Integration in the project (xmake.lua)</h5>
+<pre><code class="lang-lua">add_requires("gflags")
+</code></pre>
 <h3 id="gifliblinux">giflib (linux)</h3>
 <table>
 <thead>
@@ -2507,6 +2544,43 @@
 <h5 id="integrationintheprojectxmakelua">Integration in the project (xmake.lua)</h5>
 <pre><code class="lang-lua">add_requires("glm")
 </code></pre>
+<h3 id="gloglinux">glog (linux)</h3>
+<table>
+<thead>
+<tr>
+<th>Description</th>
+<th><em>C++ implementation of the Google logging module</em></th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>Homepage</td>
+<td><a href="https://github.com/google/glog/">https://github.com/google/glog/</a></td>
+</tr>
+<tr>
+<td>License</td>
+<td>BSD-3-Clause</td>
+</tr>
+<tr>
+<td>Versions</td>
+<td>v0.4.0</td>
+</tr>
+<tr>
+<td>Architectures</td>
+<td>arm64-v8a, armv7, armv7s, i386, mips, mips64, mips64el, mipsel, x86_64</td>
+</tr>
+<tr>
+<td>Definition</td>
+<td><a href="https://github.com/xmake-io/xmake-repo/blob/master/packages/g/glog/xmake.lua">glog/xmake.lua</a></td>
+</tr>
+</tbody>
+</table>
+<h5 id="installcommand">Install command</h5>
+<pre><code class="lang-console">xrepo install glog
+</code></pre>
+<h5 id="integrationintheprojectxmakelua">Integration in the project (xmake.lua)</h5>
+<pre><code class="lang-lua">add_requires("glog")
+</code></pre>
 <h3 id="glslanglinux">glslang (linux)</h3>
 <table>
 <thead>

+ 74 - 0
mirror/packages/macosx.html

@@ -2124,6 +2124,43 @@
 <h5 id="integrationintheprojectxmakelua">Integration in the project (xmake.lua)</h5>
 <pre><code class="lang-lua">add_requires("gettext")
 </code></pre>
+<h3 id="gflagsmacosx">gflags (macosx)</h3>
+<table>
+<thead>
+<tr>
+<th>Description</th>
+<th><em>The gflags package contains a C++ library that implements commandline flags processing.</em></th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>Homepage</td>
+<td><a href="https://github.com/gflags/gflags/">https://github.com/gflags/gflags/</a></td>
+</tr>
+<tr>
+<td>License</td>
+<td>BSD-3-Clause</td>
+</tr>
+<tr>
+<td>Versions</td>
+<td>v2.2.2</td>
+</tr>
+<tr>
+<td>Architectures</td>
+<td>arm64, i386, x86_64</td>
+</tr>
+<tr>
+<td>Definition</td>
+<td><a href="https://github.com/xmake-io/xmake-repo/blob/master/packages/g/gflags/xmake.lua">gflags/xmake.lua</a></td>
+</tr>
+</tbody>
+</table>
+<h5 id="installcommand">Install command</h5>
+<pre><code class="lang-console">xrepo install gflags
+</code></pre>
+<h5 id="integrationintheprojectxmakelua">Integration in the project (xmake.lua)</h5>
+<pre><code class="lang-lua">add_requires("gflags")
+</code></pre>
 <h3 id="giflibmacosx">giflib (macosx)</h3>
 <table>
 <thead>
@@ -2330,6 +2367,43 @@
 <h5 id="integrationintheprojectxmakelua">Integration in the project (xmake.lua)</h5>
 <pre><code class="lang-lua">add_requires("glm")
 </code></pre>
+<h3 id="glogmacosx">glog (macosx)</h3>
+<table>
+<thead>
+<tr>
+<th>Description</th>
+<th><em>C++ implementation of the Google logging module</em></th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>Homepage</td>
+<td><a href="https://github.com/google/glog/">https://github.com/google/glog/</a></td>
+</tr>
+<tr>
+<td>License</td>
+<td>BSD-3-Clause</td>
+</tr>
+<tr>
+<td>Versions</td>
+<td>v0.4.0</td>
+</tr>
+<tr>
+<td>Architectures</td>
+<td>arm64, i386, x86_64</td>
+</tr>
+<tr>
+<td>Definition</td>
+<td><a href="https://github.com/xmake-io/xmake-repo/blob/master/packages/g/glog/xmake.lua">glog/xmake.lua</a></td>
+</tr>
+</tbody>
+</table>
+<h5 id="installcommand">Install command</h5>
+<pre><code class="lang-console">xrepo install glog
+</code></pre>
+<h5 id="integrationintheprojectxmakelua">Integration in the project (xmake.lua)</h5>
+<pre><code class="lang-lua">add_requires("glog")
+</code></pre>
 <h3 id="glslangmacosx">glslang (macosx)</h3>
 <table>
 <thead>

+ 74 - 0
mirror/packages/windows.html

@@ -2132,6 +2132,43 @@
 <h5 id="integrationintheprojectxmakelua">Integration in the project (xmake.lua)</h5>
 <pre><code class="lang-lua">add_requires("geos")
 </code></pre>
+<h3 id="gflagswindows">gflags (windows)</h3>
+<table>
+<thead>
+<tr>
+<th>Description</th>
+<th><em>The gflags package contains a C++ library that implements commandline flags processing.</em></th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>Homepage</td>
+<td><a href="https://github.com/gflags/gflags/">https://github.com/gflags/gflags/</a></td>
+</tr>
+<tr>
+<td>License</td>
+<td>BSD-3-Clause</td>
+</tr>
+<tr>
+<td>Versions</td>
+<td>v2.2.2</td>
+</tr>
+<tr>
+<td>Architectures</td>
+<td>x64, x86</td>
+</tr>
+<tr>
+<td>Definition</td>
+<td><a href="https://github.com/xmake-io/xmake-repo/blob/master/packages/g/gflags/xmake.lua">gflags/xmake.lua</a></td>
+</tr>
+</tbody>
+</table>
+<h5 id="installcommand">Install command</h5>
+<pre><code class="lang-console">xrepo install gflags
+</code></pre>
+<h5 id="integrationintheprojectxmakelua">Integration in the project (xmake.lua)</h5>
+<pre><code class="lang-lua">add_requires("gflags")
+</code></pre>
 <h3 id="giflibwindows">giflib (windows)</h3>
 <table>
 <thead>
@@ -2305,6 +2342,43 @@
 <h5 id="integrationintheprojectxmakelua">Integration in the project (xmake.lua)</h5>
 <pre><code class="lang-lua">add_requires("glm")
 </code></pre>
+<h3 id="glogwindows">glog (windows)</h3>
+<table>
+<thead>
+<tr>
+<th>Description</th>
+<th><em>C++ implementation of the Google logging module</em></th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>Homepage</td>
+<td><a href="https://github.com/google/glog/">https://github.com/google/glog/</a></td>
+</tr>
+<tr>
+<td>License</td>
+<td>BSD-3-Clause</td>
+</tr>
+<tr>
+<td>Versions</td>
+<td>v0.4.0</td>
+</tr>
+<tr>
+<td>Architectures</td>
+<td>x64, x86</td>
+</tr>
+<tr>
+<td>Definition</td>
+<td><a href="https://github.com/xmake-io/xmake-repo/blob/master/packages/g/glog/xmake.lua">glog/xmake.lua</a></td>
+</tr>
+</tbody>
+</table>
+<h5 id="installcommand">Install command</h5>
+<pre><code class="lang-console">xrepo install glog
+</code></pre>
+<h5 id="integrationintheprojectxmakelua">Integration in the project (xmake.lua)</h5>
+<pre><code class="lang-lua">add_requires("glog")
+</code></pre>
 <h3 id="glslangwindows">glslang (windows)</h3>
 <table>
 <thead>

+ 14 - 0
mirror/zh-cn/index.html

@@ -222,6 +222,15 @@ JIT: ON SSE2 SSE3 SSE4.1 BMI2 fold cse dce fwd dse narrow loop abc sink fuse
 <pre><code class="lang-console">$ xrepo env -b "luajit 2.x" luajit
 $ xrepo env -p iphoneos -b "zlib,libpng,luajit 2.x" cmake ..
 </code></pre>
+<h3 id="shell">进入包 shell 环境</h3>
+<p>我们可以通过在当前目录下,添加 xmake.lua 文件,定制化一些包配置,然后进入特定的包 shell 环境。</p>
+<pre><code class="lang-lua">add_requires("zlib 1.2.11")
+add_requires("python 3.x", "luajit")
+</code></pre>
+<pre><code class="lang-console">$ xrepo env shell
+> python --version
+> luajit --version
+</code></pre>
 <h3 id="">查看包信息</h3>
 <pre><code class="lang-console">$ xrepo info zlib
 The package info of project:
@@ -262,6 +271,11 @@ The package info of project:
          -> vs_runtime: Set vs compiler runtime. (default: MT)
             -> values: {"MT","MD"}
 </code></pre>
+<h3 id="">卸载所有的包</h3>
+<p>我们可以通过下面的命令,批量卸载删除已经安装的包,支持模式匹配:</p>
+<pre><code class="lang-bash">$ xrepo remove --all
+$ xrepo remove --all zlib pcr*
+</code></pre>
 </article>
 </body>
 </html>

+ 48 - 0
packages/linux.md

@@ -1506,6 +1506,30 @@ add_requires("gettext")
 ```
 
 
+### gflags (linux)
+
+
+| Description | *The gflags package contains a C++ library that implements commandline flags processing.* |
+| -- | -- |
+| Homepage | [https://github.com/gflags/gflags/](https://github.com/gflags/gflags/) |
+| License | BSD-3-Clause |
+| Versions | v2.2.2 |
+| Architectures | arm64-v8a, armv7, armv7s, i386, mips, mips64, mips64el, mipsel, x86_64 |
+| Definition | [gflags/xmake.lua](https://github.com/xmake-io/xmake-repo/blob/master/packages/g/gflags/xmake.lua) |
+
+##### Install command
+
+```console
+xrepo install gflags
+```
+
+##### Integration in the project (xmake.lua)
+
+```lua
+add_requires("gflags")
+```
+
+
 ### giflib (linux)
 
 
@@ -1646,6 +1670,30 @@ add_requires("glm")
 ```
 
 
+### glog (linux)
+
+
+| Description | *C++ implementation of the Google logging module* |
+| -- | -- |
+| Homepage | [https://github.com/google/glog/](https://github.com/google/glog/) |
+| License | BSD-3-Clause |
+| Versions | v0.4.0 |
+| Architectures | arm64-v8a, armv7, armv7s, i386, mips, mips64, mips64el, mipsel, x86_64 |
+| Definition | [glog/xmake.lua](https://github.com/xmake-io/xmake-repo/blob/master/packages/g/glog/xmake.lua) |
+
+##### Install command
+
+```console
+xrepo install glog
+```
+
+##### Integration in the project (xmake.lua)
+
+```lua
+add_requires("glog")
+```
+
+
 ### glslang (linux)
 
 

+ 48 - 0
packages/macosx.md

@@ -1388,6 +1388,30 @@ add_requires("gettext")
 ```
 
 
+### gflags (macosx)
+
+
+| Description | *The gflags package contains a C++ library that implements commandline flags processing.* |
+| -- | -- |
+| Homepage | [https://github.com/gflags/gflags/](https://github.com/gflags/gflags/) |
+| License | BSD-3-Clause |
+| Versions | v2.2.2 |
+| Architectures | arm64, i386, x86_64 |
+| Definition | [gflags/xmake.lua](https://github.com/xmake-io/xmake-repo/blob/master/packages/g/gflags/xmake.lua) |
+
+##### Install command
+
+```console
+xrepo install gflags
+```
+
+##### Integration in the project (xmake.lua)
+
+```lua
+add_requires("gflags")
+```
+
+
 ### giflib (macosx)
 
 
@@ -1528,6 +1552,30 @@ add_requires("glm")
 ```
 
 
+### glog (macosx)
+
+
+| Description | *C++ implementation of the Google logging module* |
+| -- | -- |
+| Homepage | [https://github.com/google/glog/](https://github.com/google/glog/) |
+| License | BSD-3-Clause |
+| Versions | v0.4.0 |
+| Architectures | arm64, i386, x86_64 |
+| Definition | [glog/xmake.lua](https://github.com/xmake-io/xmake-repo/blob/master/packages/g/glog/xmake.lua) |
+
+##### Install command
+
+```console
+xrepo install glog
+```
+
+##### Integration in the project (xmake.lua)
+
+```lua
+add_requires("glog")
+```
+
+
 ### glslang (macosx)
 
 

+ 48 - 0
packages/windows.md

@@ -1390,6 +1390,30 @@ add_requires("geos")
 ```
 
 
+### gflags (windows)
+
+
+| Description | *The gflags package contains a C++ library that implements commandline flags processing.* |
+| -- | -- |
+| Homepage | [https://github.com/gflags/gflags/](https://github.com/gflags/gflags/) |
+| License | BSD-3-Clause |
+| Versions | v2.2.2 |
+| Architectures | x64, x86 |
+| Definition | [gflags/xmake.lua](https://github.com/xmake-io/xmake-repo/blob/master/packages/g/gflags/xmake.lua) |
+
+##### Install command
+
+```console
+xrepo install gflags
+```
+
+##### Integration in the project (xmake.lua)
+
+```lua
+add_requires("gflags")
+```
+
+
 ### giflib (windows)
 
 
@@ -1507,6 +1531,30 @@ add_requires("glm")
 ```
 
 
+### glog (windows)
+
+
+| Description | *C++ implementation of the Google logging module* |
+| -- | -- |
+| Homepage | [https://github.com/google/glog/](https://github.com/google/glog/) |
+| License | BSD-3-Clause |
+| Versions | v0.4.0 |
+| Architectures | x64, x86 |
+| Definition | [glog/xmake.lua](https://github.com/xmake-io/xmake-repo/blob/master/packages/g/glog/xmake.lua) |
+
+##### Install command
+
+```console
+xrepo install glog
+```
+
+##### Integration in the project (xmake.lua)
+
+```lua
+add_requires("glog")
+```
+
+
 ### glslang (windows)
 
 

+ 14 - 14
sitemap.xml

@@ -7,72 +7,72 @@
     
 <url>
   <loc>https://xrepo.xmake.io</loc>
-  <lastmod>2021-05-01T10:08:29+08:00</lastmod>
+  <lastmod>2021-05-01T16:12:21+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xrepo.xmake.io/mirror/zh-cn/getting_started.html</loc>
-  <lastmod>2021-05-01T10:08:30+08:00</lastmod>
+  <lastmod>2021-05-01T16:12:22+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xrepo.xmake.io/mirror/zh-cn/index.html</loc>
-  <lastmod>2021-05-01T10:08:30+08:00</lastmod>
+  <lastmod>2021-05-01T16:12:22+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xrepo.xmake.io/mirror/getting_started.html</loc>
-  <lastmod>2021-05-01T10:08:31+08:00</lastmod>
+  <lastmod>2021-05-01T16:12:22+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xrepo.xmake.io/mirror/packages/macosx.html</loc>
-  <lastmod>2021-05-01T10:08:31+08:00</lastmod>
+  <lastmod>2021-05-01T16:12:22+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xrepo.xmake.io/mirror/packages/mingw.html</loc>
-  <lastmod>2021-05-01T10:08:31+08:00</lastmod>
+  <lastmod>2021-05-01T16:12:22+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xrepo.xmake.io/mirror/packages/linux.html</loc>
-  <lastmod>2021-05-01T10:08:31+08:00</lastmod>
+  <lastmod>2021-05-01T16:12:23+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xrepo.xmake.io/mirror/packages/windows.html</loc>
-  <lastmod>2021-05-01T10:08:32+08:00</lastmod>
+  <lastmod>2021-05-01T16:12:23+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xrepo.xmake.io/mirror/packages/iphoneos.html</loc>
-  <lastmod>2021-05-01T10:08:32+08:00</lastmod>
+  <lastmod>2021-05-01T16:12:23+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xrepo.xmake.io/mirror/packages/msys.html</loc>
-  <lastmod>2021-05-01T10:08:32+08:00</lastmod>
+  <lastmod>2021-05-01T16:12:23+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xrepo.xmake.io/mirror/packages/bsd.html</loc>
-  <lastmod>2021-05-01T10:08:32+08:00</lastmod>
+  <lastmod>2021-05-01T16:12:23+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xrepo.xmake.io/mirror/packages/cross.html</loc>
-  <lastmod>2021-05-01T10:08:33+08:00</lastmod>
+  <lastmod>2021-05-01T16:12:24+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xrepo.xmake.io/mirror/packages/android.html</loc>
-  <lastmod>2021-05-01T10:08:33+08:00</lastmod>
+  <lastmod>2021-05-01T16:12:24+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xrepo.xmake.io/mirror/index.html</loc>
-  <lastmod>2021-05-01T10:08:33+08:00</lastmod>
+  <lastmod>2021-05-01T16:12:24+08:00</lastmod>
 </url>
 
 </urlset>

+ 1 - 1
zh-cn/_coverpage.md

@@ -6,7 +6,7 @@
 
 - *简单,轻量,跨平台*
 - *现代化的 C/C++ 包管理工具,分布式仓库支持*
-- **Recently added: geos, port, collada-dom**
+- **Recently added: gflags, glog, geos**
 
 [Gitee](https://gitee.com/tboox/xrepo/)
 [GitHub](https://github.com/xmake-io/xrepo/)

+ 1 - 1
zh-cn/_sidebar.md

@@ -1,7 +1,7 @@
 - 快速入门
   - [赞助](https://xmake.io/#/zh-cn/about/sponsor)
   - [快速上手](zh-cn/getting_started.md)
-- 包列表 (316)
+- 包列表 (318)
   - [android](packages/android.md)
   - [bsd](packages/bsd.md)
   - [cross](packages/cross.md)