diff options
| -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) |
