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 /README.md | |
| parent | f75c8f8efd93e6b7616a38a582cf1c51b6652e3a (diff) | |
update readme
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 10 |
1 files changed, 8 insertions, 2 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) |
