diff options
| author | ruki <[email protected]> | 2019-04-09 22:21:18 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-04-09 08:07:50 +0800 |
| commit | f9c7fb65ae6aad57d05841e71fa915e9c6ee7d79 (patch) | |
| tree | 56df59ad0fef275fabbde912bc670f91d8b69afb /README.md | |
| parent | e27ac0a2f2bff920a5bdc8d8b542e29b59cc95f8 (diff) | |
update readme
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 40 |
1 files changed, 22 insertions, 18 deletions
@@ -50,6 +50,8 @@ xmake is a cross-platform build utility based on lua. The project focuses on making development and building easier and provides many features (.e.g package, install, plugin, macro, action, option, task ...), so that any developer can quickly pick it up and enjoy the productivity boost when developing and building project. +<img src="https://xmake.io/assets/img/index/package_manage.png" width="80%" /> + If you want to known more, please refer to: * [Documents](https://xmake.io/#/home) @@ -57,16 +59,6 @@ If you want to known more, please refer to: * [Github](https://github.com/xmake-io/xmake) * [Gitee](https://gitee.com/tboox/xmake) -``` - _ - __ ___ __ __ __ _| | ______ - \ \/ / | \/ |/ _ | |/ / __ \ - > < | \__/ | /_| | < ___/ - /_/\_\_|_| |_|\__ \|_|\_\____| - - by ruki, tboox.org -``` - ## Installation #### via curl @@ -165,9 +157,18 @@ $ xmake f --menu * Qt Application * WDK Driver (umdf/kmdf/wdm) * WinSDK Application +* MFC Application ## Builtin Plugins +#### Generate IDE project file plugin(makefile, vs2002 - vs2019 .. ) + +```bash +$ xmake project -k vs2017 -m "debug,release" +$ xmake project -k cmakelists +$ xmake project -k compile_commands +``` + #### Macros script plugin ```bash @@ -188,12 +189,6 @@ $ xmake l -c "print('hello xmake!')" $ xmake l lib.detect.find_tool gcc ``` -#### Generate IDE project file plugin(makefile, vs2002 - vs2017 .. ) - -```bash -$ xmake project -k vs2017 -m "debug,release" -``` - #### Generate doxygen document plugin ```bash @@ -235,17 +230,26 @@ target("console") end ``` -Download and use remote packages: +Download and use packages in [xmake-repo](https://github.com/xmake-io/xmake-repo): ```lua add_requires("libuv master", "ffmpeg", "zlib 1.20.*") add_requires("tbox >1.6.1", {optional = true, debug = true}) +target("test") + set_kind("shared") + add_files("src/*.c") + add_packages("libuv", "ffmpeg", "tbox", "zlib") +``` + +Download and use packages in third-party package manager: + +```lua add_requires("brew::pcre2/libpcre2-8", {alias = "pcre2"}) add_requires("conan::OpenSSL/1.0.2n@conan/stable", {alias = "openssl"}) target("test") set_kind("shared") add_files("src/*.c") - add_packages("libuv", "ffmpeg", "tbox", "zlib", "pcre2", "openssl") + add_packages("pcre2", "openssl") ``` Find and use local packages: |
