diff options
| author | ruki <[email protected]> | 2023-01-11 22:32:52 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-01-11 22:32:52 +0800 |
| commit | a4e7ecaa3920b2fd4928ed95f5f97361be45c354 (patch) | |
| tree | 01dc100e6802dbbf23b67a7b5220c24d0e68616f | |
| parent | f75c8f8efd93e6b7616a38a582cf1c51b6652e3a (diff) | |
update readme
| -rw-r--r-- | README.md | 10 | ||||
| -rw-r--r-- | README_zh.md | 10 |
2 files changed, 16 insertions, 4 deletions
@@ -113,11 +113,17 @@ If you don't want to use the script to install xmake, see [Installation Guide](h ## Simple description -<img src="https://xmake.io/assets/img/index/showcode1.png" width="340px" /> +```lua +target("hello") + set_kind("binary") + add_files("src/*.cpp") +``` ## Package dependences -<img src="https://xmake.io/assets/img/index/add_require.png" width="600px" /> +```lua +add_requires("tbox 1.6.*", "zlib", "libpng ~1.6") +``` An official xmake package repository exists at: [xmake-repo](https://github.com/xmake-io/xmake-repo) diff --git a/README_zh.md b/README_zh.md index 49eb8293c..6643770ea 100644 --- a/README_zh.md +++ b/README_zh.md @@ -121,11 +121,17 @@ Invoke-Expression (Invoke-Webrequest 'https://xmake.io/psget.text' -UseBasicPars ## 简单的工程描述 -<img src="https://xmake.io/assets/img/index/showcode1.png" width="340px" /> +```lua +target("hello") + set_kind("binary") + add_files("src/*.cpp") +``` ## 包依赖描述 -<img src="https://xmake.io/assets/img/index/add_require.png" width="600px" /> +```lua +add_requires("tbox 1.6.*", "zlib", "libpng ~1.6") +``` 官方的xmake包管理仓库: [xmake-repo](https://github.com/xmake-io/xmake-repo) |
