ruki 6 месяцев назад
Родитель
Сommit
a97bb48a1f
100 измененных файлов с 189 добавлено и 4628 удалено
  1. 2 8
      .gitignore
  2. 0 15
      404.html
  3. 0 1
      CNAME
  4. 0 637
      README.md
  5. 0 13
      _coverpage.md
  6. 0 8
      _navbar.md
  7. 0 79
      _sidebar.md
  8. 0 140
      about/awesome.md
  9. 0 1962
      about/changelog.md
  10. 0 12
      about/contact.md
  11. 0 10
      about/introduction.md
  12. 0 251
      about/sponsor.md
  13. 0 9
      about/technical_support.md
  14. 0 46
      about/who_is_using_xmake.md
  15. BIN
      assets/img/afdian-xmake.png
  16. BIN
      assets/img/alipay.png
  17. BIN
      assets/img/donate.gif
  18. BIN
      assets/img/favicon.ico
  19. BIN
      assets/img/github_sponsor.png
  20. BIN
      assets/img/guide/macapp.png
  21. BIN
      assets/img/guide/qt_quickapp.png
  22. BIN
      assets/img/guide/qt_widgetapp.png
  23. BIN
      assets/img/guide/vscode_status_bar.png
  24. BIN
      assets/img/index/add_require.png
  25. BIN
      assets/img/index/menuconf.gif
  26. BIN
      assets/img/index/menuconf.png
  27. BIN
      assets/img/index/package.gif
  28. BIN
      assets/img/index/package_arch.png
  29. BIN
      assets/img/index/package_manage.png
  30. BIN
      assets/img/index/showcode1.png
  31. BIN
      assets/img/index/xmake-basic-render.gif
  32. BIN
      assets/img/logo.png
  33. 0 60
      assets/img/logo.svg
  34. BIN
      assets/img/manual/filegroup1.png
  35. BIN
      assets/img/manual/filegroup2.png
  36. BIN
      assets/img/manual/filegroup3.png
  37. BIN
      assets/img/manual/nsis_1.png
  38. BIN
      assets/img/manual/nsis_2.png
  39. BIN
      assets/img/manual/nsis_3.png
  40. BIN
      assets/img/manual/nsis_4.png
  41. BIN
      assets/img/manual/option_set_category.gif
  42. BIN
      assets/img/manual/option_set_values.png
  43. BIN
      assets/img/manual/property_page_vsxmake.png
  44. BIN
      assets/img/manual/qt_vs.png
  45. BIN
      assets/img/manual/set_group.png
  46. BIN
      assets/img/manual/xmake-debug.png
  47. BIN
      assets/img/manual/xmake-debug2.png
  48. BIN
      assets/img/manual/xmake-remote.png
  49. BIN
      assets/img/manual/xmake-test1.png
  50. BIN
      assets/img/manual/xmake-test2.png
  51. BIN
      assets/img/patreon.png
  52. BIN
      assets/img/paypal.png
  53. 0 29
      assets/img/speed_skating.svg
  54. BIN
      assets/img/theme/default.png
  55. BIN
      assets/img/theme/emoji.png
  56. BIN
      assets/img/theme/ninja.png
  57. BIN
      assets/img/weixin.png
  58. BIN
      assets/img/xmake-cup.jpeg
  59. BIN
      assets/img/xmake-cup2.jpeg
  60. BIN
      assets/img/xmake-cup3.png
  61. BIN
      assets/img/xmake-cup4.jpeg
  62. BIN
      assets/img/xmake-logo-card.png
  63. BIN
      assets/img/xmake-logo-card.psd
  64. BIN
      assets/img/xmake-logo-large.png
  65. BIN
      assets/img/xmake_course.png
  66. 0 0
      assets/npm/docsify-plugin-carbon/index.min.js
  67. BIN
      assets/npm/docsify/6xK3dSBYKcSV-LCoeQqfX1RYOo3qOK7g.ttf
  68. BIN
      assets/npm/docsify/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwlxdr.ttf
  69. BIN
      assets/npm/docsify/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwlxdr.ttf
  70. BIN
      assets/npm/docsify/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_ROW9.ttf
  71. 0 7
      assets/npm/docsify/docsify-copy-code.min.js
  72. 0 0
      assets/npm/docsify/docsify-copy-code.min.js.map
  73. 0 0
      assets/npm/docsify/docsify.min.js
  74. 0 1
      assets/npm/docsify/docsify.min.js.map
  75. 0 1
      assets/npm/docsify/gitalk.min.js
  76. 0 0
      assets/npm/docsify/search.min.js
  77. 0 24
      assets/npm/docsify/vue.font.css
  78. 0 0
      assets/npm/docsify/vue.min.css
  79. 0 1
      assets/npm/docsify/vue.min.css.map
  80. 0 0
      assets/npm/gitalk/gitalk.min.css
  81. 0 1
      assets/npm/gitalk/gitalk.min.css.map
  82. 0 0
      assets/npm/gitalk/gitalk.min.js
  83. 0 0
      assets/npm/gitalk/gitalk.min.js.map
  84. 0 0
      assets/npm/github-markdown/github-markdown.min.css
  85. 0 4
      assets/npm/gitter-sidecar/sidecar.js
  86. 0 0
      assets/npm/gitter-sidecar/sidecar.js.map
  87. 0 0
      assets/npm/prismjs/prism-bash.min.js
  88. 0 1
      assets/npm/prismjs/prism-c.min.js
  89. 0 1
      assets/npm/prismjs/prism-lua.min.js
  90. 0 15
      assets/scripts/pscompletions.text
  91. 0 1
      baidu_verify_Bls5XAaIE7.html
  92. 0 233
      build.lua
  93. 0 15
      cn/index.html
  94. 28 0
      docs/.vitepress/config.mts
  95. 49 0
      docs/api-examples.md
  96. 25 0
      docs/index.md
  97. 85 0
      docs/markdown-examples.md
  98. 0 546
      features/autogen.md
  99. 0 175
      features/build_cache.md
  100. 0 322
      features/distcc_build.md

+ 2 - 8
.gitignore

@@ -1,10 +1,3 @@
-*.a
-*.b
-*.o
-*.exe
-*.obj
-*.dll
-*.lib
 *.out
 *.suo
 *~
@@ -18,7 +11,6 @@
 *.stackdump
 *.manifest
 .ccache
-.demo
 .svn
 .DS_Store
 .xmake
@@ -35,3 +27,5 @@ install.log
 build
 .vscode
 .history/**
+docs/.vitepress/dist
+docs/.vitepress/cache

+ 0 - 15
404.html

@@ -1,15 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-<script language="javascript" type="text/javascript">
-    window.location.href='/#/guide/quickstart';
-</script>
-</head>
-<body>
-<noscript>
-    <h1>404</h1>
-    <p>We couldn't find the page you were looking for. Perhaps go to the
-        <a href="/#/guide/quickstart">Quickstart Page</a>?</p>
-</noscript>
-</body>
-</html>

+ 0 - 1
CNAME

@@ -1 +0,0 @@
-xmake.io

+ 0 - 637
README.md

@@ -1,637 +0,0 @@
-## Support this project
-
-Support this project by [becoming a sponsor](https://xmake.io/#/about/sponsor). Your logo will show up here with a link to your website. 🙏
-
-<a href="https://opencollective.com/xmake#sponsors" target="_blank"><img src="https://opencollective.com/xmake/sponsors.svg?width=890"></a>
-<a href="https://opencollective.com/xmake#backers" target="_blank"><img src="https://opencollective.com/xmake/backers.svg?width=890"></a>
-
-## Technical support
-
-You can also consider sponsoring us to get extra technical support services via the [Github sponsor program](https://github.com/sponsors/waruqi). If you do, you can get access to the [xmake-io/technical-support](https://github.com/xmake-io/technical-support) repository, which has the following bennefits:
-
-- [X] Handling Issues with higher priority
-- [X] One-to-one technical consulting service
-- [X] Review your xmake.lua and provide suggestions for improvement
-
-## Introduction
-
-What is Xmake?
-
-1. Xmake is a cross-platform build utility based on the Lua scripting language.
-2. Xmake is very lightweight and has no dependencies outside of the standard library.
-3. Uses the `xmake.lua` file to maintain project builds with a simple and readable syntax.
-
-Xmake can be used to directly build source code (like with Make or Ninja), or it can generate project source files like CMake or Meson. It also has a *built-in* package management system to help users integrate C/C++ dependencies.
-
-```
-Xmake = Build backend + Project Generator + Package Manager + [Remote|Distributed] Build + Cache
-```
-
-Although less precise, one can still understand Xmake in the following way:
-
-```
-Xmake ≈ Make/Ninja + CMake/Meson + Vcpkg/Conan + distcc + ccache/sccache
-```
-
-If you want to know more, please refer to: the [Documentation](https://xmake.io/#/getting_started), [GitHub](https://github.com/xmake-io/xmake) or [Gitee](https://gitee.com/tboox/xmake). You are also welcome to join our [community](https://xmake.io/#/about/contact).
-
-The official Xmake repository can be found at [xmake-io/xmake-repo](https://github.com/xmake-io/xmake-repo).
-
-## Installation
-
-### With cURL
-
-```bash
-curl -fsSL https://xmake.io/shget.text | bash
-```
-
-### With Wget
-
-```bash
-wget https://xmake.io/shget.text -O - | bash
-```
-
-### With PowerShell
-
-```sh
-Invoke-Expression (Invoke-Webrequest 'https://xmake.io/psget.text' -UseBasicParsing).Content
-```
-
-### Other installation methods
-
-If you don't want to use the above scripts to install Xmake, visit the [Installation Guide](https://xmake.io/#/guide/installation) for other installation methods (building from source, package managers, etc.).
-
-## Simple Project Description
-
-```lua
-target("console")
-    set_kind("binary")
-    add_files("src/*.c")
-```
-
-Creates a new target `console` of kind `binary`, and adds all the files ending in `.c` in the `src` directory.
-
-## Package dependences
-
-```lua
-add_requires("tbox 1.6.*", "zlib", "libpng ~1.6")
-```
-
-Adds a requirement of tbox v1.6, zlib (any version), and libpng v1.6.
-
-The official xmake package repository exists at: [xmake-repo](https://github.com/xmake-io/xmake-repo)
-
-<p align="center">
-<img src="https://github.com/xmake-io/xmake-docs/raw/master/assets/img/index/package.gif" width="650px" />
-</p>
-
-## Commandline interface reference
-
-The below assumes you are currently in the project's root directory.
-
-### Build a project
-
-```bash
-$ xmake
-```
-
-### Run target
-
-```bash
-$ xmake run console
-```
-
-### Debug target
-
-```bash
-$ xmake run -d console
-```
-
-### Configure platform
-
-```bash
-$ xmake f -p [windows|linux|macosx|android|iphoneos ..] -a [x86|arm64 ..] -m [debug|release]
-$ xmake
-```
-
-### Menu configuration
-
-```bash
-$ xmake f --menu
-```
-
-<p align="center">
-<img src="https://xmake.io/assets/img/index/menuconf.png" width="650px"/>
-</p>
-
-## Supported platforms
-
-* Windows (x86, x64)
-* macOS (i386, x86_64, arm64)
-* Linux (i386, x86_64, cross-toolchains ..)
-* *BSD (i386, x86_64)
-* Android (x86, x86_64, armeabi, armeabi-v7a, arm64-v8a)
-* iOS (armv7, armv7s, arm64, i386, x86_64)
-* WatchOS (armv7k, i386)
-* AppleTVOS (armv7, arm64, i386, x86_64)
-* MSYS (i386, x86_64)
-* MinGW (i386, x86_64, arm, arm64)
-* Cygwin (i386, x86_64)
-* Wasm (wasm32)
-* Cross (cross-toolchains ..)
-
-## Supported toolchains
-
-### IDE-Tied
-
-* Xcode
-* MSVC (Microsoft Visual C compiler)
-* Android NDK
-
-### Languages
-
-* Zig
-* Go(lang)
-* Swift
-* Nim
-* Rust
-* GCC (GNU Compiler Collection)
-* Clang
-* TinyCC
-* icc (Intel C Compiler)
-* icpc (Intel C++ Compiler)
-* icx (Intel LLVM C/C++ Compiler)
-* Clang-CL (Clang Compatability with MSVC)
-* DPC++ (Intel LLVM C++ Compiler using SYCL)
-* MinGW (GNU for Windows)
-* C51 (Keil C Compiler for the 8051)
-* GNU-RM (GNU Arm Embedded Toolchain)
-* ArmCC (Keil C Compiler for Keil MKD Version 5)
-* Circle (New C++20 compiler)
-* WASI (C/C++ WebAssembly Toolchain)
-* ArmClang (Version 6 of the Keil MDK)
-* SDCC (Small Device C Compiler)
-* GDC (GNU D Compiler)
-* LDC (LLVM D Compiler)
-* DMD (Dlang)
-* FPC (Free Pascal Programming Language Compiler)
-* GFortran (GNU Fortran Compiler)
-* Ifort (Intel Fortran Compiler)
-* CUDA (nvcc, nvc, nvc++, nvfortran)
-* Emscripten
-* LLVM
-* Icarus Verilog
-* Verilator (SystemVerilog simulator and lint system)
-
-### Assemblers
-
-* FASM
-* NASM
-* YASM
-* MASM32 (Microsoft Macro Assembler 32-bit SDK)
-
-## Supported languages
-
-* C, C++ (including cpp2)
-* Objective-C and Objective-C++
-* Swift
-* Assembly
-* Golang
-* Rust
-* Dlang
-* Fortran
-* Cuda
-* Zig
-* Vala
-* Pascal
-* Nim
-* Verilog
-* FASM
-* NASM
-* YASM
-* MASM32
-
-## Features
-
-Xmake exhibits:
-
-* Simple yet flexible configuration grammar.
-* Quick, dependency-free installation.
-* Easy compilation for most all supported platforms.
-* Supports cross-compilation with intelligent analysis of cross toolchain information.
-* Extremely fast parallel compilation support.
-* Supports C++ modules (new in C++20).
-* Supports cross-platform C/C++ dependencies with built-in package manager.
-* Multi-language compilation support including mixed-language projects.
-* Rich plug-in support with various project generators (ex. Visual Studio/Makefiles/CMake/`compile_commands.json`)
-* REPL interactive execution support
-* Incremental compilation support with automatic analysis of header files
-* Built-in toolchain management
-* A large number of expansion modules
-* Remote compilation support
-* Distributed compilation support
-* Local and remote build cache support
-
-## Supported Project Types
-
-Xmake supports the below types of projects:
-
-* Static libraries
-* Shared libraries
-* Console/CLI applications
-* CUDA programs
-* Qt applications
-* WDK drivers (umdf/kmdf/wdm)
-* WinSDK applications
-* MFC applications
-* Darwin applications (with metal support)
-* Frameworks and bundles (in Darwin)
-* SWIG modules (Lua, Python, ...)
-* LuaRocks modules
-* Protobuf programs
-* Lex/Yacc programs
-* Linux kernel modules
-
-## Package management
-
-### Download and build
-
-Xmake can automatically fetch and install dependencies!
-
-<p align="center">
-<img src="https://xmake.io/assets/img/index/package_manage.png" width="650px" />
-</p>
-
-### Supported package repositories
-
-* Official package repository [xmake-repo](https://github.com/xmake-io/xmake-repo) (tbox >1.6.1)
-* Official package manager [Xrepo](https://github.com/xmake-io/xrepo)
-* [User-built repositories](https://xmake.io/#/package/remote_package?id=using-self-built-private-package-repository)
-* Conan (conan::openssl/1.1.1g)
-* Conda (conda::libpng 1.3.67)
-* Vcpkg (vcpkg::ffmpeg)
-* Homebrew/Linuxbrew (brew::pcre2/libpcre2-8)
-* Pacman on archlinux/msys2 (pacman::libcurl)
-* Apt on ubuntu/debian (apt::zlib1g-dev)
-* Clib (clib::clibs/[email protected])
-* Dub (dub::log 0.4.3)
-* Portage on Gentoo/Linux (portage::libhandy)
-* Nimble for nimlang (nimble::zip >1.3)
-* Cargo for rust (cargo::base64 0.13.0)
-
-### Package management features
-
-* The official repository provides nearly 500+ packages with simple compilation on all supported platforms
-* Full platform package support, support for cross-compiled dependent packages
-* Support package virtual environment using `xrepo env shell`
-* Precompiled package acceleration for Windows (NT)
-* Support self-built package repositories and private repository deployment
-* Third-party package repository support for repositories such as: vcpkg, conan, conda, etc.
-* Supports automatic pulling of remote toolchains
-* Supports dependency version locking
-
-## Processing architecture
-
-Below is a diagram showing roughly the architecture of Xmake, and thus how it functions.
-
-<p align="center">
-<img src="https://xmake.io/assets/img/index/package_arch.png" width="650px" />
-</p>
-
-## Distributed Compilation
-
-- [X] Cross-platform support.
-- [X] Support for MSVC, Clang, GCC and other cross-compilation toolchains.
-- [X] Support for building for Android, Linux, Windows NT, and Darwin hosts.
-- [X] No dependencies other than the compilation toolchain.
-- [X] Support for build server load balancing scheduling.
-- [X] Support for real time compressed transfer of large files (lz4).
-- [X] Almost zero configuration cost, no shared filesystem required, for convenience and security.
-
-For more details see: [#274](https://github.com/xmake-io/xmake/issues/274)
-
-## Remote Compilation
-
-For more details see: [#622](https://github.com/xmake-io/xmake/issues/622)
-
-## Local/Remote Build Cache
-
-For more details see: [#622](https://github.com/xmake-io/xmake/issues/2371)
-
-## Benchmark
-
-Xmake's speed on is par with Ninja! The test project: [xmake-core](https://github.com/xmake-io/xmake/tree/master/core)
-
-### Multi-task parallel compilation
-
-
-| buildsystem      | Termux (8core/-j12) | buildsystem      | MacOS (8core/-j12) |
-| ------------------ | --------------------- | ------------------ | -------------------- |
-| xmake            | 24.890s             | xmake            | 12.264s            |
-| ninja            | 25.682s             | ninja            | 11.327s            |
-| cmake(gen+make)  | 5.416s+28.473s      | cmake(gen+make)  | 1.203s+14.030s     |
-| cmake(gen+ninja) | 4.458s+24.842s      | cmake(gen+ninja) | 0.988s+11.644s     |
-
-## Single task compilation
-
-
-| buildsystem      | Termux (-j1)     | buildsystem      | MacOS (-j1)    |
-| ------------------ | ------------------ | ------------------ | ---------------- |
-| xmake            | 1m57.707s        | xmake            | 39.937s        |
-| ninja            | 1m52.845s        | ninja            | 38.995s        |
-| cmake(gen+make)  | 5.416s+2m10.539s | cmake(gen+make)  | 1.203s+41.737s |
-| cmake(gen+ninja) | 4.458s+1m54.868s | cmake(gen+ninja) | 0.988s+38.022s |
-
-## More Examples
-
-### Debug and release profiles
-
-```lua
-add_rules("mode.debug", "mode.release")
-
-target("console")
-    set_kind("binary")
-    add_files("src/*.c")
-    if is_mode("debug") then
-        add_defines("DEBUG")
-    end
-```
-
-### Custom scripts
-
-```lua
-target("test")
-    set_kind("binary")
-    add_files("src/*.c")
-    after_build(function (target)
-        print("hello: %s", target:name())
-        os.exec("echo %s", target:targetfile())
-    end)
-```
-
-### Automatic integration of dependent packages
-
-Download and use packages in [xmake-repo](https://github.com/xmake-io/xmake-repo) or third-party repositories:
-
-```lua
-add_requires("tbox >1.6.1", "libuv master", "vcpkg::ffmpeg", "brew::pcre2/libpcre2-8")
-add_requires("conan::openssl/1.1.1g", {alias = "openssl", optional = true, debug = true})
-target("test")
-    set_kind("binary")
-    add_files("src/*.c")
-    add_packages("tbox", "libuv", "vcpkg::ffmpeg", "brew::pcre2/libpcre2-8", "openssl")
-```
-
-In addition, we can also use the [xrepo](https://github.com/xmake-io/xrepo) command to quickly install dependencies.
-
-### Qt QuickApp Program
-
-```lua
-target("test")
-    add_rules("qt.quickapp")
-    add_files("src/*.cpp")
-    add_files("src/qml.qrc")
-```
-
-### Cuda Program
-
-```lua
-target("test")
-    set_kind("binary")
-    add_files("src/*.cu")
-    add_cugencodes("native")
-    add_cugencodes("compute_35")
-```
-
-### WDK/UMDF Driver Program
-
-```lua
-target("echo")
-    add_rules("wdk.driver", "wdk.env.umdf")
-    add_files("driver/*.c")
-    add_files("driver/*.inx")
-    add_includedirs("exe")
-
-target("app")
-    add_rules("wdk.binary", "wdk.env.umdf")
-    add_files("exe/*.cpp")
-```
-
-For more WDK driver examples (UMDF/KMDF/WDM), please visit [WDK Program Examples](https://xmake.io/#/guide/project_examples?id=wdk-driver-program)
-
-### Darwin Applications
-
-```lua
-target("test")
-    add_rules("xcode.application")
-    add_files("src/*.m", "src/**.storyboard", "src/*.xcassets")
-    add_files("src/Info.plist")
-```
-
-### Framework and Bundle Program (Darwin)
-
-```lua
-target("test")
-    add_rules("xcode.framework") -- or xcode.bundle
-    add_files("src/*.m")
-    add_files("src/Info.plist")
-```
-
-### OpenMP Program
-
-```lua
-add_requires("libomp", {optional = true})
-target("loop")
-    set_kind("binary")
-    add_files("src/*.cpp")
-    add_rules("c++.openmp")
-    add_packages("libomp")
-```
-
-### Zig Program
-
-```lua
-target("test")
-    set_kind("binary")
-    add_files("src/main.zig")
-```
-
-### Automatically fetch remote toolchain
-
-#### fetch a special version of LLVM
-
-Require the Clang version packaged with LLM-10 to compile a project.
-
-```lua
-add_requires("llvm 10.x", {alias = "llvm-10"})
-target("test")
-    set_kind("binary")
-    add_files("src/*.c")
-    set_toolchains("llvm@llvm-10")
-```
-
-#### Fetch a cross-compilation toolchain
-
-We can also pull a specified cross-compilation toolchain in to compile the project.
-
-```lua
-add_requires("muslcc")
-target("test")
-    set_kind("binary")
-    add_files("src/*.c")
-    set_toolchains("@muslcc")
-```
-
-#### Fetch toolchain and packages
-
-We can also use the specified `muslcc` cross-compilation toolchain to compile and integrate all dependent packages.
-
-```lua
-add_requires("muslcc")
-add_requires("zlib", "libogg", {system = false})
-
-set_toolchains("@muslcc")
-
-target("test")
-    set_kind("binary")
-    add_files("src/*.c")
-    add_packages("zlib", "libogg")
-```
-
-## Plugins
-
-#### Generate IDE project file plugin(makefile, vs2002 - vs2022 .. )
-
-```bash
-$ xmake project -k vsxmake -m "debug,release" # New vsproj generator (Recommended)
-$ xmake project -k vs -m "debug,release"
-$ xmake project -k cmake
-$ xmake project -k ninja
-$ xmake project -k compile_commands
-```
-
-#### Run a custom lua script plugin
-
-```bash
-$ xmake l ./test.lua
-$ xmake l -c "print('hello xmake!')"
-$ xmake l lib.detect.find_tool gcc
-$ xmake l
-> print("hello xmake!")
-> {1, 2, 3}
-< {
-    1,
-    2,
-    3
-  }
-```
-
-To see a list of bultin plugs, please visit [Builtin plugins](https://xmake.io/#/plugin/builtin_plugins).
-
-Please download and install other plugins from the plugins repository [xmake-plugins](https://github.com/xmake-io/xmake-plugins).
-
-## IDE/Editor Integration
-
-* [xmake-vscode](https://github.com/xmake-io/xmake-vscode)
-
-<img src="https://raw.githubusercontent.com/xmake-io/xmake-vscode/master/res/problem.gif" width="650px" />
-
-* [xmake-sublime](https://github.com/xmake-io/xmake-sublime)
-
-<img src="https://raw.githubusercontent.com/xmake-io/xmake-sublime/master/res/problem.gif" width="650px" />
-
-* [xmake-idea](https://github.com/xmake-io/xmake-idea)
-
-<img src="https://raw.githubusercontent.com/xmake-io/xmake-idea/master/res/problem.gif" width="650px" />
-
-* [xmake.nvim](https://github.com/Mythos-404/xmake.nvim) (third-party, thanks [@Mythos_404](https://github.com/Mythos-404))
-
-<img src="https://raw.githubusercontent.com/Mythos-404/xmake.nvim/main/assets/XmakePreview.gif" width="650px" />
-
-* [xmake.vim](https://github.com/luzhlon/xmake.vim) (third-party, thanks [@luzhlon](https://github.com/luzhlon))
-* [xmake-visualstudio](https://github.com/HelloWorld886/xmake-visualstudio) (third-party, thanks [@HelloWorld886](https://github.com/HelloWorld886))
-* [xmake-qtcreator](https://github.com/Arthapz/xmake-project-manager) (third-party, thanks [@Arthapz](https://github.com/Arthapz))
-
-### Xmake Gradle Plugin (JNI)
-
-We can use the [xmake-gradle](https://github.com/xmake-io/xmake-gradle) plugin to compile JNI libraries via gradle.
-
-```
-plugins {
-  id 'org.tboox.gradle-xmake-plugin' version '1.1.5'
-}
-
-android {
-    externalNativeBuild {
-        xmake {
-            path "jni/xmake.lua"
-        }
-    }
-}
-```
-
-The `xmakeBuild` task will be injected into the `assemble` task automatically if the `gradle-xmake-plugin` has been applied.
-
-```console
-$ ./gradlew app:assembleDebug
-> Task :nativelib:xmakeConfigureForArm64
-> Task :nativelib:xmakeBuildForArm64
->> xmake build
-[ 50%]: cache compiling.debug nativelib.cc
-[ 75%]: linking.debug libnativelib.so
-[100%]: build ok!
->> install artifacts to /Users/ruki/projects/personal/xmake-gradle/nativelib/libs/arm64-v8a
-> Task :nativelib:xmakeConfigureForArmv7
-> Task :nativelib:xmakeBuildForArmv7
->> xmake build
-[ 50%]: cache compiling.debug nativelib.cc
-[ 75%]: linking.debug libnativelib.so
-[100%]: build ok!
->> install artifacts to /Users/ruki/projects/personal/xmake-gradle/nativelib/libs/armeabi-v7a
-> Task :nativelib:preBuild
-> Task :nativelib:assemble
-> Task :app:assembleDebug
-```
-
-## CI Integration
-
-### GitHub Action
-
-The [github-action-setup-xmake](https://github.com/xmake-io/github-action-setup-xmake) plugin for GitHub Actions can allow you to use Xmake with minimal efforts if you use GitHub Actions for your CI pipeline.
-
-```yaml
-uses: xmake-io/github-action-setup-xmake@v1
-with:
-  xmake-version: latest
-```
-
-## Who is using Xmake?
-
-The list of people and projects who are using Xmake is available [here](https://xmake.io/#/about/who_is_using_xmake).
-
-If you are using Xmake, you are welcome to submit your information to the above list through a PR, so that other users and the developers can gauge interest.  Ihis also let users to use xmake more confidently and give us motivation to continue to maintain it.
-
-This will help the Xmake project and it's community grow stronger and expand!
-
-## Contacts
-
-* Email:[[email protected]](mailto:[email protected])
-* Homepage:[xmake.io](https://xmake.io)
-* Community
-  - [Chat on Reddit](https://www.reddit.com/r/xmake/)
-  - [Chat on Telegram](https://t.me/tbooxorg)
-  - [Chat on Discord](https://discord.gg/xmake)
-  - Chat on QQ Group: 343118190, 662147501
-* Source Code:[GitHub](https://github.com/xmake-io/xmake), [Gitee](https://gitee.com/tboox/xmake)
-* WeChat Public: tboox-os
-
-## Thanks
-
-This project exists thanks to all the people who have [contributed](CONTRIBUTING.md):
-<a href="https://github.com/xmake-io/xmake/graphs/contributors"><img src="https://opencollective.com/xmake/contributors.svg?width=890&button=false" /></a>
-
-* [TitanSnow](https://github.com/TitanSnow): Provide the xmake [logo](https://github.com/TitanSnow/ts-xmake-logo) and install scripts
-* [uael](https://github.com/uael): Provide the semantic versioning library [sv](https://github.com/uael/sv)
-* [OpportunityLiu](https://github.com/OpportunityLiu): Improve cuda, tests and ci
-* [xq144](https://github.com/xq114): Improve `xrepo env shell`, and contribute a lot of packages to the [xmake-repo](https://github.com/xmake-io/xmake-repo) repository.
-* `enderger`: Helped smooth out the edges on the English translation of the README

+ 0 - 13
_coverpage.md

@@ -1,13 +0,0 @@
-<img src="/assets/img/logo.svg" width="16%" />
-
-# xmake <small>2.9.9</small>
-
-> A cross-platform build utility based on Lua
-
-- *Simple, Fast and Lightweight*
-- *Modern C/C++ build tools, Powerful dependency package integration*
-
-[Gitee](https://gitee.com/tboox/xmake/)
-[Github](https://github.com/xmake-io/xmake/)
-[Getting Started](/getting_started)
-

+ 0 - 8
_navbar.md

@@ -1,8 +0,0 @@
-- [Xrepo](https://xrepo.xmake.io/)
-- [Sponsor](/about/sponsor.md)
-- [Articles](https://tboox.org/category/#xmake)
-- [Feedback](https://github.com/xmake-io/xmake/issues)
-- [Community](https://xmake.io/#/about/contact)
-- Languages
-  - [:cn: 中文](/zh-cn/)
-  - [:uk: English](/)

+ 0 - 79
_sidebar.md

@@ -1,79 +0,0 @@
-- About
-
-  - [Introduction](about/introduction.md)
-  - [Contact](about/contact.md)
-  - [Sponsor ❤️](about/sponsor.md)
-  - [Who is using Xmake](about/who_is_using_xmake.md)
-  - [Technical Support](about/technical_support.md)
-  - [Awesome xmake](about/awesome.md)
-  - [Changelog](about/changelog.md)
-
-- Getting Started
-
-  - [Installation](guide/installation.md)
-  - [Quick Start](guide/quickstart.md)
-  - [Project Examples](guide/project_examples.md)
-  - [Configuration](guide/configuration.md)
-  - [Syntax Description](guide/syntax_description.md)
-  - [Build Policies](guide/build_policies.md)
-  - [FAQ](guide/faq.md)
-
-- Package Management
-
-  - [Local Package (Old)](package/local_package_old.md)
-  - [Local Package (New)](package/local_package.md)
-  - [Remote Package](package/remote_package.md)
-  - [System Package](package/system_package.md)
-  - [Local 3rd source code library](package/local_3rd_source_library.md)
-  - [Xrepo C/C++ Package Manager](https://xrepo.xmake.io/#/getting_started)
-
-- Toolchain Management
-
-  - [Builtin Toolchain](toolchain/builtin_toolchains.md)
-  - [Custom toolchain](manual/custom_toolchain.md)
-  - [Pull Remote Toolchain](toolchain/remote_toolchain.md)
-
-- API Manual (Description Scope)
-
-  - [Specification](manual/specification.md)
-  - [Conditions](manual/conditions.md)
-  - [Global Interfaces](manual/global_interfaces.md)
-  - [Helper Interfaces](manual/helper_interfaces.md)
-  - [Project Target](manual/project_target.md)
-  - [Configuration Option](manual/configuration_option.md)
-  - [Plugin and Task](manual/plugin_task.md)
-  - [Custom Rule](manual/custom_rule.md)
-  - [Custom Toolchain](manual/custom_toolchain.md)
-  - [Package Dependencies](manual/package_dependencies.md)
-  - [Builtin Variables](manual/builtin_variables.md)
-  - [XPack Interfaces](manual/xpack.md)
-
-- API Manual (Script Scope)
-
-  - [Package Instance](manual/package_instance.md)
-  - [Target Instance](manual/target_instance.md)
-  - [Option Instance](manual/option_instance.md)
-  - [Builtin Modules](manual/builtin_modules.md)
-  - [Extension Modules](manual/extension_modules.md)
-  - [Native Modules](manual/native_modules.md)
-
-- Other features
-
-  - [Remote Build](features/remote_build.md)
-  - [Distributed Build](features/distcc_build.md)
-  - [Build Cache Acceleration](features/build_cache.md)
-  - [Unity Build Acceleration](features/unity_build.md)
-  - [Auto-scan Source Build](features/autogen.md)
-  - [Try to build with other build systems](features/trybuild.md)
-
-- Plugin
-
-  - [Plugin Development](plugin/plugin_development.md)
-  - [Builtin Plugins](plugin/builtin_plugins.md)
-  - [More Plugins](plugin/more_plugins.md)
-
-- Theme Style
-
-  - [Switch Theme](theme/switch_theme.md)
-  - [Builtin Theme](theme/builtin_themes.md)
-

+ 0 - 140
about/awesome.md

@@ -1,140 +0,0 @@
-<div align="center">
-  <a href="https://xmake.io">
-    <img width="200" heigth="200" src="/assets/img/logo.svg">
-  </a>
-
-<h1>awesome-xmake</h1>
-
-<div>
-    <a href="https://github.com/xmake-io/xmake/releases">
-      <img src="https://img.shields.io/github/release/tboox/xmake.svg?style=flat-square" alt="Github All Releases" />
-    </a>
-    <a href="https://github.com/xmake-io/xmake/blob/master/LICENSE.md">
-      <img src="https://img.shields.io/github/license/tboox/xmake.svg?colorB=f48041&style=flat-square" alt="license" />
-    </a>
-    <a href="https://www.reddit.com/r/tboox/">
-      <img src="https://img.shields.io/badge/chat-on%20reddit-ff3f34.svg?style=flat-square" alt="Reddit" />
-    </a>
-    <a href="https://t.me/tbooxorg">
-      <img src="https://img.shields.io/badge/chat-on%20telegram-blue.svg?style=flat-square" alt="Telegram" />
-    </a>
-    <a href="https://jq.qq.com/?_wv=1027&k=5hpwWFv">
-      <img src="https://img.shields.io/badge/chat-on%20QQ-ff69b4.svg?style=flat-square" alt="QQ" />
-    </a>
-    <a href="http://xmake.io/pages/donation.html#donate">
-      <img src="https://img.shields.io/badge/donate-us-orange.svg?style=flat-square" alt="Donate" />
-    </a>
-  </div>
-
-<p>A curated list of awesome Xmake projects, plugins, examples and others.</p>
-</div>
-
-## Examples
-
-* [Executable](https://xmake.io/#/guide/project_examples?id=executable-program)
-* [Static Library](https://xmake.io/#/guide/project_examples?id=static-library-program)
-* [Dynamic Library](https://xmake.io/#/guide/project_examples?id=share-library-program)
-* [Qt Program](https://xmake.io/#/guide/project_examples?id=qt-program)
-* [CUDA Program](https://xmake.io/#/guide/project_examples?id=cuda-program)
-* [WDK Driver](https://xmake.io/#/guide/project_examples?id=wdk-driver-program)
-* [WinSDK Application](https://xmake.io/#/guide/project_examples?id=winsdk-application-program)
-
-## Repositories
-
-* [xmake-repo](https://github.com/xmake-io/xmake-repo): The official xmake package repository.
-
-## Plugins
-
-#### Xmake plugins
-
-<sub>These seem to 404...</sub>
-
-* [xmake macro](https://xmake.io/#/plugins?id=macros-recording-and-playback): Macros recording and playback.
-* [xmake lua](https://xmake.io/#/plugins?id=run-the-custom-lua-script): Run the custom Lua script.
-* [xmake project](https://xmake.io/#/plugins?id=generate-ide-project-files): Generate IDE project files.
-* [xmake doxygen](https://xmake.io/#/plugins?id=generate-doxygen-document): Generate Doxygen documentation.
-* [xmake app2ipa](https://xmake.io/#/plugins?id=convert-app-to-ipa): Convert .app to .ipa.
-
-#### IDE/Editor Plugins
-
-* [xmake-vscode](https://github.com/xmake-io/xmake-vscode): A VSCode plugin for Xmake.
-* [xmake-sublime](https://github.com/xmake-io/xmake-sublime): A Sublime Text 2/3 plugin for Xmake.
-* [xmake-idea](https://github.com/xmake-io/xmake-idea): A Intellij-IDEA plugin for Xmake.
-* [xmake.vim](https://github.com/luzhlon/xmake.vim): (third-party, thanks [@luzhlon](https://github.com/luzhlon)).
-* [xmake.nvim](https://github.com/Mythos-404/xmake.nvim) (third-party, thanks [@Mythos_404](https://github.com/Mythos-404))
-* [xmake-gradle](https://github.com/xmake-io/xmake-gradle): A gradle plugin that integrates xmake seamlessly.
-* [xmake-visualstudio](https://github.com/HelloWorld886/xmake-visualstudio) (third-party, thanks [@HelloWorld886](https://github.com/HelloWorld886)).
-* [xmake-qtcreator](https://github.com/Arthapz/xmake-project-manager) (third-party, thanks [@Arthapz](https://github.com/Arthapz)).
-
-## Projects
-
-* [tbox](https://github.com/tboox/tbox): A glib-like multi-platform C library.
-* [gbox](https://github.com/tboox/gbox):A multi-platform 2D graphics library.
-* [ltui](https://github.com/tboox/ltui):A cross-platform terminal UI library based on Lua.
-* [itrace](https://github.com/tboox/itrace):Trace Objective-C method calls for iOS and MacOS.
-* [vm86](https://github.com/tboox/vm86):The x86 Script Instruction Virtual Machine.
-* [benchbox](https://github.com/tboox/benchbox): The Benchmark Testing Box.
-* [libsvx](https://gitlab.com/caikelun/libsvx): A pure C network library.
-* [GitMsg](https://github.com/LER0ever/GitMsg): encrypted messaging to replace E-Mail.
-* [xmake-cpputest](https://github.com/longbai/xmake-cpputest): Setup test project for embedded C development with CppUTest built using Xmake.
-* [wTest](https://github.com/avaicode/wTest): wTest is a Weightless OI/ACM Tester, which can take place of cena and lowsars on Linux, and it also supports Windows.
-* [LightInk3D](https://github.com/baisai/LightInk3D): 3D engine developed by urho3d.
-* [nmscc](https://github.com/lumpyzhu/nmscc): The missing c++ 1z library.
-* [libBG](https://github.com/TitanSnow/libBG): A lightwight high-speed good-designed big interger library for C++ with FFT.
-* [sciter-todolist](https://github.com/lidroid/sciter-todolist): A WunderList-like TODO list based on sciter.
-* [LC-Finder](https://github.com/lc-soft/LC-Finder): A simple pciture resource manager, support tag search and thumbnail preview.
-* [libsv](https://github.com/uael/sv): Public domain semantic versioning in C.
-* [eelua](https://github.com/hilarryxu/eelua): A Lua script engine for EverEdit.
-* [xval](https://github.com/luzhlon/xval): xval是一个轻量级的C++动态类型对象库,主要用于与其他动态语言的通信
-* [srpc](https://github.com/luzhlon/srpc): srpc是一个基于TCP流和msgpack的RPC协议
-* [websocket-cpp](https://github.com/luzhlon/websocket-cpp): Websocket-protocol's implementation with multithread synchronization model in C++.
-* [libacl](https://github.com/acl-dev/acl): An advanced C/C++ Network library.
-* [libfiber](https://github.com/acl-dev/libfiber): The high performance coroutine library for Linux/FreeBSD/Windows, supporting select/poll/epoll/kqueue/iocp/windows GUI.
-* [EasyCrossPlatform_src](https://github.com/EasyCrossPlatformLib/EasyCrossPlatform_src): An easy-to-use crossplatform C++ Library, primarily for server-side development.
-* [LCUI.css](https://github.com/lc-ui/lcui.css): A UI component framework for building LCUI application.
-* [tlpi_hdr](https://github.com/frostRed/tlpi_hdr): The Linux programming interface codes.
-* [json](https://github.com/xyliuke/json): A JSON parser.
-* [cyOS](https://github.com/chenyanzz/cyOS): 一个岩岩小天使正在做的操作系统
-* [NaturalLanguage](https://github.com/dtcxzyw/NaturalLanguage): An imitation of the C++ language.
-* [DA-MD5](https://github.com/DATechnologyStudio/DA-MD5): A changeable data MD5 library by DA studio.
-* [boost_ptree_example](https://github.com/wyy584322202/boost_ptree_example): 使用ptree处理json
-* [Add xmake to libuv](https://github.com/libuv/libuv/pull/1464): Added Xmake support to LibUV.
-* [mobula](https://github.com/ldust/mobula) <!-- This project seems to be... gone? -->
-* [hikyuu](https://github.com/fasiondog/hikyuu): Hikyuu Quant Framework 基于C++/Python的开源量化交易研究框架
-* [userver](https://github.com/dreamtraveler/userver): A C++ game server framework based on LibUV.
-* [co](https://github.com/idealvin/co): An elegant and efficient C++ basic library for Linux, Windows and Mac.
-* [lcui-router-app](https://github.com/lc-ui/lcui-router-app): A simple application for LCUI Router.
-* [lcui-router](https://github.com/lc-soft/lcui-router): A router for control view switching and status in the LCUI applications, it inspired by the Vue Router.
-* [aoc2019](https://github.com/wrren/aoc2019): Advent of Code 2019 Solutions.
-* [FengEngine](https://github.com/libyyu/FengEngine)
-* [dnn](https://github.com/garraGH/dnn): Framework for deep neural network using C++/CUDA/OpenGL.
-* [UWPFlow](https://github.com/OpportunityLiu/UWPFlow): UW Continuation Power Flow.
-* [cgraph](https://github.com/liurunzhan/cgraph): A C library for graph analysis.
-* [shadowssh_rule_c](https://github.com/ChanthMiao/shadowssh_rule_c): The calculation library example of shadowssh.
-* [rc](https://github.com/lumpyzhu/rc): An extension to the C++ to bring Rust-like type safety to the language.
-* [Re.Write.Down](https://github.com/MidAutumnMoon/Re.Write.Down): A Markup Language and it's C++ compiler.
-* [Sound_THUMB](https://github.com/Yunoinsky/Sound_THUMB): 这是一个THUMB的增强现实有音乐元素的美少女/美少年的抽卡氪金手游
-* [ttp](https://github.com/codehz/ttp): Minimal HTTP library (pure).
-* [ctxco](https://github.com/codehz/ctxco): Minimal (and intuitive to use) coroutine implement in C.
-* [moosey](https://github.com/cheereaque/moosey): Moosey is an open-source RDBMS written in modern C++.
-* [zsign](https://github.com/zhlynn/zsign): Possibly the most quickly codesign alternative for iOS12+ in the world, cross-platform (Linux & macOS).
-* [chimney-c](https://github.com/Evan2698/chimney-c)
-* [ElementZero](https://github.com/Element-0/ElementZero): Run Windows version of BDS in Linux with mod support.
-* [Gobang](https://github.com/Leopard-C/Gobang): 五子棋游戏,游戏双方联网对战
-* [SakuraEngine](https://github.com/SaeruHikari/SakuraEngine): 跨平台的现代游戏引擎
-* [TensorIR](https://github.com/zhangxp1998/TensorIR)
-
-## Articles
-
-* [Official blog](http://www.tboox.org/category/#xmake)
-
-## Videos
-
-* [Basic Usages](https://asciinema.org/a/133693)
-* [Download and install packages](https://asciinema.org/a/140338)
-
-## Others
-
-* [xmake-repo](https://github.com/xmake-io/xmake-repo): A package repository based on xmake
-* [ts-xmake-logo](https://github.com/TitanSnow/ts-xmake-logo): The logo icon for xmake. Thanks [@TitanSnow](https://github.com/TitanSnow)
-* [ts-xmake-gui](https://github.com/TitanSnow/ts-xmake-gui): An ugly xmake gui

+ 0 - 1962
about/changelog.md

@@ -1,1962 +0,0 @@
-# Changelog
-
-## v2.9.9
-
-### New features
-
-* [#6137](https://github.com/xmake-io/xmake/issues/6137): IDE integration
-* [#6138](https://github.com/xmake-io/xmake/issues/6138): Use libxmake to build binary with xmake lua apis
-* [#6154](https://github.com/xmake-io/xmake/issues/6154): Add kotlin language and kotlin-native compiler and packages support
-* [#6279](https://github.com/xmake-io/xmake/pull/6279): Add msvc midl support
-
-### Changes
-
-* [#6182](https://github.com/xmake-io/xmake/pull/6182): Support msstl modules for clang
-* [#6281](https://github.com/xmake-io/xmake/pull/6281): Support Verilator target build to shared library
-* [#6270](https://github.com/xmake-io/xmake/pull/6270): Improve conan generator
-* [#6243](https://github.com/xmake-io/xmake/pull/6243): Improve llvm toolchain to support for cross platform
-* Support for CMake 4.0
-
-### Bugs fixed
-
-* [#6292](https://github.com/xmake-io/xmake/issues/6292): Fix namespace issue
-
-## v2.9.8
-
-### New features
-
-* [#5994](https://github.com/xmake-io/xmake/issues/5994): Profile process performance
-* [#5995](https://github.com/xmake-io/xmake/pull/5995): Add profile support for vs generator
-* [#5949](https://github.com/xmake-io/xmake/pull/5949): Add rule nodejs.module
-* [#3380](https://github.com/xmake-io/xmake/issues/3380): Add namespace support
-* [#5945](https://github.com/xmake-io/xmake/issues/5945): Check pkgconfig/cmake importfiles for package
-* [#6054](https://github.com/xmake-io/xmake/issues/6054): Add xmake bundle for linux
-* [#6071](https://github.com/xmake-io/xmake/issues/6071): Improve to download package for git url, support for sparse-checkout
-* [#5163](https://github.com/xmake-io/xmake/issues/5163): Support TI-CGT C2000/C6000 compiler
-* [#5344](https://github.com/xmake-io/xmake/issues/5344): Support IAR ARM C/C++ compiler
-* [#5554](https://github.com/xmake-io/xmake/issues/5554): Add custom unknown toolchains support
-
-### Changes
-
-* [#6056](https://github.com/xmake-io/xmake/pull/6056): Build and release xmake/arm64 on windows.
-* [#6097](https://github.com/xmake-io/xmake/pull/6097): Add qt_host Option to Enable Cross-Platform Qt Builds Using Host SDK Tools
-* [#6120](https://github.com/xmake-io/xmake/issues/6120): Add custom preprocessor for configfiles
-* [#6088](https://github.com/xmake-io/xmake/issues/6088): Improve configfiles to generate export macro
-
-### Bugs fixed
-
-* [#272](https://github.com/tboox/tbox/issues/272): Fix xmake stuck when readfile always return zero for msvc + /O1
-* [#6089](https://github.com/tboox/tbox/issues/6089): Fix depend.is_changed for cuda
-
-## v2.9.7
-
-### New features
-
-* [#5813](https://github.com/xmake-io/xmake/pull/5813): Add `before_config` and `after_config` for rule
-* [#5848](https://github.com/xmake-io/xmake/issues/5848): Support custom MSVC build tools, e.g. PortableBuildTools and msvc-wine
-* [#5880](https://github.com/xmake-io/xmake/pull/5880): Use msvc package to build project
-* [#5884](https://github.com/xmake-io/xmake/issues/5884): Add installtips for package
-* [#5894](https://github.com/xmake-io/xmake/issues/5894): Add package.merge_staticlibs policy to merge package libs
-* [#5948](https://github.com/xmake-io/xmake/pull/5948): Add `lua.native-object` rule
-* [#5911](https://github.com/xmake-io/xmake/issues/5911): Support for nuget packages
-
-### Changes
-
-* [#5817](https://github.com/xmake-io/xmake/pull/5817): Improve default pic for packages
-* [#5869](https://github.com/xmake-io/xmake/pull/5869): Add libstdc++ standard library modules support for gcc
-* [#5923](https://github.com/xmake-io/xmake/pull/5923): Solve the package version and configs conflict
-
-### Bugs fixed
-
-* [#5856](https://github.com/xmake-io/xmake/issues/5856): Fix compile c++modules for clang
-* [#5858](https://github.com/xmake-io/xmake/issues/5858): Fix the precompiled header for gcc
-
-## v2.9.6
-
-### New features
-
-* [#5527](https://github.com/xmake-io/xmake/issues/5527): Add `set_policy("compatibility.version", "3.0")` to preview v3.0 features.
-* [#5649](https://github.com/xmake-io/xmake/pull/5649): Add `package.check_fcsnippets`
-
-### Changes
-
-* [#5631](https://github.com/xmake-io/xmake/pull/5631): Add `as_needed` for `add_linkgroups`
-* [#5702](https://github.com/xmake-io/xmake/issues/5702): Improve hash module
-* [#5688](https://github.com/xmake-io/xmake/pull/5688): Improve hashset module
-* [#5711](https://github.com/xmake-io/xmake/issues/5711): Support to parse include deps for sdcc
-* [#5727](https://github.com/xmake-io/xmake/issues/5727): Improve configs for add_requires
-* [#5762](https://github.com/xmake-io/xmake/pull/5762): Improve bin2c speed
-
-### Bugs fixed
-
-* [#5645](https://github.com/xmake-io/xmake/issues/5645): Fix `xmake watch` for linux
-* [#5686](https://github.com/xmake-io/xmake/pull/5686): Fix module scanning
-
-## v2.9.5
-
-### New features
-
-* [#5462](https://github.com/xmake-io/xmake/pull/5462): Add `xmake l cli.bisect`
-* [#5488](https://github.com/xmake-io/xmake/pull/5488): Support for using cosmocc to build xmake binary
-* [#5491](https://github.com/xmake-io/xmake/pull/5491): Provide single xmake binary with embeded lua files
-* [#5580](https://github.com/xmake-io/xmake/issues/5580): Add `@builtin/xrepo` to add envs for `xrepo env shell`
-
-### Changes
-
-* [#5507](https://github.com/xmake-io/xmake/issues/5507): Use treeless to improve git.clone
-* [#5536](https://github.com/xmake-io/xmake/pull/5536): Add jar generate in swig mode
-* [#5573](https://github.com/xmake-io/xmake/issues/5573): Improve vsxmake generator performance
-* [#5601](https://github.com/xmake-io/xmake/issues/5601): Improve utils.symbols.export_all rule to filter sourcefile path
-
-### Bugs fixed
-
-* [#4750](https://github.com/xmake-io/xmake/issues/4750): Fix compile_commands generator for `xmake tests`
-* [#5465](https://github.com/xmake-io/xmake/pull/5465): Fix lock package requires
-* [#4760](https://github.com/xmake-io/xmake/issues/4760): Fix distcc client issue
-
-## v2.9.4
-
-### New features
-
-* [#5278](https://github.com/xmake-io/xmake/issues/5278): Add `build.intermediate_directory` policy to disable and custom intermediate directory
-* [#5313](https://github.com/xmake-io/xmake/issues/5313): Add windows arm/arm64ec support
-* [#5296](https://github.com/xmake-io/xmake/issues/5296): Add Intel LLVM Fortran Compiler support
-* [#5384](https://github.com/xmake-io/xmake/issues/5384): Add `add_bindirs` for package
-
-### Changes
-
-* [#5280](https://github.com/xmake-io/xmake/issues/5280): Add missing C++20 Modules file extension
-* [#5251](https://github.com/xmake-io/xmake/issues/5251): Update 7z/curl for windows installer
-* [#5286](https://github.com/xmake-io/xmake/issues/5286): Improve json to parse hex string
-* [#5302](https://github.com/xmake-io/xmake/pull/5302): Improve Vala support
-* [#5335](https://github.com/xmake-io/xmake/pull/5335): Improve `xmake install` and `xpack`, Add `set_prefixdir` api for target
-* [#5387](https://github.com/xmake-io/xmake/pull/5387): Improve `xmake test`
-* [#5376](https://github.com/xmake-io/xmake/pull/5376): Improve module objectfiles handling and moduleonly package
-
-### Bugs Fixed
-
-* [#5288](https://github.com/xmake-io/xmake/issues/5288): Fix `xmake test` for unity build
-* [#5270](https://github.com/xmake-io/xmake/issues/5270): Fix pch/include for gcc/clang
-* [#5276](https://github.com/xmake-io/xmake/issues/5276): Fix find vc6
-* [#5259](https://github.com/xmake-io/xmake/issues/5259): Fix the failure of the command line completion function
-
-## v2.9.3
-
-### New features
-
-* [#4637](https://github.com/xmake-io/xmake/issues/4637): Add mix generator for xpack
-* [#5107](https://github.com/xmake-io/xmake/issues/5107): Add deb generator for xpack
-* [#5148](https://github.com/xmake-io/xmake/issues/5148): Add on_source in package
-
-### Changes
-
-* [#5156](https://github.com/xmake-io/xmake/issues/5156): Improve to install cargo packages for rust
-
-### Bugs fixed
-
-* [#5176](https://github.com/xmake-io/xmake/pull/5176): Fix VS toolset v144
-
-## v2.9.2
-
-### New features
-
-* [#5005](https://github.com/xmake-io/xmake/pull/5005): Show all apis
-* [#5003](https://github.com/xmake-io/xmake/issues/5003): Add build.fence policy
-* [#5060](https://github.com/xmake-io/xmake/issues/5060): Support Verilator target build to static library
-* [#5074](https://github.com/xmake-io/xmake/pull/5074): Add `xrepo download` command to download package source
-* [#5086](https://github.com/xmake-io/xmake/issues/5986): Add check support for package
-* [#5103](https://github.com/xmake-io/xmake/pull/5103): Add qt ts files building
-* [#5104](https://github.com/xmake-io/xmake/pull/5104): Call where in find_program
-
-### Changes
-
-* [#5077](https://github.com/xmake-io/xmake/issues/5077): Use x64 host compiler for msvc when building x86 target
-* [#5109](https://github.com/xmake-io/xmake/issues/5109): Support runpath/rpath for add_rpathdirs
-* [#5132](https://github.com/xmake-io/xmake/pull/5132): Improve ifort/icc/icx support on windows
-
-### Bugs Fixed
-
-* [#5059](https://github.com/xmake-io/xmake/issues/5059): Fix load huge targets stuck
-* [#5029](https://github.com/xmake-io/xmake/issues/5029): Fix crash on termux
-
-## v2.9.1
-
-### New features
-
-* [#4874](https://github.com/xmake-io/xmake/pull/4874): Add Harmony SDK support
-* [#4889](https://github.com/xmake-io/xmake/issues/4889): Add signal module to register signal handler in lua
-* [#4925](https://github.com/xmake-io/xmake/issues/4925): Add native modules support
-* [#4938](https://github.com/xmake-io/xmake/issues/4938): Support for cppfront/h2
-
-### Changes
-
-* Improve packages to support for clang-cl
-* [#4893](https://github.com/xmake-io/xmake/issues/4893): Improve rc includes deps
-* [#4928](https://github.com/xmake-io/xmake/issues/4928): Improve to build and link speed
-* [#4931](https://github.com/xmake-io/xmake/pull/4931): Update pdcurses
-* [#4973](https://github.com/xmake-io/xmake/issues/4973): Improve to select script
-
-### Bugs fixed
-
-* [#4882](https://github.com/xmake-io/xmake/issues/4882): Fix install deps with --group
-* [#4877](https://github.com/xmake-io/xmake/issues/4877): Fix compile error for xpack with unity build
-* [#4887](https://github.com/xmake-io/xmake/issues/4887): Fix object deps
-
-## v2.8.9
-
-### New features
-
-* [#4843](https://github.com/xmake-io/xmake/issues/4843): Endianness/Byte-order detection on build machine
-
-### Changes
-
-* [#4798](https://github.com/xmake-io/xmake/issues/4798): Improve wasi sdk detect
-* [#4772](https://github.com/xmake-io/xmake/issues/4772): Improve tools.cmake to support vs2022 preview (v144)
-* [#4813](https://github.com/xmake-io/xmake/issues/4813): Add gb2312 encoding
-* [#4864](https://github.com/xmake-io/xmake/issues/4864): Improve to extract symbols for gdb
-* [#4831](https://github.com/xmake-io/xmake/issues/4831): Allow target:fileconfig() for headerfiles
-* [#4846](https://github.com/xmake-io/xmake/issues/4846): Improve to show progress
-
-### Bugs Fixed
-
-* Fix select_script match pattern
-* [#4763](https://github.com/xmake-io/xmake/issues/4763): Fix {force = true}
-* [#4807](https://github.com/xmake-io/xmake/issues/4807): Fix nimble::find_package
-* [#4857](https://github.com/xmake-io/xmake/issues/4857): Fix parse basic options
-
-## v2.8.8
-
-### Changes
-
-* Add `package:check_sizeof()`
-
-### Bugs Fixed
-
-* [#4774](https://github.com/xmake-io/xmake/issues/4774): Fix android symbol strip
-* [#4769](https://github.com/xmake-io/xmake/issues/4769): Fix cross toolchain and format
-* [#4776](https://github.com/xmake-io/xmake/issues/4776): Fix soname for linux
-* [#4638](https://github.com/xmake-io/xmake/issues/4638): Fix vsxmake with --menu config
-
-## v2.8.7
-
-### New features
-
-* [#4544](https://github.com/xmake-io/xmake/issues/4544): Support to wait process timeout for `xmake test`
-* [#4606](https://github.com/xmake-io/xmake/pull/4606): Add `add_versionfiles` api in package
-* [#4709](https://github.com/xmake-io/xmake/issues/4709): Add cosmocc toolchain support
-* [#4715](https://github.com/xmake-io/xmake/issues/4715): Add is_cross() api in description scope
-* [#4747](https://github.com/xmake-io/xmake/issues/4747): Add `build.always_update_configfiles` policy
-
-### Changes
-
-* [#4575](https://github.com/xmake-io/xmake/issues/4575): Check invalid scope name
-* Add more loong64 support
-* Improve dlang/dmd support for frameworks
-* [#4571](https://github.com/xmake-io/xmake/issues/4571): Improve `xmake test` output
-* [#4609](https://github.com/xmake-io/xmake/issues/4609): Improve to detect vs build tool envirnoments
-* [#4614](https://github.com/xmake-io/xmake/issues/4614): Support android ndk 26b
-* [#4473](https://github.com/xmake-io/xmake/issues/4473): Enable warning output by default
-* [#4477](https://github.com/xmake-io/xmake/issues/4477): Improve runtimes to support libc++/libstdc++
-* [#4657](https://github.com/xmake-io/xmake/issues/4657): Improve to select script pattern
-* [#4673](https://github.com/xmake-io/xmake/pull/4673): Refactor modules support
-* [#4746](https://github.com/xmake-io/xmake/pull/4746): Add native modules support for cmake generator
-
-### Bugs Fixed
-
-* [#4596](https://github.com/xmake-io/xmake/issues/4596): Fix remote build cache
-* [#4689](https://github.com/xmake-io/xmake/issues/4689): Fix deps inherit
-
-## v2.8.6
-
-### New features
-
-* Add `network.mode` policy
-* [#1433](https://github.com/xmake-io/xmake/issues/1433): Add `xmake pack` command to generate NSIS/zip/tar.gz/rpm/srpm/runself packages like cmake/cpack
-* [#4435](https://github.com/xmake-io/xmake/issues/4435): Support batchsize for UnityBuild in Group Mode
-* [#4485](https://github.com/xmake-io/xmake/pull/4485): Support package.install_locally
-* Support NetBSD
-
-### Changes
-
-* [#4484](https://github.com/xmake-io/xmake/pull/4484): Improve swig rule
-* Improve Haiku support
-
-### Bugs fixed
-
-* [#4372](https://github.com/xmake-io/xmake/issues/4372): Fix protobuf rules
-* [#4439](https://github.com/xmake-io/xmake/issues/4439): Fix asn1c rules
-
-## v2.8.5
-
-### New features
-
-* [#1452](https://github.com/xmake-io/xmake/issues/1452): Improve link mechanism and order
-* [#1438](https://github.com/xmake-io/xmake/issues/1438): Support code amalgamation
-* [#3381](https://github.com/xmake-io/xmake/issues/3381): Add `xmake test` support
-* [#4276](https://github.com/xmake-io/xmake/issues/4276): Support custom scope api
-* [#4286](https://github.com/xmake-io/xmake/pull/4286): Add Apple XROS support
-* [#4345](https://github.com/xmake-io/xmake/issues/4345): Support check sizeof
-* [#4369](https://github.com/xmake-io/xmake/pull/4369): Add windows.manifest.uac policy
-
-### Changes
-
-* [#4284](https://github.com/xmake-io/xmake/issues/4284): Improve builtin includes
-
-### Bugs fixed
-
-* [#4256](https://github.com/xmake-io/xmake/issues/4256): Fix intellisense for vsxmake/c++modules
-
-
-## v2.8.3
-
-### New features
-
-* [#4122](https://github.com/xmake-io/xmake/issues/4122): Support Lua Debugger (EmmyLua)
-* [#4132](https://github.com/xmake-io/xmake/pull/4132): Support cppfront
-* [#4147](https://github.com/xmake-io/xmake/issues/4147): Add hlsl2spv rule
-* [#4226](https://github.com/xmake-io/xmake/issues/4226): Support sanitizers for package and policy
-* Add lib.lua.package module
-* Add `run.autobuild` policy
-* Add global policies `xmake g --policies=`
-
-### Changes
-
-* [#4119](https://github.com/xmake-io/xmake/issues/4119): Improve to support emcc toolchain and emscripten package
-* [#4154](https://github.com/xmake-io/xmake/issues/4154): Add `xmake -r --shallow target` to rebuild target without deps
-* Add global ccache storage directory
-* [#4137](https://github.com/xmake-io/xmake/issues/4137): Support Qt6 for Wasm
-* [#4173](https://github.com/xmake-io/xmake/issues/4173): Add recheck argument to on_config
-* [#4200](https://github.com/xmake-io/xmake/pull/4200): Improve remote build to support debugging xmake source code.
-* [#4209](https://github.com/xmake-io/xmake/issues/4209): Add extra and pedantic warnings
-
-### Bugs fixed
-
-* [#4110](https://github.com/xmake-io/xmake/issues/4110): Fix extrafiles
-* [#4115](https://github.com/xmake-io/xmake/issues/4115): Fix compile_commands generator for clangd
-* [#4199](https://github.com/xmake-io/xmake/pull/4199): Fix compile_commands generator for c++ modules
-* Fix os.mv fail on window
-* [#4214](https://github.com/xmake-io/xmake/issues/4214): Fix rust workspace build error
-
-## v2.8.2
-
-### New features
-
-* [#4002](https://github.com/xmake-io/xmake/issues/4002): Add soname and version support
-* [#1613](https://github.com/xmake-io/xmake/issues/1613): Add avx512 and sse4.2 for add_vectorexts
-* [#2471](https://github.com/xmake-io/xmake/issues/2471): Add set_encodings to set source/target encodings
-* [#4071](https://github.com/xmake-io/xmake/pull/4071): Support the stm8 assembler on the sdcc toolchain.
-* [#4101](https://github.com/xmake-io/xmake/issues/4101): Add force includes for c/c++
-* [#2384](https://github.com/xmake-io/xmake/issues/2384): Add extrafiles for vs/vsxmake generator
-
-### Changes
-
-* [#3960](https://github.com/xmake-io/xmake/issues/3960): Improve msys2/crt64 support
-* [#4032](https://github.com/xmake-io/xmake/pull/4032): Remove some old deprecated apis
-* Improve to upgrade vcproj files in tools.msbuild
-* Support add_requires("xmake::xxx") package
-* [#4049](https://github.com/xmake-io/xmake/issues/4049): Improve rust to support cross-compilation
-* Improve clang modules support
-
-### Bugs fixed
-
-* Fix exit all child processes on macOS/Linux
-
-## v2.8.1
-
-### New features
-
-* [#3821](https://github.com/xmake-io/xmake/pull/3821): Add longpath option for windows installer
-* [#3828](https://github.com/xmake-io/xmake/pull/3828): Add support for zypper package manager
-* [#3871](https://github.com/xmake-io/xmake/issues/3871): Improve tools.msbuild to support for upgrading vsproj
-* [#3148](https://github.com/xmake-io/xmake/issues/3148): Support grpc for protobuf
-* [#3889](https://github.com/xmake-io/xmake/issues/3889): Support to add library path for add_links
-* [#3912](https://github.com/xmake-io/xmake/issues/3912): Add set_pmxxheader to support objc precompiled header
-* add_links support library file path
-
-### Changes
-
-* [#3752](https://github.com/xmake-io/xmake/issues/3752): Improve os.getenvs for windows
-* [#3371](https://github.com/xmake-io/xmake/issues/3371): Improve tools.cmake to support ninja generator for wasm
-* [#3777](https://github.com/xmake-io/xmake/issues/3777): Improve to find package from pkg-config
-* [#3815](https://github.com/xmake-io/xmake/pull/3815): Improve tools.xmake to pass toolchains for windows
-* [#3857](https://github.com/xmake-io/xmake/issues/3857): Improve to generate compile_commands.json
-* [#3892](https://github.com/xmake-io/xmake/issues/3892): Improve to search packages from description
-* [#3916](https://github.com/xmake-io/xmake/issues/3916): Improve to build swift program, support for multiple modules
-* Update lua runtime to 5.4.6
-
-### Bugs fixed
-
-* [#3755](https://github.com/xmake-io/xmake/pull/3755): Fix find_tool from xmake/packages
-* [#3787](https://github.com/xmake-io/xmake/issues/3787): Fix packages from conan 2.x
-* [#3839](https://github.com/xmake-io/xmake/discussions/3839): Fix vs_runtime for conan 2.x
-
-
-## v2.7.9
-
-### New features
-
-* [#3613](https://github.com/xmake-io/xmake/issues/3613): Add `wasm.preloadfiles` configuration for wasm
-* [#3703](https://github.com/xmake-io/xmake/pull/3703): Support for conan >=2.0.5
-
-### Changes
-
-* [#3669](https://github.com/xmake-io/xmake/issues/3669): Improve cmake generator to support add_cxflags with the given tool
-* [#3679](https://github.com/xmake-io/xmake/issues/3679): Improve `xrepo clean`
-* [#3662](https://github.com/xmake-io/xmake/issues/3662): Improve cmake/make generator for lex/yacc project
-* [#3697](https://github.com/xmake-io/xmake/issues/3662): Improve trybuild/cmake
-* [#3730](https://github.com/xmake-io/xmake/issues/3730): Improve c++modules package installation
-
-### Bugs fixed
-
-* [#3596](https://github.com/xmake-io/xmake/issues/3596): Fix check_cxxfuncs and check_cxxsnippets
-* [#3603](https://github.com/xmake-io/xmake/issues/3603): Fix `xmake update`
-* [#3614](https://github.com/xmake-io/xmake/issues/3614): Fix qt envirnoment when running target
-* [#3628](https://github.com/xmake-io/xmake/issues/3628): Fix msys2/mingw setenv and os.exec issue
-* Fix setenv for msys/mingw
-
-## v2.7.8
-
-### New features
-
-* [#3518](https://github.com/xmake-io/xmake/issues/3518): Profile compile and link performance
-* [#3522](https://github.com/xmake-io/xmake/issues/3522): Add has_cflags, has_xxx for target
-* [#3537](https://github.com/xmake-io/xmake/issues/3537): Add --fix for clang.tidy checker
-
-### Changes
-
-* [#3433](https://github.com/xmake-io/xmake/issues/3433): Improve to build Qt project on msys2/mingw64 and wasm
-* [#3419](https://github.com/xmake-io/xmake/issues/3419): Support fish shell envirnoment
-* [#3455](https://github.com/xmake-io/xmake/issues/3455): Dlang incremental build support
-* [#3498](https://github.com/xmake-io/xmake/issues/3498): Improve to bind package virtual envirnoments
-* [#3504](https://github.com/xmake-io/xmake/pull/3504): Add swig java support
-* [#3508](https://github.com/xmake-io/xmake/issues/3508): Improve trybuild/cmake to support for switching toolchain
-* disable build cache for msvc, because msvc's preprocessor is too slow.
-
-### Bugs fixed
-
-* [#3436](https://github.com/xmake-io/xmake/issues/3436): Fix complete and menuconf
-* [#3463](https://github.com/xmake-io/xmake/issues/3463): Fix c++modules cache issue
-* [#3545](https://github.com/xmake-io/xmake/issues/3545): Fix parsedeps for armcc
-
-## v2.7.7
-
-### New features
-
-* Add Haiku support
-* [#3326](https://github.com/xmake-io/xmake/issues/3326): Add `xmake check` to check project code (clang-tidy) and configuration
-* [#3332](https://github.com/xmake-io/xmake/pull/3332): add custom http headers when downloading packages
-
-### Changes
-
-* [#3318](https://github.com/xmake-io/xmake/pull/3318): Improve dlang toolchains
-* [#2591](https://github.com/xmake-io/xmake/issues/2591): Improve target analysis
-* [#3342](https://github.com/xmake-io/xmake/issues/3342): Improve to configure working and build directories
-* [#3373](https://github.com/xmake-io/xmake/issues/3373): Improve std modules support for clang-17
-* Improve to strip/optimization for dmd/ldc2
-
-### Bugs fixed
-
-* [#3317](https://github.com/xmake-io/xmake/pull/3317): Fix languages for qt project.
-* [#3321](https://github.com/xmake-io/xmake/issues/3321): Fix dependfile when generating configiles
-* [#3296](https://github.com/xmake-io/xmake/issues/3296): Fix build error on macOS arm64
-
-## v2.7.6
-
-### New features
-
-* [#3228](https://github.com/xmake-io/xmake/pull/3228): Add support of importing modules from packages
-* [#3257](https://github.com/xmake-io/xmake/issues/3257): Add support for iverilog and verilator
-* Support for xp and vc6.0
-* [#3214](https://github.com/xmake-io/xmake/pull/3214): Completion on xrepo install packages
-
-### Changes
-
-* [#3255](https://github.com/xmake-io/xmake/pull/3225): Improve clang libc++ module support
-* Support for compiling xmake using mingw
-* Improve compatibility issues with xmake running on win xp
-* Add pure lua json implementation instead of lua-cjson if the external dependencies are enabled
-
-### Bugs fixed
-
-* [#3229](https://github.com/xmake-io/xmake/issues/3229): Fix find rc.exe for vs2015
-* [#3271](https://github.com/xmake-io/xmake/issues/3271): Fix macro defines with spaces
-* [#3273](https://github.com/xmake-io/xmake/issues/3273): Fix nim link error
-* [#3286](https://github.com/xmake-io/xmake/issues/3286): Fix compile_commands for clangd
-
-## v2.7.5
-
-### New features
-
-* [#3201](https://github.com/xmake-io/xmake/pull/3201): Add completer and xrepo complete
-* [#3233](https://github.com/xmake-io/xmake/issues/3233): Add MASM32 sdk toolchain
-
-### Changes
-
-* [#3216](https://github.com/xmake-io/xmake/pull/3216): Add intel one api toolkits detection
-* [#3020](https://github.com/xmake-io/xmake/issues/3020): Add `--lsp=clangd` to improve to generate compile_commands.json
-* [#3215](https://github.com/xmake-io/xmake/issues/3215): Add includedirs and defines to c51
-* [#3251](https://github.com/xmake-io/xmake/issues/3251): Improve to build zig and c program
-
-### Bugs fixed
-
-* [#3203](https://github.com/xmake-io/xmake/issues/3203): Fix compile_commands
-* [#3222](https://github.com/xmake-io/xmake/issues/3222): Fix precompiled headers in ObjC
-* [#3240](https://github.com/xmake-io/xmake/pull/3240): Fix target run with single arguments
-* [#3238](https://github.com/xmake-io/xmake/pull/3238): Fix clang module mapper
-
-## v2.7.4
-
-### New features
-
-* [#3049](https://github.com/xmake-io/xmake/pull/3049): Add `xmake format` plugin
-* Add `plugin.compile_commands.autoupdate` rule
-* [#3172](https://github.com/xmake-io/xmake/pull/3172): Add xmake.sh
-* [#3168](https://github.com/xmake-io/xmake/pull/3168): add support of C++23 standard modules on msvc
-
-### Changes
-
-* [#3056](https://github.com/xmake-io/xmake/issues/3056): Improve zig support
-* [#3060](https://github.com/xmake-io/xmake/issues/3060): Improve to detect msys2 for clang toolchains envirnoment
-* [#3071](https://github.com/xmake-io/xmake/issues/3071): Support rc for llvm/clang toolchain
-* [#3122](https://github.com/xmake-io/xmake/pull/3122): Generate dependencies of preprocessed modules to avoid importing #ifdef import
-* [#3125](https://github.com/xmake-io/xmake/pull/3125): Compile private C++20 modules
-* [#3133](https://github.com/xmake-io/xmake/pull/3133): Add support of internal partitions
-* [#3146](https://github.com/xmake-io/xmake/issues/3146): Add default components for packages
-* [#3192](https://github.com/xmake-io/xmake/issues/3192): JSON output for auto complete
-
-### Bugs fixed
-
-* Fix requires-lock bug
-* [#3065](https://github.com/xmake-io/xmake/issues/3065): Fix missing package dependences
-* [#3082](https://github.com/xmake-io/xmake/issues/3082): Fix build.ninja generator
-* [#3092](https://github.com/xmake-io/xmake/issues/3092): Fix xrepo add-repo error handing
-* [#3013](https://github.com/xmake-io/xmake/issues/3013): Fix and support windows UNC path
-* [#2902](https://github.com/xmake-io/xmake/issues/2902): Fix file not access by another process occupied
-* [#3074](https://github.com/xmake-io/xmake/issues/3074): Fix CMakelists generator
-* [#3141](https://github.com/xmake-io/xmake/pull/3141): Fix import order on GCC and force it on clang and msvc #3141
-* Fix tools/xmake package build directory
-* [#3159](https://github.com/xmake-io/xmake/issues/3159): Fix compile_commands for CLion
-
-## v2.7.3
-
-### New features
-
-* A new optional configuration syntax. It is LSP friendly, automatically calls target_end() to achieve scope isolation.
-* [#2944](https://github.com/xmake-io/xmake/issues/2944): Add `gnu-rm.binary` and `gnu-rm.static` rules and tests for embed project
-* [#2636](https://github.com/xmake-io/xmake/issues/2636): Support package components
-* Support armasm/armasm64 for msvc
-* [#3023](https://github.com/xmake-io/xmake/pull/3023): Add support for debugging with renderdoc
-* [#3022](https://github.com/xmake-io/xmake/issues/3022): Add flags for specific compilers and linkers
-* [#3025](https://github.com/xmake-io/xmake/pull/3025): C++ exception enabled/disabled switch method
-* [#3017](https://github.com/xmake-io/xmake/pull/3017): Support ispc compiler
-
-### Changes
-
-* [#2925](https://github.com/xmake-io/xmake/issues/2925): Improve doxygen plugin
-* [#2948](https://github.com/xmake-io/xmake/issues/2948): Support OpenBSD
-* Add `xmake g --insecure-ssl=y` option to disable ssl certificate when downloading packages
-* [#2971](https://github.com/xmake-io/xmake/pull/2971): Stabilize vs and vsxmake project generation
-* [#3000](https://github.com/xmake-io/xmake/issues/3000): Incremental compilation support for modules
-* [#3016](https://github.com/xmake-io/xmake/pull/3016): Improve clang/msvc to better support std modules
-
-### Bugs fixed
-
-* [#2949](https://github.com/xmake-io/xmake/issues/2949): Fix vs group
-* [#2952](https://github.com/xmake-io/xmake/issues/2952): Fix armlink for long args
-* [#2954](https://github.com/xmake-io/xmake/issues/2954): Fix c++ module partitions path issue
-* [#3033](https://github.com/xmake-io/xmake/issues/3033): Detect circular modules dependency
-
-## v2.7.2
-
-### New features
-
-* [#2140](https://github.com/xmake-io/xmake/issues/2140): Support Windows Arm64
-* [#2719](https://github.com/xmake-io/xmake/issues/2719): Add `package.librarydeps.strict_compatibility` to strict compatibility for package linkdeps
-* [#2810](https://github.com/xmake-io/xmake/pull/2810): Support os.execv to run shell script file
-* [#2817](https://github.com/xmake-io/xmake/pull/2817): Improve rule to support dependence order
-* [#2824](https://github.com/xmake-io/xmake/pull/2824): Pass cross-file to meson.install and trybuild
-* [#2856](https://github.com/xmake-io/xmake/pull/2856): Improve to debug package using the debug source directory
-* [#2859](https://github.com/xmake-io/xmake/issues/2859): Improve trybuild to build 3rd source library using xmake-repo scripts
-* [#2879](https://github.com/xmake-io/xmake/issues/2879): Support for dynamic creation and injection of rules and targets in script scope
-* [#2374](https://github.com/xmake-io/xmake/issues/2374): Allow xmake package to embed rules and scripts
-* Add clang-cl toolchain
-
-### Changes
-
-* [#2745](https://github.com/xmake-io/xmake/pull/2745): Improve os.cp to support symlink
-* [#2773](https://github.com/xmake-io/xmake/pull/2773): Improve vcpkg packages to support freebsd
-* [#2778](https://github.com/xmake-io/xmake/pull/2778): Improve Improve xrepo.env for target
-* [#2783](https://github.com/xmake-io/xmake/issues/2783): Add digest algorithm option for wdk signtool
-* [#2787](https://github.com/xmake-io/xmake/pull/2787): Improve json to support empty array
-* [#2782](https://github.com/xmake-io/xmake/pull/2782): Improve to find matlab and runtime
-* [#2793](https://github.com/xmake-io/xmake/issues/2793): Improve mconfdialog
-* [#2804](https://github.com/xmake-io/xmake/issues/2804): Support macOS arm64/x86_64 cross-compilation for installing packages
-* [#2809](https://github.com/xmake-io/xmake/issues/2809): Improve cl optimization option
-* Improve trybuild for meson/cmake/autoconf
-* [#2846](https://github.com/xmake-io/xmake/discussions/2846): Improve to generate config files
-* [#2866](https://github.com/xmake-io/xmake/issues/2866): Better control over the order of execution of rules
-
-### Bugs fixed
-
-* [#2740](https://github.com/xmake-io/xmake/issues/2740): Fix build c++ modules stuck and slower for msvc
-* [#2875](https://github.com/xmake-io/xmake/issues/2875): Fix build linux driver error
-* [#2885](https://github.com/xmake-io/xmake/issues/2885): Fix pch not found with msvc/ccache
-
-## v2.7.1
-
-### New features
-
-* [#2555](https://github.com/xmake-io/xmake/issues/2555): Add fwatcher module and `xmake watch` plugin command
-* Add `xmake service --pull 'build/**' outputdir` to pull the given files in remote server
-* [#2641](https://github.com/xmake-io/xmake/pull/2641): Improve C++20 modules, support headerunits and project generators
-* [#2679](https://github.com/xmake-io/xmake/issues/2679): Support Mac Catalyst
-
-### Changes
-
-* [#2576](https://github.com/xmake-io/xmake/issues/2576): More flexible package fetching from cmake
-* [#2577](https://github.com/xmake-io/xmake/issues/2577): Improve add_headerfiles(), add `{install = false}` support
-* [#2603](https://github.com/xmake-io/xmake/issues/2603): Disable `-fdirectives-only` for ccache by default
-* [#2580](https://github.com/xmake-io/xmake/issues/2580): Set stdout to line buffering
-* [#2571](https://github.com/xmake-io/xmake/issues/2571): Improve task scheduling for parallel and distributed compilation based on memory/cpu usage
-* [#2410](https://github.com/xmake-io/xmake/issues/2410): Improve cmakelists generator
-* [#2690](https://github.com/xmake-io/xmake/issues/2690): Improve to pass toolchains to packages
-* [#2686](https://github.com/xmake-io/xmake/issues/2686): Support for incremental compilation and parse header file deps for keil/armcc/armclang
-* [#2562](https://github.com/xmake-io/xmake/issues/2562): Improve include deps for rc.exe
-* Improve the default parallel building jobs number
-
-### Bugs fixed
-
-* [#2614](https://github.com/xmake-io/xmake/issues/2614): Fix building submodules2 tests for msvc
-* [#2620](https://github.com/xmake-io/xmake/issues/2620): Fix build cache for incremental compilation
-* [#2177](https://github.com/xmake-io/xmake/issues/2177): Fix python.library segmentation fault for macosx
-* [#2708](https://github.com/xmake-io/xmake/issues/2708): Fix link error for mode.coverage rule
-* Fix rpath for macos/iphoneos frameworks and application
-
-## v2.6.9
-
-### New features
-
-* [#2474](https://github.com/xmake-io/xmake/issues/2474): Add icx and dpcpp toolchains
-* [#2523](https://github.com/xmake-io/xmake/issues/2523): Improve LTO support
-* [#2527](https://github.com/xmake-io/xmake/issues/2527): Add set_runargs api
-
-### Changes
-
-* Improve tools.cmake to support wasm
-* [#2491](https://github.com/xmake-io/xmake/issues/2491): Fallback to local compiler/cache from remote if server is unreachable
-* [#2514](https://github.com/xmake-io/xmake/issues/2514): Disable Unity Build for project generator
-* [#2473](https://github.com/xmake-io/xmake/issues/2473): Improve apt::find_package to find it from pc files
-* [#2512](https://github.com/xmake-io/xmake/issues/2512): Improve remote service to support timeout configuration
-
-### Bugs fixed
-
-* [#2488](https://github.com/xmake-io/xmake/issues/2488): Fix remote compilation from windows to linux
-* [#2504](https://github.com/xmake-io/xmake/issues/2504): Fix remote build bug on msys2/cygwin
-* [#2525](https://github.com/xmake-io/xmake/issues/2525): Fix install package deps and stuck
-* [#2557](https://github.com/xmake-io/xmake/issues/2557): Fix cmake.find_package links bug
-* Fix cache-induced path conflicts in preprocessed files
-
-## v2.6.8
-
-### New features
-
-* [#2447](https://github.com/xmake-io/xmake/pull/2447): Add qt.qmlplugin rule and support of qmltypesregistrar
-* [#2446](https://github.com/xmake-io/xmake/issues/2446): Support target group for `xmake install`
-* [#2469](https://github.com/xmake-io/xmake/issues/2469): Generate vcpkg-configuration.json
-
-### Changes
-
-* Add `preprocessor.linemarkers` policy to disable linemarkers to speed up ccache/distcc
-* [#2389](https://github.com/xmake-io/xmake/issues/2389): Improve `xmake run` to parallel running of targets
-* [#2417](https://github.com/xmake-io/xmake/issues/2417): Switch the default value of option/showmenu
-* [#2440](https://github.com/xmake-io/xmake/pull/2440): Improve package installation error messages
-* [#2438](https://github.com/xmake-io/xmake/pull/2438): Make sure the solution and project file unchanged by sorting those tables
-* [#2434](https://github.com/xmake-io/xmake/issues/2434): Improve plugins manager, allow to handle multiples plugin repositories
-* [#2421](https://github.com/xmake-io/xmake/issues/2421): Improve config option menu
-* [#2425](https://github.com/xmake-io/xmake/issues/2425): Add `preprocessor.gcc.directives_only` policy
-* [#2455](https://github.com/xmake-io/xmake/issues/2455): Improve optimize options for emcc
-* [#2467](https://github.com/xmake-io/xmake/issues/2467): Add compile fallback for msvc/ccache
-* [#2452](https://github.com/xmake-io/xmake/issues/2452): Add build.warning policy
-
-### Bugs Fixed
-
-* [#2435](https://github.com/xmake-io/xmake/pull/2435): fix the search bug when the package name has an extension name.
-* [#2445](https://github.com/xmake-io/xmake/issues/2445): Fix ccache bug for msvc
-* [#2452](https://github.com/xmake-io/xmake/issues/2452): Fix warnings output for ccache
-
-## v2.6.7
-
-### New features
-
-* [#2318](https://github.com/xmake-io/xmake/issues/2318): Add `xmake f --policies=` config argument to modify project policies
-
-### Changes
-
-* fallback to source code build if the precompiled package is error
-* [#2387](https://github.com/xmake-io/xmake/issues/2387): Improve pkgconfig and find_package
-* Add `build.ccache` policy
-
-### Bugs fixed
-
-* [#2382](https://github.com/xmake-io/xmake/issues/2382): Fix headeronly package configs
-* [#2388](https://github.com/xmake-io/xmake/issues/2388): Fix path bug
-* [#2385](https://github.com/xmake-io/xmake/issues/2385): Fix cmake/find_package
-* [#2395](https://github.com/xmake-io/xmake/issues/2395): Fix c++modules
-* Fix find_qt bug
-
-## v2.6.6
-
-### New features
-
-* [#2327](https://github.com/xmake-io/xmake/issues/2327): Support nvc/nvc++/nvfortran in nvidia-hpc-sdk
-* Add path instance interfaces
-* [#2344](https://github.com/xmake-io/xmake/pull/2344): Add lz4 compress module
-* [#2349](https://github.com/xmake-io/xmake/pull/2349): Add keil/c51 project support
-* [#274](https://github.com/xmake-io/xmake/issues/274): Distributed compilation support
-* Use builtin local cache instead of ccache
-
-### Changes
-
-* [#2309](https://github.com/xmake-io/xmake/issues/2309): Support user authorization for remote compilation
-* Improve remote compilation to support lz4 compression
-
-### Bugs fixed
-
-* Fix lua stack when select package versions
-
-## v2.6.5
-
-### New features
-
-* [#2138](https://github.com/xmake-io/xmake/issues/2138): Support template package
-* [#2185](https://github.com/xmake-io/xmake/issues/2185): Add `--appledev=simulator` to improve apple simulator support
-* [#2227](https://github.com/xmake-io/xmake/issues/2227): Improve cargo package with Cargo.toml file
-* Improve `add_requires` to support git commit as version
-* [#622](https://github.com/xmake-io/xmake/issues/622): Support remote compilation
-* [#2282](https://github.com/xmake-io/xmake/issues/2282): Add `add_filegroups` to support file group for vs/vsxmake/cmake generator
-
-### Changes
-
-* [#2137](https://github.com/xmake-io/xmake/pull/2137): Improve path module
-* Reduce 50% xmake binary size on macOS
-* Improve tools/autoconf,cmake to support toolchain switching.
-* [#2221](https://github.com/xmake-io/xmake/pull/2221): Improve registry api to support unicode
-* [#2225](https://github.com/xmake-io/xmake/issues/2225): Support to parse import dependencies for protobuf
-* [#2265](https://github.com/xmake-io/xmake/issues/2265): Sort CMakeLists.txt
-* Speed up `os.files`
-
-### Bugs fixed
-
-* [#2233](https://github.com/xmake-io/xmake/issues/2233): Fix c++ modules deps
-
-## v2.6.4
-
-### New features
-
-* [#2011](https://github.com/xmake-io/xmake/issues/2011): Support to inherit base package
-* Support to build and run xmake on sparc, alpha, powerpc, s390x and sh4
-* Add on_download for package()
-* [#2021](https://github.com/xmake-io/xmake/issues/2021): Support Swift for linux and windows
-* [#2024](https://github.com/xmake-io/xmake/issues/2024): Add asn1c support
-* [#2031](https://github.com/xmake-io/xmake/issues/2031): Support linker scripts and version scripts for add_files
-* [#2033](https://github.com/xmake-io/xmake/issues/2033): Catch ctrl-c to get current backtrace for debugging stuck
-* [#2059](https://github.com/xmake-io/xmake/pull/2059): Add `xmake update --integrate` to integrate for shell
-* [#2070](https://github.com/xmake-io/xmake/issues/2070): Add built-in xrepo environments
-* [#2117](https://github.com/xmake-io/xmake/pull/2117): Support to pass toolchains to package for other platforms
-* [#2121](https://github.com/xmake-io/xmake/issues/2121): Support to export the given symbols list
-
-### Changes
-
-* [#2036](https://github.com/xmake-io/xmake/issues/2036): Improve xrepo to install packages from configuration file, e.g. `xrepo install xxx.lua`
-* [#2039](https://github.com/xmake-io/xmake/issues/2039): Improve filter directory for vs generator
-* [#2025](https://github.com/xmake-io/xmake/issues/2025): Support phony and headeronly target for vs generator
-* Improve to find vstudio and codesign speed
-* [#2077](https://github.com/xmake-io/xmake/issues/2077): Improve vs project generator to support cuda
-
-### Bugs fixed
-
-* [#2005](https://github.com/xmake-io/xmake/issues/2005): Fix path.extension
-* [#2008](https://github.com/xmake-io/xmake/issues/2008): Fix windows manifest
-* [#2016](https://github.com/xmake-io/xmake/issues/2016): Fix object filename confict for vs project generator
-
-## v2.6.3
-
-### New features
-
-* [#1298](https://github.com/xmake-io/xmake/issues/1928): Support vcpkg manifest mode and select version for package/install
-* [#1896](https://github.com/xmake-io/xmake/issues/1896): Add `python.library` rule to build pybind modules
-* [#1939](https://github.com/xmake-io/xmake/issues/1939): Add `remove_files`, `remove_headerfiles` and mark `del_files` as deprecated
-* Made on_config as the official api for rule/target
-* Add riscv32/64 support
-* [#1970](https://github.com/xmake-io/xmake/issues/1970): Add CMake wrapper for Xrepo C and C++ package manager.
-* Add builtin github mirror pac files, `xmake g --proxy_pac=github_mirror.lua`
-
-### Changes
-
-* [#1923](https://github.com/xmake-io/xmake/issues/1923): Improve to build linux driver, support set custom linux-headers path
-* [#1962](https://github.com/xmake-io/xmake/issues/1962): Improve armclang toolchain to support to build asm
-* [#1959](https://github.com/xmake-io/xmake/pull/1959): Improve vstudio project generator
-* [#1969](https://github.com/xmake-io/xmake/issues/1969): Add default option description
-
-### Bugs fixed
-
-* [#1875](https://github.com/xmake-io/xmake/issues/1875): Fix deploy android qt apk issue
-* [#1973](https://github.com/xmake-io/xmake/issues/1973): Fix merge static archive
-
-## v2.6.2
-
-### New features
-
-* [#1902](https://github.com/xmake-io/xmake/issues/1902): Support to build linux kernel driver modules
-* [#1913](https://github.com/xmake-io/xmake/issues/1913): Build and run targets with given group pattern
-
-### Change
-
-* [#1872](https://github.com/xmake-io/xmake/issues/1872): Escape characters for set_configvar
-* [#1888](https://github.com/xmake-io/xmake/issues/1888): Improve windows installer to avoid remove other files
-* [#1895](https://github.com/xmake-io/xmake/issues/1895): Improve `plugin.vsxmake.autoupdate` rule
-* [#1893](https://github.com/xmake-io/xmake/issues/1893): Improve to detect icc and ifort toolchains
-* [#1905](https://github.com/xmake-io/xmake/pull/1905): Add support of external headers without experimental for msvc
-* [#1904](https://github.com/xmake-io/xmake/pull/1904): Improve vs201x generator
-* Add `XMAKE_THEME` envirnoment variable to switch theme
-* [#1907](https://github.com/xmake-io/xmake/issues/1907): Add `-f/--force` to force to create project in a non-empty directory
-* [#1917](https://github.com/xmake-io/xmake/pull/1917): Improve to find_package and configurations
-
-### Bugs fixed
-
-* [#1885](https://github.com/xmake-io/xmake/issues/1885): Fix package:fetch_linkdeps
-* [#1903](https://github.com/xmake-io/xmake/issues/1903): Fix package link order
-
-## v2.6.1
-
-### New features
-
-* [#1799](https://github.com/xmake-io/xmake/issues/1799): Support mixed rust & c++ target and cargo dependences
-* Add `utils.glsl2spv` rules to compile *.vert/*.frag shader files to spirv file and binary c header file
-
-### Changes
-
-* Switch to Lua5.4 runtime by default
-* [#1776](https://github.com/xmake-io/xmake/issues/1776): Improve system::find_package, support to find package from envs
-* [#1786](https://github.com/xmake-io/xmake/issues/1786): Improve apt:find_package, support to find alias package
-* [#1819](https://github.com/xmake-io/xmake/issues/1819): Add precompiled header to cmake generator
-* Improve C++20 module to support std libraries for msvc
-* [#1792](https://github.com/xmake-io/xmake/issues/1792): Add custom command in vs project generator
-* [#1835](https://github.com/xmake-io/xmake/issues/1835): Improve MDK program supports and add `set_runtimes("microlib")`
-* [#1858](https://github.com/xmake-io/xmake/issues/1858): Improve to build c++20 modules with libraries
-* Add $XMAKE_BINARY_REPO and $XMAKE_MAIN_REPO repositories envs
-* [#1865](https://github.com/xmake-io/xmake/issues/1865): Improve openmp projects
-* [#1845](https://github.com/xmake-io/xmake/issues/1845): Install pdb files for static library
-
-### Bugs Fixed
-
-* Fix semver to parse build string with zero prefix
-* [#50](https://github.com/libbpf/libbpf-bootstrap/issues/50): Fix rule and build bpf program errors
-* [#1610](https://github.com/xmake-io/xmake/issues/1610): Fix `xmake f --menu` not responding in vscode and support ConPTY terminal virtkeys
-
-## v2.5.9
-
-### New features
-
-* [#1736](https://github.com/xmake-io/xmake/issues/1736): Support wasi-sdk toolchain
-* Support Lua 5.4 runtime
-* Add gcc-8, gcc-9, gcc-10, gcc-11 toolchains
-* [#1623](https://github.com/xmake-io/xmake/issues/1632): Support find_package from cmake
-* [#1747](https://github.com/xmake-io/xmake/issues/1747): Add `set_kind("headeronly")` for target to install files for headeronly library
-* [#1019](https://github.com/xmake-io/xmake/issues/1019): Support Unity build
-* [#1438](https://github.com/xmake-io/xmake/issues/1438): Support code amalgamation, `xmake l cli.amalgamate`
-* [#1765](https://github.com/xmake-io/xmake/issues/1756): Support nim language
-* [#1762](https://github.com/xmake-io/xmake/issues/1762): Manage and switch the given package envs for `xrepo env`
-* [#1767](https://github.com/xmake-io/xmake/issues/1767): Support Circle compiler
-* [#1753](https://github.com/xmake-io/xmake/issues/1753): Support armcc/armclang toolchains for Keil/MDK
-* [#1774](https://github.com/xmake-io/xmake/issues/1774): Add table.contains api
-* [#1735](https://github.com/xmake-io/xmake/issues/1735): Add custom command in cmake generator
-
-### Changes
-
-* [#1528](https://github.com/xmake-io/xmake/issues/1528): Check c++17/20 features
-* [#1729](https://github.com/xmake-io/xmake/issues/1729): Improve C++20 modules for clang/gcc/msvc, support inter-module dependency compilation and parallel optimization
-* [#1779](https://github.com/xmake-io/xmake/issues/1779): Remove builtin `-Gd` for ml.exe/x86
-* [#1781](https://github.com/xmake-io/xmake/issues/1781): Improve get.sh installation script to support nixos
-
-## v2.5.8
-
-### New features
-
-* [#388](https://github.com/xmake-io/xmake/issues/388): Pascal Language Support
-* [#1682](https://github.com/xmake-io/xmake/issues/1682): Add optional lua5.3 backend instead of luajit to provide better compatibility
-* [#1622](https://github.com/xmake-io/xmake/issues/1622): Support Swig
-* [#1714](https://github.com/xmake-io/xmake/issues/1714): Support build local embed cmake projects
-* [#1715](https://github.com/xmake-io/xmake/issues/1715): Support to detect compiler language standards as features and add `check_macros`
-* Support Loongarch
-
-### Change
-
-* [#1618](https://github.com/xmake-io/xmake/issues/1618): Improve vala to support to generate libraries and bindings
-* Improve Qt rules to support Qt 4.x
-* Improve `set_symbols("debug")` to generate pdb file for clang on windows
-* [#1638](https://github.com/xmake-io/xmake/issues/1638): Improve to merge static library
-* Improve on_load/after_load to support to add target deps dynamically
-* [#1675](https://github.com/xmake-io/xmake/pull/1675): Rename dynamic and import library suffix for mingw
-* [#1694](https://github.com/xmake-io/xmake/issues/1694): Support to define a variable without quotes for configuration files
-* Support Android NDK r23
-* Add `c++latest` and `clatest` for `set_languages`
-* [#1720](https://github.com/xmake-io/xmake/issues/1720): Add `save_scope` and `restore_scope` to fix `check_xxx` apis
-* [#1726](https://github.com/xmake-io/xmake/issues/1726): Improve compile_commands generator to support nvcc
-
-### Bugs fixed
-
-* [#1671](https://github.com/xmake-io/xmake/issues/1671): Fix incorrect absolute path after installing precompiled packages
-* [#1689](https://github.com/xmake-io/xmake/issues/1689): Fix unicode chars bug for vsxmake
-
-## v2.5.7
-
-### New features
-
-* [#1534](https://github.com/xmake-io/xmake/issues/1534): Support to compile Vala lanuage project
-* [#1544](https://github.com/xmake-io/xmake/issues/1544): Add utils.bin2c rule to generate header from binary file
-* [#1547](https://github.com/xmake-io/xmake/issues/1547): Support to run and get output of c/c++ snippets in option
-* [#1567](https://github.com/xmake-io/xmake/issues/1567): Package "lock file" support to freeze dependencies
-* [#1597](https://github.com/xmake-io/xmake/issues/1597): Support to compile *.metal files to generate *.metalib and improve xcode.application rule
-
-### Change
-
-* [#1540](https://github.com/xmake-io/xmake/issues/1540): Better support for compilation of automatically generated code
-* [#1578](https://github.com/xmake-io/xmake/issues/1578): Improve add_repositories to support relative path better
-* [#1582](https://github.com/xmake-io/xmake/issues/1582): Improve installation and os.cp to reserve symlink
-
-### Bugs fixed
-
-* [#1531](https://github.com/xmake-io/xmake/issues/1531): Fix error info when loading targets failed
-
-## v2.5.6
-
-### New features
-
-* [#1483](https://github.com/xmake-io/xmake/issues/1483): Add `os.joinenvs()` and improve package tools envirnoments
-* [#1523](https://github.com/xmake-io/xmake/issues/1523): Add `set_allowedmodes`, `set_allowedplats` and `set_allowedarchs`
-* [#1523](https://github.com/xmake-io/xmake/issues/1523): Add `set_defaultmode`, `set_defaultplat` and `set_defaultarchs`
-
-### Change
-
-* Improve vs/vsxmake project generator to support vs2022
-* [#1513](https://github.com/xmake-io/xmake/issues/1513): Improve precompiled binary package compatibility on windows/msvc
-* Improve to find vcpkg root directory on windows
-* Improve to support Qt6
-
-### Bugs fixed
-
-* [#489](https://github.com/xmake-io/xmake-repo/pull/489): Fix run os.execv with too long envirnoment value on windows
-
-## v2.5.5
-
-### New features
-
-* [#1421](https://github.com/xmake-io/xmake/issues/1421): Add prefix, suffix and extension options for target names
-* [#1422](https://github.com/xmake-io/xmake/issues/1422): Support search packages from vcpkg, conan
-* [#1424](https://github.com/xmake-io/xmake/issues/1424): Set binary as default target kind
-* [#1140](https://github.com/xmake-io/xmake/issues/1140): Add a way to ask xmake to try to download dependencies from a certain package manager
-* [#1339](https://github.com/xmake-io/xmake/issues/1339): Improve `xmake package` to generate new local/remote packages
-* Add `appletvos` platform support for AppleTV, `xmake f -p appletvos`
-* [#1437](https://github.com/xmake-io/xmake/issues/1437): Add headeronly library type for package to ignore `vs_runtime`
-* [#1351](https://github.com/xmake-io/xmake/issues/1351): Support export/import current configs
-* [#1454](https://github.com/xmake-io/xmake/issues/1454): Support to download and install precompiled image packages from xmake-mirror
-
-### Change
-
-* [#1425](https://github.com/xmake-io/xmake/issues/1425): Improve tools/meson to load msvc envirnoments
-* [#1442](https://github.com/xmake-io/xmake/issues/1442): Support to clone package resources from git url
-* [#1389](https://github.com/xmake-io/xmake/issues/1389): Support to add toolchain envs to `xrepo env`
-* [#1453](https://github.com/xmake-io/xmake/issues/1453): Support to export protobuf includedirs
-* Support vs2022
-
-### Bugs fixed
-
-* [#1413](https://github.com/xmake-io/xmake/issues/1413): Fix hangs on fetching packages
-* [#1420](https://github.com/xmake-io/xmake/issues/1420): Fix config and packages cache
-* [#1445](https://github.com/xmake-io/xmake/issues/1445): Fix WDK driver sign error
-* [#1465](https://github.com/xmake-io/xmake/issues/1465): Fix missing link directory
-
-## v2.5.4
-
-### New features
-
-* [#1323](https://github.com/xmake-io/xmake/issues/1323): Support find and install package from `apt`, `add_requires("apt::zlib1g-dev")`
-* [#1337](https://github.com/xmake-io/xmake/issues/1337): Add environment vars to change package directories
-* [#1338](https://github.com/xmake-io/xmake/issues/1338): Support import and export installed packages
-* [#1087](https://github.com/xmake-io/xmake/issues/1087): Add `xrepo env shell` and support load envs from `add_requires/xmake.lua`
-* [#1313](https://github.com/xmake-io/xmake/issues/1313): Support private package for `add_requires/add_deps`
-* [#1358](https://github.com/xmake-io/xmake/issues/1358): Support to set mirror url to speedup download package
-* [#1369](https://github.com/xmake-io/xmake/pull/1369): Support arm/arm64 packages for vcpkg, thanks @fallending
-* [#1405](https://github.com/xmake-io/xmake/pull/1405): Add portage package manager support, thanks @Phate6660
-
-### Change
-
-* Improve `find_package` and add `package:find_package` for xmake package
-* Remove deprecated `set_config_h` and `set_config_h_prefix` apis
-* [#1343](https://github.com/xmake-io/xmake/issues/1343): Improve to search local package files
-* [#1347](https://github.com/xmake-io/xmake/issues/1347): Improve to vs_runtime configs for binary package
-* [#1353](https://github.com/xmake-io/xmake/issues/1353): Improve del_files() to speedup matching files
-* [#1349](https://github.com/xmake-io/xmake/issues/1349): Improve `xrepo env shell` to support powershell
-
-### Bugs fixed
-
-* [#1380](https://github.com/xmake-io/xmake/issues/1380): Fix add packages errors
-* [#1381](https://github.com/xmake-io/xmake/issues/1381): Fix add local git source for package
-* [#1391](https://github.com/xmake-io/xmake/issues/1391): Fix cuda/nvcc toolchain
-
-## v2.5.3
-
-### New features
-
-* [#1259](https://github.com/xmake-io/xmake/issues/1259): Support `add_files("*.def")` to export symbols for windows/dll
-* [#1267](https://github.com/xmake-io/xmake/issues/1267): add `find_package("nvtx")`
-* [#1274](https://github.com/xmake-io/xmake/issues/1274): add `platform.linux.bpf` rule to build linux/bpf program
-* [#1280](https://github.com/xmake-io/xmake/issues/1280): Support fetchonly package to improve find_package
-* Support to fetch remote ndk toolchain package
-* [#1268](https://github.com/xmake-io/xmake/issues/1268): Add `utils.install.pkgconfig_importfiles` rule to install `*.pc` import file
-* [#1268](https://github.com/xmake-io/xmake/issues/1268): Add `utils.install.cmake_importfiles` rule to install `*.cmake` import files
-* [#348](https://github.com/xmake-io/xmake-repo/pull/348): Add `platform.longpaths` policy to support git longpaths
-* [#1314](https://github.com/xmake-io/xmake/issues/1314): Support to install and use conda packages
-* [#1120](https://github.com/xmake-io/xmake/issues/1120): Add `core.base.cpu` module and improve `os.cpuinfo()`
-* [#1325](https://github.com/xmake-io/xmake/issues/1325): Add builtin git variables for `add_configfiles`
-
-### Change
-
-* [#1275](https://github.com/xmake-io/xmake/issues/1275): Support conditionnal targets for vsxmake plugin
-* [#1290](https://github.com/xmake-io/xmake/pull/1290): Improve android ndk to support >= r22
-* [#1311](https://github.com/xmake-io/xmake/issues/1311): Add packages lib folder to PATH for vsxmake project
-
-### Bugs fixed
-
-* [#1266](https://github.com/xmake-io/xmake/issues/1266): Fix relative repo path in `add_repositories`
-* [#1288](https://github.com/xmake-io/xmake/issues/1288): Fix vsxmake generator with option configs
-
-## v2.5.2
-
-### New features
-
-* [#955](https://github.com/xmake-io/xmake/issues/955#issuecomment-766481512): Support `zig cc` and `zig c++` as c/c++ compiler
-* [#955](https://github.com/xmake-io/xmake/issues/955#issuecomment-768193083): Support zig cross-compilation
-* [#1177](https://github.com/xmake-io/xmake/issues/1177): Improve to detect terminal and color codes
-* [#1216](https://github.com/xmake-io/xmake/issues/1216): Pass custom configuration scripts to xrepo
-* Add linuxos builtin module to get linux system information
-* [#1217](https://github.com/xmake-io/xmake/issues/1217): Support to fetch remote toolchain package when building project
-* [#1123](https://github.com/xmake-io/xmake/issues/1123): Add `rule("utils.symbols.export_all")` to export all symbols for windows/dll
-* [#1181](https://github.com/xmake-io/xmake/issues/1181): Add `utils.platform.gnu2mslib(mslib, gnulib)` module api to convert mingw/xxx.dll.a to msvc xxx.lib
-* [#1246](https://github.com/xmake-io/xmake/issues/1246): Improve rules and generators to support commands list
-* [#1239](https://github.com/xmake-io/xmake/issues/1239): Add `add_extsources` to improve find external packages
-* [#1241](https://github.com/xmake-io/xmake/issues/1241): Support add .manifest files for windows program
-* Support to use `xrepo remove --all` to remove all packages
-* [#1254](https://github.com/xmake-io/xmake/issues/1254): Support to export packages to parent target
-
-### Change
-
-* [#1226](https://github.com/xmake-io/xmake/issues/1226): Add missing qt include directories
-* [#1183](https://github.com/xmake-io/xmake/issues/1183): Improve c++ lanuages to support Qt6
-* [#1237](https://github.com/xmake-io/xmake/issues/1237): Add qt.ui files for vsxmake plugin
-* Improve vs/vsxmake plugins to support precompiled header and intellisense
-* [#1090](https://github.com/xmake-io/xmake/issues/1090): Simplify integration of custom code generators
-* [#1065](https://github.com/xmake-io/xmake/issues/1065): Improve protobuf rule to support compile_commands generators
-* [#1249](https://github.com/xmake-io/xmake/issues/1249): Improve vs/vsxmake generator to support startproject
-* [#605](https://github.com/xmake-io/xmake/issues/605): Improve to link orders for add_deps/add_packages
-* Remove deprecated `add_defines_h_if_ok` and `add_defines_h` apis for option
-
-### Bugs fixed
-
-* [#1219](https://github.com/xmake-io/xmake/issues/1219): Fix version check and update
-* [#1235](https://github.com/xmake-io/xmake/issues/1235): Fix include directories with spaces
-
-## v2.5.1
-
-### New features
-
-* [#1035](https://github.com/xmake-io/xmake/issues/1035): The graphics configuration menu fully supports mouse events, and support scroll bar
-* [#1098](https://github.com/xmake-io/xmake/issues/1098): Support stdin for os.execv
-* [#1079](https://github.com/xmake-io/xmake/issues/1079): Add autoupdate plugin rule for vsxmake, `add_rules("plugin.vsxmake.autoupdate")`
-* Add `xmake f --vs_runtime='MT'` and `set_runtimes("MT")` to set vs runtime for targets and packages
-* [#1032](https://github.com/xmake-io/xmake/issues/1032): Support to enum registry keys and values
-* [#1026](https://github.com/xmake-io/xmake/issues/1026): Support group for vs/vsxmake project
-* [#1178](https://github.com/xmake-io/xmake/issues/1178): Add `add_requireconfs()` api to rewrite configs of depend packages
-* [#1043](https://github.com/xmake-io/xmake/issues/1043): Add `luarocks.module` rule for luarocks-build-xmake
-* [#1190](https://github.com/xmake-io/xmake/issues/1190): Support for Apple Silicon (macOS ARM)
-* [#1145](https://github.com/xmake-io/xmake/pull/1145): Support Qt deploy for Windows, thanks @SirLynix
-
-### Change
-
-* [#1072](https://github.com/xmake-io/xmake/issues/1072): Fix and improve to parse cl deps
-* Support utf8 for ui modules and `xmake f --menu`
-* Improve to support zig on macOS
-* [#1135](https://github.com/xmake-io/xmake/issues/1135): Improve multi-toolchain and multi-platforms for targets
-* [#1153](https://github.com/xmake-io/xmake/issues/1153): Improve llvm toolchain to support sysroot on macOS
-* [#1071](https://github.com/xmake-io/xmake/issues/1071): Improve to generate vs/vsxmake project to support for remote packages
-* Improve vs/vsxmake project plugin to support global `set_arch()` setting
-* [#1164](https://github.com/xmake-io/xmake/issues/1164): Improve to launch console programs for vsxmake project
-* [#1179](https://github.com/xmake-io/xmake/issues/1179): Improve llvm toolchain and add isysroot
-
-### Bugs fixed
-
-* [#1091](https://github.com/xmake-io/xmake/issues/1091): Fix incorrect ordering of inherited library dependencies
-* [#1105](https://github.com/xmake-io/xmake/issues/1105): Fix c++ language intellisense for vsxmake
-* [#1132](https://github.com/xmake-io/xmake/issues/1132): Fix TrimEnd bug for vsxmake
-* [#1142](https://github.com/xmake-io/xmake/issues/1142): Fix git not found when installing packages
-* Fix macos.version bug for macOS Big Sur
-* [#1084](https://github.com/xmake-io/xmake/issues/1084): Fix `add_defines()` bug (contain spaces)
-* [#1195](https://github.com/xmake-io/xmake/pull/1195): Fix unicode problem for vs and improve find_vstudio/os.exec
-
-
-## v2.3.9
-
-### New features
-
-* Add new [xrepo](https://github.com/xmake-io/xrepo) command to manage C/C++ packages
-* Support for installing packages of cross-compilation
-* Add musl.cc toolchains
-* [#1009](https://github.com/xmake-io/xmake/issues/1009): Support select and install any version package, e.g. `add_requires("libcurl 7.73.0", {verify = false})`
-* [#1016](https://github.com/xmake-io/xmake/issues/1016): Add license checking for target/packages
-* [#1017](https://github.com/xmake-io/xmake/issues/1017): Support external/system include directories `add_sysincludedirs` for package and toolchains
-* [#1020](https://github.com/xmake-io/xmake/issues/1020): Support to find and install pacman package on archlinux and msys2
-* Support mouse for `xmake f --menu`
-
-### Change
-
-* [#997](https://github.com/xmake-io/xmake/issues/997): Support to set std lanuages for `xmake project -k cmake`
-* [#998](https://github.com/xmake-io/xmake/issues/998): Support to install vcpkg packages with windows-static-md
-* [#996](https://github.com/xmake-io/xmake/issues/996): Improve to find vcpkg directory
-* [#1008](https://github.com/xmake-io/xmake/issues/1008): Improve cross toolchains
-* [#1030](https://github.com/xmake-io/xmake/issues/1030): Improve xcode.framework and xcode.application rules
-* [#1051](https://github.com/xmake-io/xmake/issues/1051): Add `edit` and `embed` to `set_symbols()` only for msvc
-* [#1062](https://github.com/xmake-io/xmake/issues/1062): Improve `xmake project -k vs` plugin.
-
-## v2.3.8
-
-### New features
-
-* [#955](https://github.com/xmake-io/xmake/issues/955): Add zig project templates
-* [#956](https://github.com/xmake-io/xmake/issues/956): Add wasm platform and support Qt/Wasm SDK
-* Upgrade luajit vm and support for runing on mips64 device
-* [#972](https://github.com/xmake-io/xmake/issues/972): Add `depend.on_changed()` api to simplify adding dependent files
-* [#981](https://github.com/xmake-io/xmake/issues/981): Add `set_fpmodels()` for math optimization mode
-* [#980](https://github.com/xmake-io/xmake/issues/980): Support Intel C/C++ and Fortran Compiler
-* [#986](https://github.com/xmake-io/xmake/issues/986): Support for `c11` and `c17` for MSVC Version 16.8 and Above
-* [#979](https://github.com/xmake-io/xmake/issues/979): Add Abstraction for OpenMP. `add_rules("c++.openmp")`
-
-### Change
-
-* [#958](https://github.com/xmake-io/xmake/issues/958): Improve mingw platform to support llvm-mingw toolchain
-* Improve `add_requires("zlib~xxx")` to support for installing multi-packages at same time
-* [#977](https://github.com/xmake-io/xmake/issues/977): Improve find_mingw for windows
-* [#978](https://github.com/xmake-io/xmake/issues/978): Improve toolchain flags order
-* Improve Xcode toolchain to support for macOS/arm64
-
-### Bugs fixed
-
-* [#951](https://github.com/xmake-io/xmake/issues/951): Fix emcc support for windows
-* [#992](https://github.com/xmake-io/xmake/issues/992): Fix filelock bug
-
-## v2.3.7
-
-### New features
-
-* [#2941](https://github.com/microsoft/winget-pkgs/pull/2941): Add support for winget
-* Add xmake-tinyc installer without msvc compiler for windows
-* Add tinyc compiler toolchain
-* Add emcc compiler toolchain (emscripten) to compiling to asm.js and WebAssembly
-* [#947](https://github.com/xmake-io/xmake/issues/947): Add `xmake g --network=private` to enable the private network
-
-### Change
-
-* [#907](https://github.com/xmake-io/xmake/issues/907): Improve to the linker optimization for msvc
-* Improve to detect qt sdk environment
-* [#918](https://github.com/xmake-io/xmake/pull/918): Improve to support cuda11 toolchains
-* Improve Qt support for ubuntu/apt
-* Improve CMake project generator
-* [#931](https://github.com/xmake-io/xmake/issues/931): Support to export packages with all dependences
-* [#930](https://github.com/xmake-io/xmake/issues/930): Support to download package without version list directly 
-* [#927](https://github.com/xmake-io/xmake/issues/927): Support to switch arm/thumb mode for android ndk
-* Improve trybuild/cmake to support android/mingw/iphoneos/watchos toolchains
-
-### Bugs fixed
-
-* [#903](https://github.com/xmake-io/xmake/issues/903): Fix install vcpkg packages fails
-* [#912](https://github.com/xmake-io/xmake/issues/912): Fix the custom toolchain
-* [#914](https://github.com/xmake-io/xmake/issues/914): Fix bad light userdata pointer for lua on some aarch64 devices
-
-## v2.3.6
-
-### New features
-
-* Add `xmake project -k xcode` generator (use cmake)
-* [#870](https://github.com/xmake-io/xmake/issues/870): Support gfortran compiler
-* [#887](https://github.com/xmake-io/xmake/pull/887): Support zig compiler
-* [#893](https://github.com/xmake-io/xmake/issues/893): Add json module
-* [#898](https://github.com/xmake-io/xmake/issues/898): Support cross-compilation for golang
-* [#275](https://github.com/xmake-io/xmake/issues/275): Support go package manager to install go packages
-* [#581](https://github.com/xmake-io/xmake/issues/581): Support dub package manager to install dlang packages
-
-### Change
-
-* [#868](https://github.com/xmake-io/xmake/issues/868): Support new cl.exe dependency report files, `/sourceDependencies xxx.json`
-* [#902](https://github.com/xmake-io/xmake/issues/902): Improve to detect cross-compilation toolchain
-
-## v2.3.5
-
-### New features
-
-* Add `xmake show -l envs` to show all builtin envirnoment variables
-* [#861](https://github.com/xmake-io/xmake/issues/861): Support search local package file to install remote package
-* [#854](https://github.com/xmake-io/xmake/issues/854): Support global proxy settings for curl, wget and git
-
-### Change
-
-* [#828](https://github.com/xmake-io/xmake/issues/828): Support to import sub-directory files for protobuf rules
-* [#835](https://github.com/xmake-io/xmake/issues/835): Improve mode.minsizerel to add /GL flags for msvc
-* [#828](https://github.com/xmake-io/xmake/issues/828): Support multi-level directories for protobuf/import
-* [#838](https://github.com/xmake-io/xmake/issues/838#issuecomment-643570920): Support to override builtin-rules for `add_files("src/*.c", {rules = {"xx", override = true}})`
-* [#847](https://github.com/xmake-io/xmake/issues/847): Support to parse include deps for rc file
-* Improve msvc tool chain, remove the dependence of global environment variables
-* [#857](https://github.com/xmake-io/xmake/pull/857): Improved `set_toolchains()` when cross-compilation is supported, specific target can be switched to host toolchain and compiled at the same time
-
-### Bugs fixed
-
-* Fix the progress bug for theme
-* [#829](https://github.com/xmake-io/xmake/issues/829): Fix invalid sysroot path for macOS
-* [#832](https://github.com/xmake-io/xmake/issues/832): Fix find_packages bug for the debug mode
-
-## v2.3.4
-
-### New features
-
-* [#630](https://github.com/xmake-io/xmake/issues/630): Support *BSD system, e.g. FreeBSD, ..
-* Add wprint builtin api to show warnings
-* [#784](https://github.com/xmake-io/xmake/issues/784): Add `set_policy()` to set and modify some builtin policies
-* [#780](https://github.com/xmake-io/xmake/issues/780): Add set_toolchains/set_toolsets for target and improve to detect cross-compilation toolchains
-* [#798](https://github.com/xmake-io/xmake/issues/798): Add `xmake show` plugin to show some builtin configuration values and infos
-* [#797](https://github.com/xmake-io/xmake/issues/797): Add ninja theme style, e.g. `xmake g --theme=ninja`
-* [#816](https://github.com/xmake-io/xmake/issues/816): Add mode.releasedbg and mode.minsizerel rules
-* [#819](https://github.com/xmake-io/xmake/issues/819): Support ansi/vt100 terminal control
-
-### Change
-
-* [#771](https://github.com/xmake-io/xmake/issues/771): Check includedirs, linkdirs and frameworkdirs
-* [#774](https://github.com/xmake-io/xmake/issues/774): Support ltui windows resize for `xmake f --menu`
-* [#782](https://github.com/xmake-io/xmake/issues/782): Add check flags failed tips for add_cxflags, ..
-* [#808](https://github.com/xmake-io/xmake/issues/808): Support add_frameworks for cmakelists
-* [#820](https://github.com/xmake-io/xmake/issues/820): Support independent working/build directory
-
-### Bug fixed
-
-* [#786](https://github.com/xmake-io/xmake/issues/786): Fix check header file deps
-* [#810](https://github.com/xmake-io/xmake/issues/810): Fix strip debug bug for linux
-
-## v2.3.3
-
-### New features
-
-* [#727](https://github.com/xmake-io/xmake/issues/727): Strip and generate debug symbols file (.so/.dSYM) for android/ios program
-* [#687](https://github.com/xmake-io/xmake/issues/687): Support to generate objc/bundle program.
-* [#743](https://github.com/xmake-io/xmake/issues/743): Support to generate objc/framework program.
-* Support to compile bundle, framework, mac application and ios application, and all some project templates
-* Support generate ios *.ipa file and codesign
-* Add xmake.cli rule to develop lua program with xmake core engine
-
-### Change
-
-* [#750](https://github.com/xmake-io/xmake/issues/750): Improve qt.widgetapp rule to support private slot
-
-## v2.3.2
-
-### New features
-
-* Add powershell theme for powershell terminal
-* Add `xmake --dry-run -v` to dry run building target and only show verbose build command.
-* [#712](https://github.com/xmake-io/xmake/issues/712): Add sdcc platform and support sdcc compiler
-
-### Change
-
-* [#589](https://github.com/xmake-io/xmake/issues/589): Improve and optimize build speed, supports parallel compilation and linking across targets
-* Improve the ninja/cmake generator
-* [#728](https://github.com/xmake-io/xmake/issues/728): Improve os.cp to support reserve source directory structure
-* [#732](https://github.com/xmake-io/xmake/issues/732): Improve find_package to support `homebrew/cmake` pacakges
-* [#695](https://github.com/xmake-io/xmake/issues/695): Improve android abi
-
-### Bugs fixed
-
-* Fix the link errors output issues for msvc
-* [#718](https://github.com/xmake-io/xmake/issues/718): Fix download cache bug for package
-* [#722](https://github.com/xmake-io/xmake/issues/722): Fix invalid package deps
-* [#719](https://github.com/xmake-io/xmake/issues/719): Fix process exit bug
-* [#720](https://github.com/xmake-io/xmake/issues/720): Fix compile_commands generator
-
-## v2.3.1
-
-### New features
-
-* [#675](https://github.com/xmake-io/xmake/issues/675): Support to compile `*.c` as c++, `add_files("*.c", {sourcekind = "cxx"})`.
-* [#681](https://github.com/xmake-io/xmake/issues/681): Support compile xmake on msys/cygwin and add msys/cygwin platform
-* Add socket/pipe io modules and support to schedule socket/process/pipe in coroutine
-* [#192](https://github.com/xmake-io/xmake/issues/192): Try building project with the third-party buildsystem
-* Enable color diagnostics output for gcc/clang
-* [#588](https://github.com/xmake-io/xmake/issues/588): Improve project generator, `xmake project -k ninja`, support for build.ninja
-
-### Change
-
-* [#665](https://github.com/xmake-io/xmake/issues/665): Support to parse *nix style command options, thanks [@OpportunityLiu](https://github.com/OpportunityLiu)
-* [#673](https://github.com/xmake-io/xmake/pull/673): Improve tab complete to support argument values
-* [#680](https://github.com/xmake-io/xmake/issues/680): Improve get.sh scripts and add download mirrors
-* Improve process scheduler
-* [#651](https://github.com/xmake-io/xmake/issues/651): Improve os/io module syserrors tips
-
-### Bugs fixed
-
-* Fix incremental compilation for checking the dependent file 
-* Fix log output for parsing xmake-vscode/problem info
-* [#684](https://github.com/xmake-io/xmake/issues/684): Fix linker errors for android ndk on windows
-
-## v2.2.9
-
-### New features
-
-* [#569](https://github.com/xmake-io/xmake/pull/569): Add c++ modules build rules
-* Add `xmake project -k xmakefile` generator
-* [620](https://github.com/xmake-io/xmake/issues/620): Add global `~/.xmakerc.lua` for all projects.
-* [593](https://github.com/xmake-io/xmake/pull/593): Add `core.base.socket` module.
-
-### Change
-
-* [#563](https://github.com/xmake-io/xmake/pull/563): Separate build rules for specific language files from action/build 
-* [#570](https://github.com/xmake-io/xmake/issues/570): Add `qt.widgetapp` and `qt.quickapp` rules
-* [#576](https://github.com/xmake-io/xmake/issues/576): Uses `set_toolchain` instead of `add_tools` and `set_tools`
-* Improve `xmake create` action
-* [#589](https://github.com/xmake-io/xmake/issues/589): Improve the default build jobs number to optimize build speed
-* [#598](https://github.com/xmake-io/xmake/issues/598): Improve find_package to support .tbd libraries on macOS
-* [#615](https://github.com/xmake-io/xmake/issues/615): Support to install and use other archs and ios conan packages
-* [#629](https://github.com/xmake-io/xmake/issues/629): Improve hash.uuid and implement uuid v4
-* [#639](https://github.com/xmake-io/xmake/issues/639): Improve to parse argument options to support -jN
-
-### Bugs fixed
-
-* [#567](https://github.com/xmake-io/xmake/issues/567): Fix out of memory for serialize 
-* [#566](https://github.com/xmake-io/xmake/issues/566): Fix link order problem with remote packages 
-* [#565](https://github.com/xmake-io/xmake/issues/565): Fix run path for vcpkg packages
-* [#597](https://github.com/xmake-io/xmake/issues/597): Fix run `xmake require` command too slowly
-* [#634](https://github.com/xmake-io/xmake/issues/634): Fix mode.coverage rule and check flags
-
-## v2.2.8
-
-### New features
-
-* Add protobuf c/c++ rules
-* [#468](https://github.com/xmake-io/xmake/pull/468): Add utf-8 support for io module on windows
-* [#472](https://github.com/xmake-io/xmake/pull/472): Add `xmake project -k vsxmake` plugin to support call xmake from vs/msbuild
-* [#487](https://github.com/xmake-io/xmake/issues/487): Support to build the selected files for the given target
-* Add filelock for io
-* [#513](https://github.com/xmake-io/xmake/issues/513): Support for android/termux
-* [#517](https://github.com/xmake-io/xmake/issues/517): Add `add_cleanfiles` api for target
-* [#537](https://github.com/xmake-io/xmake/pull/537): Add `set_runenv` api to override os/envs 
-
-### Changes
-
-* [#257](https://github.com/xmake-io/xmake/issues/257): Lock the whole project to avoid other process to access.
-* Attempt to enable /dev/shm for the os.tmpdir
-* [#542](https://github.com/xmake-io/xmake/pull/542): Improve vs unicode output for link/cl
-* Improve binary bitcode lua scripts in the program directory
-
-### Bugs fixed
-
-* [#549](https://github.com/xmake-io/xmake/issues/549): Fix error caused by the new vsDevCmd.bat of vs2019
-
-## v2.2.7
-
-### New features
-
-* [#455](https://github.com/xmake-io/xmake/pull/455): support clang as cuda compiler, try `xmake f --cu=clang`
-* [#440](https://github.com/xmake-io/xmake/issues/440): Add `set_rundir()` and `add_runenvs()` api for target/run
-* [#443](https://github.com/xmake-io/xmake/pull/443): Add tab completion support
-* Add `on_link`, `before_link` and `after_link` for rule and target
-* [#190](https://github.com/xmake-io/xmake/issues/190): Add `add_rules("lex", "yacc")` rules to support lex/yacc projects
-
-### Changes
-
-* [#430](https://github.com/xmake-io/xmake/pull/430): Add `add_cucodegens()` api to improve set codegen for cuda
-* [#432](https://github.com/xmake-io/xmake/pull/432): support deps analyze for cu file (for CUDA 10.1+)
-* [#437](https://github.com/xmake-io/xmake/issues/437): Support explict git source for xmake update, `xmake update github:xmake-io/xmake#dev`
-* [#438](https://github.com/xmake-io/xmake/pull/438): Support to only update scripts, `xmake update --scriptonly dev`
-* [#433](https://github.com/xmake-io/xmake/issues/433): Improve cuda to support device-link
-* [#442](https://github.com/xmake-io/xmake/issues/442): Improve test library
-
-## v2.2.6
-
-### New features
-
-* [#380](https://github.com/xmake-io/xmake/pull/380): Add support to export compile_flags.txt 
-* [#382](https://github.com/xmake-io/xmake/issues/382): Simplify simple scope settings
-* [#397](https://github.com/xmake-io/xmake/issues/397): Add clib package manager support
-* [#404](https://github.com/xmake-io/xmake/issues/404): Support Qt for android and deploy android apk
-* Add some qt empty project templates, e.g. `widgetapp_qt`, `quickapp_qt_static` and `widgetapp_qt_static`
-* [#415](https://github.com/xmake-io/xmake/issues/415): Add `--cu-cxx` config arguments to `nvcc/-ccbin`
-* Add `--ndk_stdcxx=y` and `--ndk_cxxstl=gnustl_static` argument options for android NDK
-
-### Changes
-
-* Improve remote package manager
-* Improve `target:on_xxx` scripts to support to match `android|armv7-a@macosx,linux|x86_64` pattern
-* Improve loadfile to optimize startup speed, decrease 98% time
-
-### Bugs fixed
-
-* [#400](https://github.com/xmake-io/xmake/issues/400): fix c++ languages bug for qt rules
-
-## v2.2.5
-
-### New features
-
-* Add `string.serialize` and `string.deserialize` to serialize and deserialize object, function and others.
-* Add `xmake g --menu`
-* [#283](https://github.com/xmake-io/xmake/issues/283): Add `target:installdir()` and `set_installdir()` api for target
-* [#260](https://github.com/xmake-io/xmake/issues/260): Add `add_platformdirs` api, we can define custom platforms
-* [#310](https://github.com/xmake-io/xmake/issues/310): Add theme feature
-* [#318](https://github.com/xmake-io/xmake/issues/318): Add `add_installfiles` api to target
-* [#339](https://github.com/xmake-io/xmake/issues/339): Improve `add_requires` and `find_package` to integrate the 3rd package manager
-* [#327](https://github.com/xmake-io/xmake/issues/327): Integrate with Conan package manager 
-* Add the builtin api `find_packages("pcre2", "zlib")` to find multiple packages
-* [#320](https://github.com/xmake-io/xmake/issues/320): Add template configuration files and replace all variables before building
-* [#179](https://github.com/xmake-io/xmake/issues/179): Generate CMakelist.txt file for `xmake project` plugin
-* [#361](https://github.com/xmake-io/xmake/issues/361): Support vs2019 preview
-* [#368](https://github.com/xmake-io/xmake/issues/368): Support `private, public, interface` to improve dependency inheritance like cmake
-* [#284](https://github.com/xmake-io/xmake/issues/284): Add passing user configs description for `package()`
-* [#319](https://github.com/xmake-io/xmake/issues/319): Add `add_headerfiles` to improve to set header files and directories
-* [#342](https://github.com/xmake-io/xmake/issues/342): Add some builtin help functions for `includes()`, e.g. `check_cfuncs`
-
-### Changes
-
-* Improve to switch version and debug mode for the dependent packages
-* [#264](https://github.com/xmake-io/xmake/issues/264): Support `xmake update dev` on windows
-* [#293](https://github.com/xmake-io/xmake/issues/293): Add `xmake f/g --mingw=xxx` configuration option and improve to find_mingw
-* [#301](https://github.com/xmake-io/xmake/issues/301): Improve precompiled header file
-* [#322](https://github.com/xmake-io/xmake/issues/322): Add `option.add_features`, `option.add_cxxsnippets` and `option.add_csnippets`
-* Remove some deprecated interfaces of xmake 1.x, e.g. `add_option_xxx`
-* [#327](https://github.com/xmake-io/xmake/issues/327): Support conan package manager for `lib.detect.find_package` 
-* Improve `lib.detect.find_package` and add builtin `find_packages("zlib 1.x", "openssl", {xxx = ...})` api
-* Mark `set_modes()` as deprecated, we use `add_rules("mode.debug", "mode.release")` instead of it
-* [#353](https://github.com/xmake-io/xmake/issues/353): Improve `target:set`, `target:add` and add `target:del` to modify target configuration
-* [#356](https://github.com/xmake-io/xmake/issues/356): Add `qt_add_static_plugins()` api to support static Qt sdk
-* [#351](https://github.com/xmake-io/xmake/issues/351): Support yasm for generating vs201x project
-* Improve the remote package manager.
-
-### Bugs fixed
-
-* Fix cannot call `set_optimize()` to set optimization flags when exists `add_rules("mode.release")`
-* [#289](https://github.com/xmake-io/xmake/issues/289): Fix unarchive gzip file failed on windows
-* [#296](https://github.com/xmake-io/xmake/issues/296): Fix `option.add_includedirs` for cuda
-* [#321](https://github.com/xmake-io/xmake/issues/321): Fix find program bug with $PATH envirnoment
-
-## v2.2.3
-
-### New features
-
-* [#233](https://github.com/xmake-io/xmake/issues/233): Support windres for mingw platform
-* [#239](https://github.com/xmake-io/xmake/issues/239): Add cparser compiler support
-* Add plugin manager `xmake plugin --help`
-* Add `add_syslinks` api to add system libraries dependence
-* Add `xmake l time xmake [--rebuild]` to record compilation time
-* [#250](https://github.com/xmake-io/xmake/issues/250): Add `xmake f --vs_sdkver=10.0.15063.0` to change windows sdk version
-* Add `lib.luajit.ffi` and `lib.luajit.jit` extension modules
-* [#263](https://github.com/xmake-io/xmake/issues/263): Add new target kind: object to only compile object files
-
-### Changes
-
-* [#229](https://github.com/xmake-io/xmake/issues/229): Improve to select toolset for vcproj plugin
-* Improve compilation dependences
-* Support *.xz for extractor
-* [#249](https://github.com/xmake-io/xmake/pull/249): revise progress formatting to space-leading three digit percentages 
-* [#247](https://github.com/xmake-io/xmake/pull/247): Add `-D` and `--diagnosis` instead of `--backtrace`
-* [#259](https://github.com/xmake-io/xmake/issues/259): Improve on_build, on_build_file and on_xxx for target and rule
-* [#269](https://github.com/xmake-io/xmake/issues/269): Clean up the temporary files at last 30 days
-* Improve remote package manager
-* Support to add packages with only header file
-* Support to modify builtin package links, e.g. `add_packages("xxx", {links = {}})`
-
-### Bugs fixed
-
-* Fix state inconsistency after failed outage of installation dependency package
-
-## v2.2.2
-
-### New features
-
-* Support fasm assembler
-* Add `has_config`, `get_config`, and `is_config` apis
-* Add `set_config` to set the default configuration
-* Add `$xmake --try` to try building project using third-party buildsystem
-* Add `set_enabled(false)` to disable target 
-* [#69](https://github.com/xmake-io/xmake/issues/69): Add remote package management, `add_requires("tbox ~1.6.1")`
-* [#216](https://github.com/xmake-io/xmake/pull/216): Add windows mfc rules
-
-### Changes
-
-* Improve to detect Qt envirnoment and support mingw
-* Add debug and release rules to the auto-generated xmake.lua
-* [#178](https://github.com/xmake-io/xmake/issues/178): Modify the shared library name for mingw.
-* Support case-insensitive path pattern-matching for `add_files()` on windows
-* Improve to detect Qt sdk directory for `detect.sdks.find_qt`
-* [#184](https://github.com/xmake-io/xmake/issues/184): Improve `lib.detect.find_package` to support vcpkg
-* [#208](https://github.com/xmake-io/xmake/issues/208): Improve rpath for shared library
-* [#225](https://github.com/xmake-io/xmake/issues/225): Improve to detect vs envirnoment
-
-### Bug fixed
-
-* [#177](https://github.com/xmake-io/xmake/issues/177): Fix the dependent target link bug
-* Fix high cpu usage bug and Exit issues for `$ xmake f --menu`
-* [#197](https://github.com/xmake-io/xmake/issues/197): Fix Chinese path for generating vs201x project
-* Fix wdk rules bug
-* [#205](https://github.com/xmake-io/xmake/pull/205): Fix targetdir,objectdir not used in vsproject 
-
-## v2.2.1
-
-### New features
-
-* [#158](https://github.com/xmake-io/xmake/issues/158): Support CUDA Toolkit and Compiler
-* Add `set_tools` and `add_tools` apis to change the toolchains for special target
-* Add builtin rules: `mode.debug`, `mode.release`, `mode.profile` and `mode.check`
-* Add `is_mode`, `is_arch` and `is_plat` builtin apis in the custom scripts
-* Add color256 codes
-* [#160](https://github.com/xmake-io/xmake/issues/160): Support Qt compilation environment and add `qt.console`, `qt.application` rules
-* Add some Qt project templates
-* [#169](https://github.com/xmake-io/xmake/issues/169): Support yasm for linux, macosx and windows
-* [#159](https://github.com/xmake-io/xmake/issues/159): Support WDK driver compilation environment 
-
-### Changes
-
-* Add FAQ to the auto-generated xmake.lua
-* Support android NDK >= r14
-* Improve warning flags for swiftc
-* [#167](https://github.com/xmake-io/xmake/issues/167): Improve custom rules
-* Improve `os.files` and `os.dirs` api
-* [#171](https://github.com/xmake-io/xmake/issues/171): Improve build dependence for qt rule
-* Implement `make clean` for generating makefile plugin
-
-### Bugs fixed
-
-* Fix force to add flags bug
-* [#157](https://github.com/xmake-io/xmake/issues/157): Fix generate pdb file error if it's output directory does not exists
-* Fix strip all symbols bug for macho target file
-* [#168](https://github.com/xmake-io/xmake/issues/168): Fix generate vs201x project bug with x86/x64 architectures
-
-## v2.1.9
-
-### New features
-
-* Add `del_files()` api to delete files in the files list
-* Add `rule()`, `add_rules()` api to implement the custom build rule and improve `add_files("src/*.md", {rule = "markdown"})`
-* Add `os.filesize()` api
-* Add `core.ui.xxx` cui components
-* Add `xmake f --menu` to configure project with a menu configuration interface
-* Add `set_values` api to `option()`
-* Support to generate a menu configuration interface from user custom project options
-* Add source file position to interpreter and search results in menu
-
-### Changes
-
-* Improve to configure cross-toolchains, add tool alias to support unknown tool name, .e.g `xmake f [email protected]`
-* [#151](https://github.com/xmake-io/xmake/issues/151): Improve to build the share library for the mingw platform
-* Improve to generate makefile plugin
-* Improve the checking errors tips
-* Improve `add_cxflags` .., force to set flags without auto checking: `add_cxflags("-DTEST", {force = true})`
-* Improve `add_files`, add force block to force to set flags without auto checking: `add_files("src/*.c", {force = {cxflags = "-DTEST"}})`
-* Improve to search the root project directory
-* Improve to detect vs environment
-* Upgrade luajit to 2.1.0-beta3
-* Support to run xmake on linux (arm, arm64)
-* Improve to generate vs201x project plugin
-
-### Bugs fixed
-
-* Fix complation dependence
-* [#151](https://github.com/xmake-io/xmake/issues/151): Fix `os.nuldev()` for gcc on mingw
-* [#150](https://github.com/xmake-io/xmake/issues/150): Fix the command line string limitation for `ar.exe`
-* Fix `xmake f --cross` error
-* Fix `os.cd` to the windows root path bug
-
-## v2.1.8
-
-### New features
-
-* Add `XMAKE_LOGFILE` environment variable to dump the output info to file
-* Support tinyc compiler
-
-### Changes
-
-* Improve support for IDE/editor plugins (.e.g vscode, sublime, intellij-idea)
-* Add `.gitignore` file when creating new projects
-* Improve to create template project
-* Improve to detect toolchains on macosx without xcode
-* Improve `set_config_header` to support `set_config_header("config", {version = "2.1.8", build = "%Y%m%d%H%M"})`
-
-### Bugs fixed
-
-* [#145](https://github.com/xmake-io/xmake/issues/145): Fix the current directory when running target
-
-## v2.1.7
-
-### New features
-
-* Add `add_imports` to bulk import modules for the target, option and package script
-* Add `xmake -y/--yes` to confirm the user input by default
-* Add `xmake l package.manager.install xxx` to install software package
-* Add xmake plugin for vscode editor, [xmake-vscode](https://marketplace.visualstudio.com/items?itemName=tboox.xmake-vscode#overview)
-* Add `xmake macro ..` to run the last command
-
-### Changes
-
-* Support 24bits truecolors for `cprint()`
-* Support `@loader_path` and `$ORIGIN` for `add_rpathdirs()`
-* Improve `set_version("x.x.x", {build = "%Y%m%d%H%M"})` and add build version
-* Move docs directory to xmake-docs repo
-* Improve install and uninstall actions and support DESTDIR and PREFIX envirnoment variables
-* Optimize to detect flags
-* Add `COLORTERM=nocolor` to disable color output
-* Remove `and_bindings` and `add_rbindings` api
-* Disable to output colors code to file
-* Update project templates with tbox
-* Improve `lib.detect.find_program` interface
-* Enable colors output for windows cmd
-* Add `-w|--warning` arguments to enable the warnings output
-
-### Bugs fixed
-
-* Fix `set_pcxxheader` bug
-* [#140](https://github.com/xmake-io/xmake/issues/140): Fix `os.tmpdir()` in fakeroot
-* [#142](https://github.com/xmake-io/xmake/issues/142): Fix `os.getenv` charset bug on windows
-* Fix compile error with spaces path
-* Fix setenv empty value bug
-
-## v2.1.6
-
-### Changes
-
-* Improve `add_files` to configure the compile option of the given files
-* Inherit links and linkdirs from the dependent targets and options
-* Improve `target.add_deps` and add inherit config, .e.g `add_deps("test", {inherit = false})`
-* Remove the binary files of `tbox.pkg`
-* Use `/Zi` instead of `/ZI` for msvc
-
-### Bugs fixed
-
-* Fix target deps
-* Fix `target:add` and `option:add` bug
-* Fix compilation and installation bug on archlinux
-
-## v2.1.5
-
-### New features
-
-* [#83](https://github.com/xmake-io/xmake/issues/83): Add `add_csnippet` and `add_cxxsnippet` into `option` for detecting some compiler features.
-* [#83](https://github.com/xmake-io/xmake/issues/83): Add user extension modules to detect program, libraries and files.
-* Add `find_program`, `find_file`, `find_library`, `find_tool` and `find_package` module interfaces.
-* Add `net.*` and `devel.*` extension modules
-* Add `val()` api to get the value of builtin-variable, .e.g `val("host")`, `val("env PATH")`, `val("shell echo hello")` and `val("reg HKEY_LOCAL_MACHINE\\XX;Value")`
-* Support to compile the microsoft resource file (.rc)
-* Add `has_flags`, `features` and `has_features` for detect module interfaces.
-* Add `option.on_check`, `option.after_check` and `option.before_check` api
-* Add `target.on_load` api
-* [#132](https://github.com/xmake-io/xmake/issues/132): Add `add_frameworkdirs` api
-* Add `lib.detect.has_xxx` and `lib.detect.find_xxx` apis.
-* Add `add_moduledirs` api
-* Add `includes` api instead of `add_subdirs` and `add_subfiles`
-* [#133](https://github.com/xmake-io/xmake/issues/133): Improve the project plugin to generate `compile_commands.json` by run  `xmake project -k compile_commands`
-* Add `set_pcheader` and `set_pcxxheader` to support the precompiled header, support gcc, clang, msvc
-* Add `xmake f -p cross` platform and support the custom platform
-
-### Changes
-
-* [#87](https://github.com/xmake-io/xmake/issues/87): Add includes and links from target deps automatically 
-* Improve `import` to load user extension and global modules
-* [#93](https://github.com/xmake-io/xmake/pull/93): Improve `xmake lua` to run a single line command
-* Improve to print gcc error and warning info
-* Improve `print` interface to dump table
-* [#111](https://github.com/xmake-io/xmake/issues/111): Add `--root` common option to allow run xmake command as root
-* [#113](https://github.com/xmake-io/xmake/pull/113): Privilege manage when running as root, store the root privilege and degrade.
-* Improve `xxx_script` in `xmake.lua` to support pattern match, .e.g `on_build("iphoneos|arm*", function (target) end)`
-* improve builtin-variables to support to get the value envirnoment and registry
-* Improve to detect vstudio sdk and cross toolchains envirnoment
-* [#71](https://github.com/xmake-io/xmake/issues/71): Improve to detect compiler and linker from env vars
-* Improve the option detection (cache and multi-jobs) and increase 70% speed
-* [#129](https://github.com/xmake-io/xmake/issues/129): Check link deps and cache the target file
-* Support `*.asm` source files for vs201x project plugin
-* Mark `add_bindings` and `add_rbindings` as deprecated
-* Optimize `xmake rebuild` speed on windows
-* Move `core.project.task` to `core.base.task`
-* Move `echo` and `app2ipa` plugins to [xmake-plugins](https://github.com/xmake-io/xmake-plugins) repo.
-* Add new api `set_config_header("config.h", {prefix = ""})` instead of `set_config_h` and `set_config_h_prefix`
-
-### Bugs fixed
-
-* Fix `try-catch-finally`
-* Fix interpreter bug when parsing multi-level subdirs
-* [#115](https://github.com/xmake-io/xmake/pull/115): Fix the path problem of the install script `get.sh`
-* Fix cache bug for import()
-
-## v2.1.4
-
-### New features
-
-* [#68](https://github.com/xmake-io/xmake/issues/68): Add `$(programdir)` and `$(xmake)` builtin variables
-* add `is_host` api to get current host operating system
-* [#79](https://github.com/xmake-io/xmake/issues/79): Improve `xmake lua` to run interactive commands, read-eval-print (REPL)
-
-### Changes
-
-* Modify option menu color.
-* [#71](https://github.com/xmake-io/xmake/issues/71): Improve to map optimization flags for cl.exe
-* [#73](https://github.com/xmake-io/xmake/issues/73): Attempt to get executable path as xmake's program directory
-* Improve the scope of `xmake.lua` in `add_subdirs` and use independent sub-scope to avoid dirty scope
-* [#78](https://github.com/xmake-io/xmake/pull/78): Get terminal size in runtime and soft-wrap the help printing
-* Avoid generate `.xmake` directory if be not in project
-
-### Bugs fixed
-
-* [#67](https://github.com/xmake-io/xmake/issues/67): Fix `sudo make install` permission problem
-* [#70](https://github.com/xmake-io/xmake/issues/70): Fix check android compiler error
-* Fix temporary file path conflict
-* Fix `os.host` and `os.arch` interfaces
-* Fix interpreter bug for loading root api
-* [#77](https://github.com/xmake-io/xmake/pull/77): fix `cprint` no color reset eol
-
-## v2.1.3
-
-### New features
-
-* [#65](https://github.com/xmake-io/xmake/pull/65): Add `set_default` api for target to modify default build and install behavior
-* Allows to run `xmake` command in project subdirectories, it will find the project root directory automatically
-* Add `add_rpathdirs` for target and option
-
-### Changes
-
-* [#61](https://github.com/xmake-io/xmake/pull/61): Provide safer `xmake install` and `xmake uninstall` task with administrator permission
-* Provide `rpm`, `deb` and `osxpkg` install package
-* [#63](https://github.com/xmake-io/xmake/pull/63): More safer build and install xmake
-* [#61](https://github.com/xmake-io/xmake/pull/61): Check run command as root
-* Improve check toolchains and implement delay checking
-* Add user tips when scanning and generating `xmake.lua` automatically
-
-### Bugs fixed
-
-* Fix error tips for checking xmake min version
-* [#60](https://github.com/xmake-io/xmake/issues/60): Fix self-build for macosx and windows
-* [#64](https://github.com/xmake-io/xmake/issues/64): Fix compile android `armv8-a` error
-* [#50](https://github.com/xmake-io/xmake/issues/50): Fix only position independent executables issue for android program
-
-## v2.1.2
-
-### New features
-
-* Add aur package script and support to install xmake from yaourt
-* Add [set_basename](#http://xmake.io/#/manual?id=targetset_basename) api for target
-
-### Changes
-
-* Support vs2017
-* Support compile rust for android
-* Improve vs201x project plugin and support multi-modes compilation.
-
-### Bugs fixed
-
-* Fix cannot find android sdk header files
-* Fix checking option bug
-* [#57](https://github.com/xmake-io/xmake/issues/57): Fix code files mode to 0644
-
-## v2.1.1
-
-### New features
-
-* Add `--links`, `--linkdirs` and `--includedirs` configure arguments
-* Add app2ipa plugin
-* Add dictionary syntax style for `xmake.lua`
-* Provide smart scanning and building mode without `xmake.lua`
-* Add `set_xmakever` api for `xmake.lua`
-* Add `add_frameworks` api for `objc` and `swift`
-* Support multi-languages extension and add `golang`, `dlang` and `rust` language
-* Add optional `target_end`, `option_end`, `task_end` apis for scope
-* Add `golang`, `dlang` and `rust` project templates
-
-### Changes
-
-* Support vs2017 for the project plugin
-* Improve gcc error and warning tips
-* Improve lanuage module
-* Improve print interface, support lua print and format output
-* Automatically scan project files and generate it for building if xmake.lua not exists
-* Modify license to Apache License 2.0
-* Remove some binary tools
-* Remove install.bat script and provide nsis install package
-* Rewrite [documents](http://www.xmake.io/#/home/) using [docute](https://github.com/egoist/docute)
-* Improve `os.run`, `os.exec`, `os.cp`, `os.mv` and `os.rm` interfaces and support wildcard pattern
-* Optimize the output info and add `-q|--quiet` option
-* Improve makefile generator, uses $(XX) variables for tools and flags
-
-### Bugs fixed
-
-* [#41](https://github.com/waruqi/xmake/issues/41): Fix checker bug for windows 
-* [#43](https://github.com/waruqi/xmake/issues/43): Avoid to generate unnecessary .xmake directory  
-* Add c++ stl search directories for android
-* Fix compile error for rhel 5.10
-* Fix `os.iorun` bug
-
-## v2.0.5
-
-### New features
-
-* Add some interpreter builtin-modules
-* Support ml64 assembler for windows x64
-
-### Changes
-
-* Improve ipairs and pairs interfaces and support filter
-* Add filters for generating vs201x project
-* Remove `core/tools` (msys toolchains) and uses xmake to compile core sources on windows
-* Remove `xmake/packages` for templates
-
-### Bugs fixed
-
-* Fix `-def:xxx.def` flags failed for msvc
-* Fix ml.exe assembler script
-* Fix options linking order bug
-
-## v2.0.4
-
-### New features
-
-* Add native shell support for `xmake.lua`. .e.g `add_ldflags("$(shell pkg-config --libs sqlite3)")`
-* Enable pdb symbol files for windows
-* Add debugger support on windows (vsjitdebugger, ollydbg, windbg ... )
-* Add `getenv` interface for the global scope of `xmake.lua`
-* Add plugin for generating vstudio project file (vs2002 - vs2015)
-* Add `set_default` api for option
-
-### Changes
-
-* Improve builtin-variable format
-* Support option for string type
-
-### Bugs fixed
-
-* Fix check ld failed without g++ on linux 
-* Fix compile `*.cxx` files failed
-
-## v2.0.3
-
-### New features 
-
-* Add check includes dependence automatically
-* Add print colors 
-* Add debugger support, .e.g `xmake run -d program ...`
-
-### Changes
-
-* Improve the interfaces of run shell
-* Upgrade luajit to v2.0.4
-* Improve to generate makefile plugin
-* Optimizate the multitasking compiling speed
-
-### Bugs fixed
-
-* Fix install directory bug
-* Fix the root directory error for `import` interface
-* Fix check visual stdio error on windows
-
-## v2.0.2
-
-### Changes
-
-* Change install and uninstall actions
-* Update templates
-* Improve to check function 
-
-### Bugs fixed
-
-* [#7](https://github.com/waruqi/xmake/issues/7): Fix create project bug with '[targetname]'
-* [#9](https://github.com/waruqi/xmake/issues/9): Support clang with c++11
-* Fix api scope leaks bug
-* Fix path bug for windows
-* Fix check function bug
-* Fix check toolchains failed
-* Fix compile failed for android on windows 
-
-## v2.0.1
-
-### New features
-
-* Add task api for running custom tasks
-* Add plugin expansion and provide some builtin plugins
-* Add export ide project plugin(.e.g makefile and will support to export other projects for vs, xcode in feature)
-* Add demo plugin for printing 'hello xmake'
-* Add make doxygen documents plugin
-* Add macro script plugin
-* Add more modules for developing plugin
-* Add exception using try/catch and simplify grammar for plugin script
-* Add option bindings
-* Show progress when building
-
-### Changes
-
-* Rewrite interpreter for xmake.lua
-* More strict syntax detection mechanism
-* More strict api scope for xmake.lua 
-* Simplify template development
-* Extend platforms, tools, templates and actions fastly
-* Simplify api and support import modules
-* Remove dependence for gnu make/nmake, no longer need makefile
-* Optimize speed for building and faster x4 than v1.0.4
-* Optimize automatic detection 
-* Modify some api name, but be compatible with the old version
-* Optimize merging static library
-* Simplify cross compilation using argument `--sdk=xxx`
-* Simplify boolean option for command line, .e.g `xmake config --xxx=[y|n|yes|no|true|false]`
-* Merge iphoneos and iphonesimulator platforms
-* Merge watchos and watchsimulator platformss
-
-### Bugs fixed
-
-* [#3](https://github.com/waruqi/xmake/issues/3): ArchLinux compilation failed
-* [#4](https://github.com/waruqi/xmake/issues/4): Install failed for windows
-* Fix envirnoment variable bug for windows
-
-## v1.0.4
-
-### New features
-
-* Support windows assembler
-* Add some project templates
-* Support swift codes
-* Add -v argument for outputing more verbose info
-* Add apple platforms:watchos, watchsimulator
-* Add architecture x64, amd64, x86_amd64 for windows
-* Support switch static and share library
-* Add `-j/--jobs` argument for supporting multi-jobs 
-
-### Changes
-
-* Improve `add_files` api and support to add `*.o/obj/a/lib` files for merging static library and object files
-* Optimize installation and remove some binary files
-
-### Bugs fixed
-
-* [#1](https://github.com/waruqi/xmake/issues/4): Install failed for win7
-* Fix checking toolchains bug
-* Fix install script bug
-* Fix install bug for linux x86_64
-
-## v1.0.3
-
-### New features
-
-* Add `set_runscript` api and support custom action
-* Add import api and support import modules in xmake.lua, .e.g os, path, utils ...
-* Add new architecture: arm64-v8a for android
-
-### Bugs fixed
-
-* Fix api bug for `set_installscript`
-* Fix install bug for windows `x86_64`
-* Fix relative path bug

+ 0 - 12
about/contact.md

@@ -1,12 +0,0 @@
-# Contact
-
-* Email:[[email protected]](mailto:[email protected])
-* Homepage:[xmake.io](https://xmake.io)
-* Community
-  - [Chat on reddit](https://www.reddit.com/r/xmake/)
-  - [Chat on telegram](https://t.me/tbooxorg)
-  - [Chat on discord](https://discord.gg/xmake)
-  - Chat on QQ Group: 343118190, 662147501
-* Source Code:[Github](https://github.com/xmake-io/xmake), [Gitee](https://gitee.com/tboox/xmake)
-* Wechat Public: tboox-os
-

+ 0 - 10
about/introduction.md

@@ -1,10 +0,0 @@
-# Introduction
-
-Xmake is a lightweight cross-platform build utility based on Lua. It uses a Lua script to maintain project builds, but is driven by a dependency free core program written in C. Compared with Makefiles or CMake, the configuration syntax is much concise and intuitive. As such, it's friendly to novices while still maintaining the flexibly required in a build system. With Xmake, you can focus on your project instead of the build.
-
-Xmake can be used to directly build source code (like with Make or Ninja), or it can generate project source files like CMake or Meson. It also has a *built-in* package management system to help users integrate C/C++ dependencies.
-
-If you want to know more, please refer to: the [Documentation](https://xmake.io/#/getting_started), [GitHub](https://github.com/xmake-io/xmake) or [Gitee](https://gitee.com/tboox/xmake). You are also welcome to join our [community](https://xmake.io/#/about/contact).
-
-![](https://xmake.io/assets/img/index/xmake-basic-render.gif)
-

+ 0 - 251
about/sponsor.md

@@ -1,251 +0,0 @@
-# Sponsoring
-
-The Xmake projects are personal open-source projects, their development need your help.
-
-If you would like to support the development of Xmake, you are encouraged to donate!
-
-Feel free to contact us for more details on sponsorship.
-
-- [Contact us](https://xmake.io/#/about/contact)
-
-# Payment Methods
-
-## Paypal
-
-[![Paypal Me](/assets/img/paypal.png)](https://paypal.me/tboox/5)
-
-## Github Sponsor
-
-[![Github Sponsor](/assets/img/github_sponsor.png)](https://github.com/sponsors/waruqi)
-
-## OpenCollective
-
-[[Become a sponsor](https://opencollective.com/xmake#sponsor)]
-
-## Alipay
-
-<img src="/assets/img/alipay.png" alt="alipay" width="256" height="256">
-
-## Weixin
-
-<img src="/assets/img/weixin.png" alt="weixin" width="218" height="218">
-
-# Sponsor tiers
-
-## $5 a month
-
-☕️ - Buy me a coffee every month.
-
-- You will receive a Sponsor badge on your profile!
-
-## $10 a month
-
-🙏 - Thank you so much! For sponsoring me you'll receive:
-
-- All previous tier rewards
-- Membership in Discord channel is marked as sponsor
-- Add your name to the backers section on my personal website
-
-## $20 a month
-
-🍨 - Thank you so much! For sponsoring me you'll receive:
-
-- All previous tier rewards
-- Handling Issues with higher priority
-
-## $50 a month
-
-🐹 - Thank you so much! For sponsoring me you'll receive:
-
-- All previous tier rewards
-- Review your `xmake.lua` and provide suggestions for improvement
-
-## $200 a month
-
-🐴 - Thank you so much! That's a lot of money. For sponsoring me you'll receive:
-
-- All previous tier rewards
-- Add a logo and link to the README.md of my major open source projects
-- One-to-one technical consulting service, see [Technical Support](https://xmake.io/#/about/technical_support)
-
-## $500 a month
-
-🐬 - Should you really be spending this much? For sponsoring me you'll receive:
-
-- All previous tier rewards
-- Add a large logo and link to the websites of my major open source projects
-
-## $1000 a month
-
-❤️ - How do you have this much money to spend? For sponsoring me on this incredible tier, you'll receive:
-
-- All previous tier rewards
-- Please contact me to discuss what you want for this tier!
-
-# Supporters
-
-| 日期       | 支持者                                | 渠道           | 金额   | 评价                                                                    |
-|--          | --                                    | --             | --     | --                                                                      |
-| 2024.04.08 | Maxwell                               | 微信           | ¥1024  |                                                                         |
-| 2024.03.15 | h*]                                   | 微信           | ¥20    |                                                                         |
-| 2024.03.17 | TomCat                                | 支付宝         | ¥20    | 感谢作者啊,请你喝咖啡                                                  |
-| 2024.03.13 | H*s                                   | 微信           | ¥5     |                                                                         |
-| 2024.03.08 | *秀                                   | 微信           | ¥20    |                                                                         |
-| 2024.03.02 | *丘                                   | 微信           | ¥100   |                                                                         |
-| 2024.02.29 | archer正                              | 支付宝         | ¥5     | 感谢群主回答我问题,解了急事                                            |
-| 2024.02.26 | s*e                                   | 微信           | ¥50    |                                                                         |
-| 2024.02.17 | *鸟                                   | 微信           | ¥3     |                                                                         |
-| 2024.02.08 | T*7                                   | 微信           | ¥10    |                                                                         |
-| 2024.01.31 | 振豪                                  | 支付宝         | ¥50    | 苦 cmake 久已,支持国产 xmake                                           |
-| 2024.01.11 | *生                                   | 微信           | ¥100   |                                                                         |
-| 2023.12.29 | *业                                   | 微信           | ¥10    |                                                                         |
-| 2023.12.23 | D*t                                   | 微信           | ¥150   |                                                                         |
-| 2023.12.12 | *非                                   | 微信           | ¥50    |                                                                         |
-| 2023.11.23 | jg                                    | 支付宝         | ¥10    |                                                                         |
-| 2023.11.22 | doukeran                              | 支付宝         | ¥10    | 加油!xmake好用,感谢!                                                 |
-| 2023.11.17 | jadedrip                              | 支付宝         | ¥5     |                                                                         |
-| 2023.11.14 | *                                     | 微信           | ¥50    |                                                                         |
-| 2023.11.13 | 玮                                    | 支付宝         | ¥10    | 支持国产软件!                                                          |
-| 2023.11.08 | 灵均                                  | 支付宝         | ¥100   | 祝阖家安康,xmake越来越好用!                                           |
-| 2023.11.05 | 走钢丝                                | 支付宝         | ¥168   | 用了下,感觉不错!                                                      |
-| 2023.10.27 | *利                                   | 微信           | ¥100   |                                                                         |
-| 2023.10.18 | F2                                    | 微信           | ¥20    |                                                                         |
-| 2023.10.05 | C*g                                   | 微信           | ¥5     |                                                                         |
-| 2023.09.28 | *                                     | 微信           | ¥50    |                                                                         |
-| 2023.09.22 | *                                     | 微信           | ¥50    |                                                                         |
-| 2023.09.20 | V*e                                   | 微信           | ¥20    |                                                                         |
-| 2023.09.17 | *阴                                   | 微信           | ¥20    |                                                                         |
-| 2023.09.07 | *物                                   | 微信           | ¥20    |                                                                         |
-| 2023.08.23 | 黑白                                  | 支付宝         | ¥20    | 开源不易,请大佬喝杯奶茶                                                |
-| 2023.08.17 | ivanllen                              | 微信           | ¥200   | 感谢 ruki,给了很多帮助                                                 |
-| 2023.08.11 | tjan                                  | 支付宝         | ¥58    |                                                                         |
-| 2023.08.06 | *好                                   | 微信           | ¥20    | 非常感谢作者维护这样一个好用的构建工具                                  |
-| 2023.08.06 | *子                                   | 微信           | ¥20    | 感谢开发和维护 xmake                                                    |
-| 2023.07.30 | *东                                   | 微信           | ¥100   |                                                                         |
-| 2023.07.26 | Deep鑫                                | 支付宝         | ¥200   | 感谢答疑,希望 xmake 越来越好                                           |
-| 2023.07.22 | 候*7                                  | 微信           | ¥70    |                                                                         |
-| 2023.07.22 | 志超                                  | 支付宝         | ¥100   | 支持一下                                                                |
-| 2023.07.17 | *狼                                   | 微信           | ¥106   |                                                                         |
-| 2023.07.07 | Neo                                   | 微信           | ¥10    | 希望 xmake 越做越好                                                     |
-| 2023.06.21 | 小鸡快跑                              | 微信           | ¥10    | 是比 cmake 更好用的构建工具                                             |
-| 2023.06.20 | 阿诺                                  | 支付宝         | ¥200   | 希望 xmake 越来越好                                                     |
-| 2023.06.17 | 葡*                                   | 微信           | ¥29.9  |                                                                         |
-| 2023.06.06 | 蓝颜                                  | 支付宝         | ¥50    | xmake 很好用,已经推荐给朋友们用                                        |
-| 2023.06.04 | i*t                                   | 微信           | ¥18.88 |                                                                         |
-| 2023.05.18 | 晚风                                  | 支付宝         | ¥20    | 支持!                                                                  |
-| 2023.05.15 | *侠                                   | 微信           | ¥19.57 |                                                                         |
-| 2023.04.24 | 好吧,注册一下                        | 支付宝         | ¥100   | xmake 天下第一                                                          |
-| 2023.04.21 | 悬阳                                  | 支付宝         | ¥50    |                                                                         |
-| 2023.04.17 | 文强                                  | 微信           | ¥19.88 |                                                                         |
-| 2023.04.13 | *焜                                   | 微信           | ¥50    |                                                                         |
-| 2023.03.19 | *鸟                                   | 微信           | ¥3     |                                                                         |
-| 2023.03.18 | *戴                                   | 微信           | ¥100   | 感谢 xmake                                                              |
-| 2023.03.10 | 翅膀                                  | 微信           | ¥200   | 支持一下 xmake                                                          |
-| 2023.02.05 | l*2                                   | 微信           | ¥300   |                                                                         |
-| 2023.02.02 | *                                     | 微信           | ¥5     | 国产加油                                                                |
-| 2023.02.01 | *X                                    | 微信           | ¥256   |                                                                         |
-| 2023.01.31 | *乐                                   | 微信           | ¥66    | cmake 反人类设计,这下清爽了,顶!                                      |
-| 2023.01.18 | r*t                                   | 微信           | ¥100   |                                                                         |
-| 2023.01.17 | Maxwell                               | 微信           | ¥1024  |                                                                         |
-| 2023.01.16 | 繁星明                                | 微信           | ¥50    | 好用                                                                    |
-| 2023.01.11 | 知而无知                              | 微信           | ¥50    | xmake加油!                                                             |
-| 2023.01.11 | 熊猫儿沈浪                            | 微信           | ¥100   |                                                                         |
-| 2022.12.22 | 我出趟远门                            | 支付宝         | ¥100   |                                                                         |
-| 2022.12.14 | 1*1                                   | 微信           | ¥77    |                                                                         |
-| 2022.12.02 | l*u                                   | 微信           | ¥16.8  | 加油                                                                    |
-| 2022.11.30 | 高洁                                  | 支付宝         | ¥50    | 极大减轻了构建c++项目的成本                                             |
-| 2022.11.19 | *埃                                   | 微信           | ¥50    |                                                                         |
-| 2022.11.11 | 王王王                                | 支付宝         | ¥100   |                                                                         |
-| 2022.10.26 | D*w                                   | 微信           | ¥30    | 支持好用,希望越做越好                                                  |
-| 2022.10.11 | N*e                                   | 微信           | ¥50    | 感谢大佬的工作                                                          |
-| 2022.09.24 | *谔                                   | 微信           | ¥100   | 加油                                                                    |
-| 2022.08.31 | 九州                                  | 支付宝         | ¥100   | 用了一年,感谢作者的辛苦                                                |
-| 2022.07.24 | 未来十年                              | 支付宝         | ¥50    | xmake 最终会统一 C++ 包管理                                             |
-| 2022.07.24 | *大                                   | 微信           | ¥50    | 赞助 xmake 项目                                                         |
-| 2022.07.17 | 王逸涵                                | 支付宝         | ¥100   | 支持!!!                                                              |
-| 2022.07.17 | Quincy                                | 微信           | ¥200   | 开源不易,xmake 非常好用                                                |
-| 2022.07.09 | *洋                                   | 微信           | ¥66    |                                                                         |
-| 2022.07.07 | 卷云舒                                | 支付宝         | ¥100   | 支持国产支持开源!加油兄弟!我是知乎上的                                |
-| 2022.07.07 | 魏文*                                 | 支付宝         | ¥100   | 体验比cmake丝滑多了                                                     |
-| 2022.06.30 | 小明                                  | 支付宝         | ¥30    | 加油                                                                    |
-| 2022.06.28 | Bain                                  | 支付宝         | ¥10    |                                                                         |
-| 2022.06.22 | 魏文*                                 | 支付宝         | ¥100   | 支持国产,C++开源界因xmake更美好~                                       |
-| 2022.06.14 | K*u                                   | 微信           | ¥10    |                                                                         |
-| 2022.06.08 | *                                     | 微信           | ¥81.54 |                                                                         |
-| 2022.05.11 | *庭                                   | 微信           | ¥50    |                                                                         |
-| 2022.04.28 | m*l                                   | 微信           | ¥99    |                                                                         |
-| 2022.04.21 | 寻找地平线                            | 微信           | ¥128   |                                                                         |
-| 2022.04.09 | 子慧                                  | 支付宝         | ¥50    | 非常好用,简洁清晰                                                      |
-| 2022.04.07 | *                                     | 微信           | ¥100   |                                                                         |
-| 2022.04.05 | *                                     | 微信           | ¥5     |                                                                         |
-| 2022.03.30 | *                                     | 微信           | ¥5     |                                                                         |
-| 2022.03.05 | *                                     | 微信           | ¥15    |                                                                         |
-| 2022.02.04 | *雯                                   | 支付宝         | ¥10    | 加油                                                                    |
-| 2022.01.25 | 龙伟                                  | 支付宝         | ¥10    | 生成的目录结构确实比 cmake 强                                           |
-| 2021.12.24 | xiaohui                               | 微信           | ¥50    |                                                                         |
-| 2021.12.14 | SirLynix                              | Github         | $10    |                                                                         |
-| 2021.12.14 | sytru                                 | 支付宝         | ¥50    |                                                                         |
-| 2021.12.14 | 翅膀                                  | 微信           | ¥100   |                                                                         |
-| 2021.11.15 | 朱*                                   | 支付宝         | ¥50    | xmake非常好用,继续加油!                                               |
-| 2021.10.04 | S*o                                   | 微信           | ¥100   | 加油                                                                    |
-| 2021.09.23 | fhhddgkhg                             | 支付宝         | ¥20    |                                                                         |
-| 2021.09.06 | Stefan Boberg                         | Paypal         | € 25  |                                                                         |
-| 2021.09.01 | 姚冬                                  | 微信           | ¥1024  | 祝 xmake 越做越好                                                       |
-| 2021.08.22 | Alvin-co                              | 微信           | ¥100   |                                                                         |
-| 2021.08.17 | 九州                                  | 支付宝         | ¥100   |                                                                         |
-| 2021.07.29 | chaney                                | 支付宝         | ¥1000  | xmake 很好用                                                            |
-| 2021.06.30 | *剑                                   | 微信           | ¥100   | 大佬牛逼,给你点个赞                                                    |
-| 2021.06.08 | Daniel Roussel                        | Paypal         | 5 EUR  |                                                                         |
-| 2021.05.31 | 国栋                                  | 支付宝         | ¥100   | 加油 ^ O ^ ~ 做的好!                                                    |
-| 2021.05.26 | jerry                                 | 支付宝         | ¥100   | 感谢对开源世界的帮助!                                                  |
-| 2021.05.02 | 乐                                    | 支付宝         | ¥20    |                                                                         |
-| 2021.04.26 | 灿辉                                  | 支付宝         | ¥20    |                                                                         |
-| 2021.04.04 | *烨                                   | 微信           | ¥50    |                                                                         |
-| 2021.03.31 | *晨                                   | 微信           | ¥10    |                                                                         |
-| 2021.03.18 | *博                                   | 微信           | ¥50    |                                                                         |
-| 2021.03.17 | *博                                   | 微信           | ¥100   |                                                                         |
-| 2021.03.14 | Gavin Ray                             | OpenCollective | $10    |                                                                         |
-| 2021.02.07 | 抚*                                   | 支付宝         | ¥66    | xmake牛批!                                                             |
-| 2021.02.05 | *_                                    | 微信           | ¥5     |                                                                         |
-| 2020.12.05 | 知而无知                              | 微信           | ¥50    |                                                                         |
-| 2020.12.05 | fghuh                                 | 支付宝         | ¥10    |                                                                         |
-| 2020.12.05 | @                                     | 微信           | ¥5     |                                                                         |
-| 2020.11.27 | 少东                                  | 支付宝         | ¥2.33  |                                                                         |
-| 2020.11.25 | 小弧光                                | 微信           | ¥10    |                                                                         |
-| 2020.11.20 | Russell Haley                         | Paypal         | $25CAD |                                                                         |
-| 2020.11.11 | Russell Haley                         | Paypal         | $50CAD |                                                                         |
-| 2020.10.23 | Cartesian Technology                  | Paypal         | 5 EUR  |                                                                         |
-| 2020.10.19 | Cartesian Technology                  | Paypal         | 5 EUR  |                                                                         |
-| 2020.09.22 | Russell Haley                         | Paypal         | $25CAD |                                                                         |
-| 2020.09.13 | Cartesian Technology                  | Paypal         | 5 EUR  |                                                                         |
-| 2020.09.11 | Cartesian Technology                  | Paypal         | 5 EUR  |                                                                         |
-| 2020.09.11 | 复刻回忆                              | 支付宝         | ¥25    | 加油!                                                                  |
-| 2020.09.05 | M*x                                   | 微信           | ¥100   |                                                                         |
-| 2020.07.21 | 简单                                  | 微信           | ¥100   |                                                                         |
-| 2020.06.24 | *三                                   | 微信           | ¥10    | xmake很好用                                                             |
-| 2020.06.13 | Ronald                                | 支付宝         | ¥10    | 方便、专业、谢谢                                                        |
-| 2020.06.13 | c*o                                   | 微信           | ¥100   |                                                                         |
-| 2020.06.09 | w*;                                   | 微信           | ¥50    | 我用过最舒心的工具                                                      |
-| 2020.06.09 | 凌风                                  | 支付宝         | ¥0.01  |                                                                         |
-| 2020.05.25 | 魔之左手                              | 微信           | ¥100   |                                                                         |
-| 2020.05.20 | Russell Haley                         | Paypal         | $10CAD |                                                                         |
-| 2020.05.15 | Russell Haley                         | Paypal         | $10CAD |                                                                         |
-| 2020.04.10 | C*g                                   | 微信           | ¥20    | 拒绝白嫖,支持一下                                                      |
-| 2020.04.07 | *子                                   | 微信           | ¥10    | 感谢你创造了xmake                                                       |
-| 2019.10.31 | 刘*                                   | 支付宝         | ¥100   | xmake非常好用,期待持续更新,加油!                                      |
-| 2019.10.05 | 1m188                                 | 支付宝         | ¥50    | 相比cmake写起来要简单清晰一些                                           |
-| 2019.09.15 | ryan                                  | 微信           | ¥100   |                                                                         |
-| 2019.06.19 | 匿名                                  | 微信           | ¥10    | 比cmake好用                                                             |
-| 2018.11.16 | 孙果                                  | 微信           | ¥10    | xmake很好用,加油!                                                     |
-| 2018.10.17 | 红红                                  | 微信           | ¥100   |                                                                         |
-| 2018.10.15 | xtvjxk                                | 支付宝         | ¥10    | 希望越来越好用                                                          |
-| 2018.08.07 | fasiondog                             | gitee          | ¥50    | 感谢您的开源项目!                                                       |
-| 2018.06.27 | Kellygod                              | 支付宝         | ¥30    | 拥抱xmake                                                               |
-| 2018.05.17 | 匿名                                  | 微信           | ¥10    | 加油xmake                                                               |
-| 2018.04.29 | 清春                                  | 支付宝         | ¥180   |                                                                         |
-| 2018.02.18 | 氧烷                                  | 支付宝         | ¥16.66 | xmake,赞👍                                                             |
-| 2017.11.19 | sytru                                 | 支付宝         | ¥10    | 感谢作者,让写c/c++有了写脚本的感觉。非常愉悦的使用体验,希望不要消失。 |
-| 2017.11.16 | 琪峻                                  | 支付宝         | ¥15    | 感谢好用的xmake                                                         |
-| 2017.10.26 | Welthy                                | 支付宝         | ¥5     | xmake很好用啊                                                           |
-| 2016.11.10 | [lc-soft](https://github.com/lc-soft) | oschina        | ¥10    |                                                                         |
-

+ 0 - 9
about/technical_support.md

@@ -1,9 +0,0 @@
-# Technical support
-
-You can also consider sponsoring us to get extra technical support services via the [Github sponsor program](https://github.com/sponsors/waruqi). If you do, you can get access to the [xmake-io/technical-support](https://github.com/xmake-io/technical-support) repository, which has the following bennefits:
-
-- [X] Handling Issues with higher priority (**$50/month**)
-- [X] One-to-one technical consulting service (**$50/month**)
-- [X] Review your xmake.lua and provide suggestions for improvement (**$200/month**)
-
-If you want to provide sponsorship through other ways, you can also request technical support and more information by emailing me at [[email protected]](mailto:[email protected]).

+ 0 - 46
about/who_is_using_xmake.md

@@ -1,46 +0,0 @@
-# Who in the world is using Xmake?
-
-If you are using Xmake, please click to edit [this page](https://github.com/xmake-io/xmake-docs/blob/master/about/who_is_using_xmake.md) to submit information to the following list to let more users know how many users are using Xmake.
-
-This also let users to use Xmake more confidently, and we will also have more motivation to maintain it continuously,
-so that the Xmake project and the community will grow stronger.
-
-!> If you are inconvenient to add your project address, you can briefly describe the usage scenarios of the project.
-
-## User list
-
-| User (Company Name or Personal Contact) | Project (Project Introduction or Address) | Comment (optional) |
-| :--- | :--- | :--- |
-| [Aleksandr Alibekov] | [TurboINI](https://github.com/HotWizard/TurboINI) | Xmake is so simple and nice to use. |
-| [Isaac A.](https://gitlab.com/tenten8401) | [VueFusion](https://gitlab.com/tenten8401/vuefusion) VR Full Body Tracker | Xmake is awesome |
-| [ruki](https://github.com/waruqi) | [tbox](https://github.com/tboox/tbox) & [ltui](https://github.com/tboox/ltui) | ... |
-| [zsx](https://github.com/acl-dev/acl) | [acl](https://github.com/acl-dev/acl) | Good |
-| [深圳市云语科技](https://www.raysync.cn/) | [镭速-大文件传输系统](https://www.raysync.cn/) | 非常有特点的构建系统 |
-| [深圳金鼎威视](http://www.gzgve.com/) | 暂时都是内部项目 | 嵌入式开发中目前用过的最优秀的c程序构建工具 |
-| [WillyJL](https://github.com/Willy-JL) | [CP77 Discord RPC](https://github.com/Willy-JL/cp77-discord-rpc) ([Homepage](https://www.nexusmods.com/cyberpunk2077/mods/986)) | Perfect and easy way to get into C++ without prior experience |
-| [SirLynix](https://github.com/SirLynix) | [BurgWar](https://github.com/DigitalPulseSoftware/BurgWar) (Video game) & [obs-kinect](https://github.com/SirLynix/obs-kinect) (plugin for OBS) | After programming for more than 12 years in C++, I can say xmake is a life changer. It's to C++ what Cargo is to Rust, a truly helpful tool (especially with external dependencies) you won't want to give up.
-| [yamashi](https://github.com/yamashi) | [Cyber Engine Tweaks](https://github.com/yamashi/CyberEngineTweaks) (Mod for Cyberpunk 2077) | Dll injection to add Lua scripting, imgui user interface, console cheats and other hacks to Cyberpunk 2077.
-| [Tilted Phoques](https://github.com/tiltedphoques) | [Skyrim/Fallout Together](https://github.com/tiltedphoques/TiltedOnline/) (Mod for Skyrim & Fallout 4) | Dll injection to add multiplayer to CreationKit games such as Skyrim and Fallout 4.
-| [Qudix](https://github.com/Qudix) | [template-commonlibsse-ng](https://github.com/Qudix/template-commonlibsse-ng) | SKSE64 template using CommonLibSSE-NG |
-| [武汉凌久微电子有限公司](http://www.ljmicro.cn) | 内部嵌入式图形驱动项目 | 支持翼辉、天脉、锐华等多种国产嵌入式实时操作系统的GP100/200系列国产GPU OpenGL/ES驱动 |
-| [yecate](https://github.com/yecate) | 个人项目 | 跨平台构建的利器,xmake在我日常开发工作中提供了很大的便利 |
-| [fasiondog](https://github.com/fasiondog) | [Hikyuu Quant Framework](https://github.com/fasiondog/hikyuu) 基于C++/Python的开源量化交易研究框架 | xmake 的简洁高效是C/C++跨平台工程的解放 |
-| [KnightJun](https://github.com/knightjun) | [BingW](https://github.com/knightjun/BingW)(bing wallpaper) | xmake is an excellent, simple, easy-to-use and powerful build tool.
-| [Phate6660](https://github.com/Phate6660) | [cppfetch](https://github.com/Phate6660/cppfetch) (info fetch tool) | I tried this out after seeing [this](https://github.com/xmake-io/xmake/wiki/C-and-Cplusplus-build-system,-I-use-xmake), and after using it I loved it enough that I replaced meson with this!
-| walletiger | ERTC - an easy and efficient cross platform RTC project | 个人项目,简单易用跨平台 兼容 webrtc 标准的 SFU及前端通信组件 , xmake + tbox 提供了优秀的跨平台编译和底层库支持|
-| [Alvin](https://github.com/idealvin) | [co](https://github.com/idealvin/co) | A go-style coroutine library in C++11. Xmake is nice! |
-| [ekko](https://github.com/ekkone) | 电网融合终端linux应用,个人使用 | 相比Makefile和Cmake简洁易懂太多了,构建十分高效,并发编译速度比公司用的cmake快一个数量级,希望发展越来越好 |
-| [合宙通信](https://www.openluat.com/) | https://gitee.com/openLuat/luatos-soc-air101                 | xmake 是非常简洁,高效,方便的C/C++构建工具,节省很多时间 |
-| [Akselmo](https://codeberg.org/akselmo) | [Artificial Rage](https://codeberg.org/akselmo/artificial-rage), a simple FPS game and (probably) an FPS game engine in future | Switched from cmake to xmake. The ease of use is great, and being able to generate cmake files for tools that require it is a cherry on top. Highly recommend!
-| [JackLan](https://github.com/lanjackg2003) | 目前,尝试在个人嵌入式项目中使用 | 在几年前,使用make与makefile实现了与XMake类似的C/C++项目构建功能。现在回想起来,从零到有,整个流程也并非那么一帆风顺。最近想使用CMake重新实现这套构建,无意中发现了XMake。让我眼前一亮的是,他使用LUA语法(早些年从合宙的GSM模块玩起来),容易上手。我将之前的Make项目移植使用XMake工具,也就是几小时,这个过程也只是我从第一次参考官方说明做起。所以确实省时省力。希望XMake能够让更多的开发者知道与使用,成为更加主流的构建工具!
-| [XmacsLabs](https://github.com/XmacsLabs) | [mogan](https://github.com/XmacsLabs/mogan) | autotool和CMake开发环境不易配置,vcpkg等CMake包管理器存在不少兼容性问题,极度影响开发体验,导致墨者实验室失去了一大批潜在开发者。xmake为老旧软件的维护提供了紧凑易用的工具,有效简化了添加新类库的流程,减少了无谓的工作量。
-| [Dozingfiretruck](https://github.com/Dozingfiretruck) | C语言实现的NES模拟器 GitHub地址: https://github.com/Dozingfiretruck     Gitee地址: https://gitee.com/Dozingfiretruck/nes            | xmake 可以使你极其方便的部署C/C++构建,节省大量时间从而将精力放在代码编写上而非项目构建上 |
-| [WSSDude](https://github.com/WSSDude) | [Hitman Audio Tool](https://github.com/WSSDude/HitmanAudioTool) | Very easy to use build system with what I believe is currently the best package management integrated within. Definitely plan to include it in my other future projects (both personal and public). Using it since 2020 and counting. |
-| Meidozuki | [VBAO](https://github.com/Meidozuki/VBAO)  | 个人开发项目,用于构建MVVM开发框架的utility library,提供C++和python接口。xmake的语法相比cmake十分简洁,尤其是处理包依赖问题时:cmake的find_package(尤其是Config Mode)依赖于第三方库作者的水平,xmake接入了Conan包管理,大大简化了这一过程;对于Makefile-only的项目,cmake需要额外了解IMPORTED library target的概念,十分别扭,xmake的写法就很舒服。虽然xmake的命令行已经足够简洁了,不过还是期待主流IDE对于xmake更好的支持 |
-| Luisa-Group | [Luisa-Compute](https://luisa-render.com/) | A general-purpose, high-performance, cross-platform computing framework for streaming-architectures. Thanks to xmake's cross-platform ability and lua DSL's flexible expressioness, the development efficiency and compilation experience has been greatly improved. |
-| [Sunrisepeak](https://github.com/Sunrisepeak) | [DStruct](https://github.com/Sunrisepeak/DStruct) (an easy-to-port/learn/use C++ data structure template library) | DStruct 是一个平台无关(易于移植)且结构简洁的数据结构模板库, 可使用xmake进行快速构建&测试 |
-| [chen-qingyu](https://github.com/chen-qingyu) | [PyInCpp](https://github.com/chen-qingyu/pyincpp) (A C++ type library that is as easy to use as Python built-in types.) | Thanks to XMake: Code & Format & Document & Build & Test & Pack all in one, elegant and efficient! |
-| [Sunrisepeak](https://github.com/Sunrisepeak) | [KHistory](https://github.com/Sunrisepeak/KHistory) (An elegant keyboard/gamepad key detection and visualization tool) | 🔥一个优雅&跨平台的 键盘/🎮手柄按键 检测及历史记录显示工具, 无需安装单可执行文件(约900kb大小)即点即用, 并提供了可视化插件扩展功能, 同时也由于xmake对lua脚本的支持&构建规则, 以简洁的方式在编译期实现了自定义插件的自动注册功能 |
-| [laugh12321](https://github.com/laugh12321) | [TensorRT-YOLO](https://github.com/laugh12321/TensorRT-YOLO) |🚀 TensorRT-YOLO: Support YOLOv5, YOLOv8, YOLOv9, PP-YOLOE using TensorRT acceleration with EfficientNMS! TensorRT-YOLO uses xmake for compilation, enabling developers to focus more on coding rather than on the build process.|
-| [dkaszews](https://github.com/dkaszews) | [riscv-xmake-samples](https://github.com/dkaszews/riscv-xmake-samples) | Sample code using RISC-V bare-metal assembly and xmake build system |
-| [JXMaster](https://github.com/JX-Master) | [LunaSDK](https://github.com/JX-Master/LunaSDK) | A C++ software development framework for real-time rendering applications. |

BIN
assets/img/afdian-xmake.png


BIN
assets/img/alipay.png


BIN
assets/img/donate.gif


BIN
assets/img/favicon.ico


BIN
assets/img/github_sponsor.png


BIN
assets/img/guide/macapp.png


BIN
assets/img/guide/qt_quickapp.png


BIN
assets/img/guide/qt_widgetapp.png


BIN
assets/img/guide/vscode_status_bar.png


BIN
assets/img/index/add_require.png


BIN
assets/img/index/menuconf.gif


BIN
assets/img/index/menuconf.png


BIN
assets/img/index/package.gif


BIN
assets/img/index/package_arch.png


BIN
assets/img/index/package_manage.png


BIN
assets/img/index/showcode1.png


BIN
assets/img/index/xmake-basic-render.gif


BIN
assets/img/logo.png


+ 0 - 60
assets/img/logo.svg

@@ -1,60 +0,0 @@
-<?xml version="1.0" encoding="utf-8" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg width="64" height="64" version="1.1" xmlns="http://www.w3.org/2000/svg">
-    <defs>
-        <filter id="dropshadow">
-            <feGaussianBlur in="SourceGraphic" stdDeviation="0.5"/>
-            <feOffset dx="-0.3" dy="-0.3" result="offsetblur"/>
-            <feMerge>
-                <feMergeNode/>
-                <feMergeNode in="SourceGraphic"/>
-            </feMerge>
-        </filter>
-        <clipPath id="circlewrapper">
-            <circle cx="32" cy="32" r="27"/>
-        </clipPath>
-    </defs>
-    <style type="text/css">
-        #background{
-            fill:white;
-        }
-        #midground{
-            fill:#8BC34A;
-        }
-        #shadowline{
-            stroke:#444;
-            stroke-width:1px;
-            fill:transparent;
-        }
-        #foreground{
-            fill:rgba(0,150,136,0.76);
-        }
-        #inside_g{
-            clip-path:url(#circlewrapper);
-        }
-        #outside_g{
-            fill:#e0f2f1;
-        }
-        #inside_layout{
-            transform:translateY(5px);
-        }
-        #outside_s{
-            filter:url(#dropshadow);
-            fill:rgba(0,0,0,0.2);
-        }
-        #inside_w{
-            filter:url(#dropshadow);
-        }
-    </style>
-    <circle id="outside_s" cx="32" cy="32" r="30"/>
-    <circle id="outside_g" cx="32" cy="32" r="30"/>
-    <g id="inside_w">
-        <g id="inside_g">
-            <g id="inside_layout">
-                <polygon id="background" points="64,4 64,62 62,64 1,64 0,63 0,40 60,3"/>
-                <polygon id="midground"  points="0,63 1,64 62,64 64,62 64,50 4,13 1,12.5 0,13"/>
-                <polygon id="foreground" points="64,4 64,62 62,64 1,64 0,63 0,40 60,3"/>
-            </g>
-        </g>
-    </g>
-</svg>

BIN
assets/img/manual/filegroup1.png


BIN
assets/img/manual/filegroup2.png


BIN
assets/img/manual/filegroup3.png


BIN
assets/img/manual/nsis_1.png


BIN
assets/img/manual/nsis_2.png


BIN
assets/img/manual/nsis_3.png


BIN
assets/img/manual/nsis_4.png


BIN
assets/img/manual/option_set_category.gif


BIN
assets/img/manual/option_set_values.png


BIN
assets/img/manual/property_page_vsxmake.png


BIN
assets/img/manual/qt_vs.png


BIN
assets/img/manual/set_group.png


BIN
assets/img/manual/xmake-debug.png


BIN
assets/img/manual/xmake-debug2.png


BIN
assets/img/manual/xmake-remote.png


BIN
assets/img/manual/xmake-test1.png


BIN
assets/img/manual/xmake-test2.png


BIN
assets/img/patreon.png


BIN
assets/img/paypal.png


+ 0 - 29
assets/img/speed_skating.svg

@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
-<svg aria-labelledby="title desc" fill-rule="evenodd" height="1.818in" preserveAspectRatio="none" stroke-linecap="round" viewBox="0 0 2011 1818" width="2.011in" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><title>leisure,people,persons,skaters,speed skating,sports</title><desc>Original keywords: leisure,people,persons,skaters,speed skating,sports. This clipart was ripped from the Microsoft website, then uploaded to https://archive.org/details/MS_Clipart_Collection. (The original WMF file can be found within that item, under the folder MC900188047). From there, it was then converted by Trumad to svg using https://github.com/hidekatsu-izuno/wmf2svg in a bulk operation. All the converted files can be found at https://archive.org/details/MS_Clipart_Collection_SVG</desc>
-<style type="text/css">
-.brush0 { fill: rgb(255,255,255); }
-.pen0 { stroke: rgb(0,0,0); stroke-width: 1; stroke-linejoin: round; }
-.brush1 { fill: none; }
-.pen1 { stroke: none; }
-.brush2 { fill: rgb(0,0,0); }
-</style>
-<g>
-<polygon class="pen1 brush2" points="1504,393 1505,397 1509,406 1514,420 1521,437 1527,455 1533,472 1538,488 1541,500 1544,520 1547,541 1552,561 1563,578 1575,589 1594,606 1617,627 1643,649 1668,670 1691,689 1709,702 1719,709 1726,711 1735,713 1744,714 1754,715 1764,717 1775,719 1785,722 1795,725 1804,731 1813,741 1820,753 1827,766 1832,779 1836,790 1839,797 1840,800 1838,798 1833,793 1825,785 1815,776 1805,767 1793,758 1782,751 1772,746 1762,743 1752,740 1741,738 1731,736 1721,735 1712,733 1703,731 1696,729 1686,723 1668,709 1645,691 1620,670 1594,648 1571,627 1552,610 1541,599 1534,590 1529,579 1524,568 1520,555 1517,542 1515,529 1513,518 1511,507 1508,478 1506,440 1504,407 1504,393"/>
-<polygon class="pen1 brush2" points="358,1307 359,1304 361,1297 365,1286 370,1272 376,1258 384,1242 392,1228 401,1216 407,1209 414,1199 422,1187 432,1173 442,1157 454,1139 466,1121 478,1102 491,1083 504,1063 517,1044 529,1026 541,1009 552,994 563,980 572,969 590,951 609,936 628,922 648,910 668,899 688,886 707,873 726,857 743,840 759,823 773,805 787,786 801,765 816,742 831,714 849,683 864,657 878,632 892,610 905,589 918,570 930,553 941,537 952,522 962,509 971,497 980,486 988,477 995,468 1002,460 1008,454 1013,448 1026,433 1038,418 1049,403 1060,388 1071,374 1083,358 1097,342 1112,326 1129,309 1144,296 1159,286 1172,278 1185,272 1199,267 1213,261 1228,255 1243,246 1258,232 1271,216 1286,197 1301,177 1318,157 1337,137 1359,118 1383,103 1406,94 1429,90 1449,88 1467,90 1480,92 1489,94 1492,95 1490,95 1484,95 1475,96 1463,99 1447,104 1429,111 1409,123 1386,138 1364,157 1345,177 1328,197 1313,217 1298,236 1285,252 1270,266 1255,275 1240,281 1226,287 1212,293 1199,299 1186,307 1171,316 1156,329 1139,346 1124,363 1110,379 1098,394 1087,409 1076,424 1065,438 1053,453 1040,468 1035,474 1028,481 1022,488 1014,497 1006,507 997,518 988,530 978,543 967,557 956,573 944,591 932,610 919,630 905,653 891,677 876,703 858,734 842,762 828,785 814,806 800,825 785,843 770,860 753,877 734,893 715,906 695,919 675,930 655,943 636,956 617,972 599,990 590,1001 579,1015 568,1030 556,1047 544,1065 531,1083 518,1103 505,1122 493,1141 481,1159 469,1177 459,1193 449,1207 441,1219 434,1229 428,1236 418,1247 407,1259 395,1271 384,1282 374,1292 365,1300 360,1305 358,1307"/>
-<polygon class="pen1 brush2" points="345,1297 340,1301 328,1312 309,1329 286,1352 261,1379 236,1410 213,1443 193,1478 184,1499 178,1518 176,1535 177,1548 182,1559 190,1567 201,1571 215,1572 234,1570 252,1565 269,1559 286,1551 301,1542 315,1533 328,1522 340,1512 350,1502 359,1492 367,1482 374,1474 379,1467 383,1462 385,1458 386,1457 386,1459 384,1463 381,1470 377,1479 372,1490 365,1502 357,1514 347,1527 336,1541 323,1553 307,1565 290,1576 271,1585 250,1592 226,1596 200,1598 182,1595 167,1589 153,1578 143,1564 137,1548 136,1528 142,1507 154,1483 171,1458 189,1434 206,1413 223,1394 239,1377 255,1362 270,1348 284,1337 297,1327 309,1318 319,1312 328,1306 335,1302 341,1299 344,1298 345,1297"/>
-<polygon class="pen1 brush2" points="358,1318 357,1304 359,1291 364,1278 372,1267 362,1273 354,1280 347,1287 342,1296 338,1305 336,1315 335,1324 337,1334 342,1346 349,1357 359,1367 371,1374 384,1380 398,1383 413,1384 429,1382 436,1380 443,1378 449,1375 456,1372 461,1368 467,1365 472,1360 476,1356 470,1359 464,1361 457,1363 450,1365 434,1367 419,1366 405,1363 392,1357 380,1350 370,1341 363,1330 358,1318"/>
-<polygon class="pen1 brush2" points="11,1691 0,1740 41,1730 177,1562 11,1691"/>
-<polygon class="pen1 brush2" points="1310,695 1308,695 1302,696 1293,698 1280,702 1265,708 1247,717 1227,730 1205,746 1193,757 1178,771 1162,788 1144,807 1125,827 1105,849 1085,872 1064,895 1044,918 1023,940 1004,961 986,980 970,997 955,1012 942,1023 932,1031 914,1042 895,1051 877,1059 859,1066 842,1073 828,1080 816,1087 807,1096 799,1107 789,1121 777,1137 763,1153 747,1171 731,1187 714,1203 696,1216 686,1223 673,1231 658,1240 641,1249 623,1259 604,1270 585,1281 566,1291 548,1301 530,1311 514,1319 500,1327 489,1333 480,1338 474,1341 472,1342 474,1341 479,1337 487,1331 497,1324 509,1315 523,1304 539,1293 555,1281 572,1269 589,1256 606,1244 622,1232 637,1221 651,1211 663,1203 673,1196 691,1182 708,1167 724,1150 740,1133 754,1116 766,1101 776,1087 784,1076 793,1067 805,1060 819,1053 836,1046 854,1039 872,1031 891,1022 909,1011 919,1003 932,991 947,977 963,959 981,940 1000,919 1021,897 1041,874 1062,852 1082,829 1102,807 1121,787 1139,768 1155,751 1170,737 1182,726 1205,711 1227,700 1249,695 1269,692 1285,692 1298,693 1307,694 1310,695"/>
-<polygon class="pen1 brush2" points="1278,1317 1277,1307 1275,1282 1275,1250 1278,1218 1283,1183 1288,1140 1294,1097 1301,1060 1305,1045 1310,1030 1316,1016 1322,1002 1329,989 1336,975 1344,961 1352,946 1361,916 1360,885 1353,857 1345,833 1340,820 1333,805 1325,789 1316,773 1308,758 1301,746 1297,738 1295,735 1298,738 1308,745 1321,756 1337,769 1353,784 1367,799 1379,813 1385,825 1389,837 1394,850 1398,864 1401,878 1403,893 1402,909 1399,924 1392,939 1384,953 1376,967 1369,981 1363,994 1357,1008 1351,1023 1346,1037 1342,1053 1338,1070 1335,1090 1331,1111 1328,1133 1324,1156 1320,1179 1316,1202 1310,1223 1305,1238 1300,1253 1295,1269 1290,1284 1285,1297 1281,1308 1279,1314 1278,1317"/>
-<polygon class="pen1 brush2" points="1507,1156 1517,1136 1525,1108 1530,1075 1534,1040 1537,1005 1540,972 1543,945 1547,925 1552,910 1559,895 1567,881 1576,869 1583,859 1590,852 1594,847 1596,845 1595,855 1591,879 1585,912 1577,945 1574,963 1572,986 1571,1014 1570,1045 1566,1077 1561,1111 1552,1144 1538,1176 1517,1214 1492,1251 1467,1285 1443,1317 1421,1344 1403,1365 1391,1378 1387,1383 1389,1377 1396,1360 1407,1335 1422,1303 1440,1267 1460,1229 1483,1192 1507,1156"/>
-<polygon class="pen1 brush2" points="1404,1473 1404,1477 1403,1487 1401,1502 1397,1519 1390,1537 1380,1554 1365,1569 1345,1578 1332,1580 1317,1578 1300,1574 1283,1567 1267,1558 1252,1547 1239,1534 1230,1518 1226,1499 1227,1475 1232,1449 1238,1423 1246,1399 1253,1379 1258,1365 1260,1360 1256,1365 1245,1378 1231,1399 1216,1425 1204,1455 1196,1488 1197,1521 1209,1554 1222,1572 1238,1587 1256,1599 1276,1608 1297,1615 1318,1618 1339,1618 1359,1615 1380,1604 1394,1586 1403,1563 1407,1538 1407,1513 1406,1493 1405,1478 1404,1473"/>
-<polygon class="pen1 brush2" points="1342,1354 1328,1348 1315,1341 1304,1333 1293,1324 1284,1315 1277,1305 1272,1295 1268,1285 1267,1288 1265,1291 1264,1294 1263,1297 1263,1309 1267,1321 1273,1334 1282,1346 1293,1357 1306,1368 1321,1377 1338,1384 1355,1389 1371,1392 1386,1392 1399,1389 1411,1385 1420,1378 1426,1370 1430,1359 1430,1354 1430,1350 1429,1345 1428,1341 1422,1348 1415,1354 1406,1358 1395,1361 1383,1362 1370,1361 1356,1358 1342,1354"/>
-<polygon class="pen1 brush2" points="1811,879 1796,881 1779,880 1763,876 1746,872 1730,866 1716,860 1703,854 1693,849 1685,844 1678,839 1672,833 1666,827 1661,820 1655,812 1648,803 1641,793 1639,790 1636,787 1632,784 1628,781 1629,774 1630,768 1632,761 1635,755 1640,744 1646,735 1654,726 1662,719 1670,713 1679,708 1688,705 1697,704 1694,702 1691,700 1688,699 1685,697 1674,695 1663,696 1652,699 1641,705 1631,712 1622,722 1614,733 1607,746 1606,750 1605,753 1603,757 1602,761 1589,752 1575,742 1559,732 1543,722 1527,711 1510,700 1493,689 1477,678 1461,667 1446,657 1432,647 1419,638 1408,629 1398,621 1390,614 1385,608 1374,585 1361,549 1349,504 1337,456 1326,410 1318,371 1312,343 1310,333 1309,341 1308,363 1308,397 1310,439 1314,487 1322,537 1336,588 1355,636 1361,645 1371,655 1385,666 1401,678 1419,691 1440,705 1461,719 1483,733 1505,747 1526,761 1547,773 1565,786 1581,797 1595,806 1605,815 1611,821 1618,831 1625,840 1630,848 1636,855 1641,861 1647,867 1654,872 1662,877 1673,883 1687,890 1703,897 1721,904 1740,911 1759,915 1777,917 1793,916 1807,911 1820,904 1832,896 1842,887 1850,879 1857,872 1861,867 1862,865 1861,865 1860,866 1856,867 1851,869 1844,871 1835,873 1824,876 1811,879"/>
-<polygon class="pen1 brush2" points="1270,1590 1210,1780 1233,1818 1265,1800 1293,1603 1270,1590"/>
-<polygon class="pen1 brush2" points="1623,607 1624,604 1625,597 1628,586 1633,573 1639,560 1647,548 1657,539 1670,534 1683,531 1696,526 1709,520 1722,512 1737,503 1755,493 1774,480 1798,466 1807,461 1814,457 1822,453 1831,449 1843,445 1859,440 1880,434 1909,426 1942,414 1967,400 1984,383 1994,365 1999,347 1999,328 1996,308 1990,290 1981,274 1966,258 1948,243 1928,229 1909,218 1893,209 1881,203 1877,201 1838,197 1842,199 1854,204 1871,212 1891,223 1910,235 1927,250 1940,265 1946,282 1948,299 1949,318 1949,336 1946,354 1938,371 1924,387 1904,400 1876,410 1847,418 1823,425 1806,432 1792,437 1781,443 1772,448 1764,454 1755,459 1732,473 1713,484 1697,493 1684,501 1672,507 1661,511 1649,515 1636,518 1625,524 1618,535 1616,549 1616,565 1617,581 1620,594 1622,603 1623,607"/>
-<polygon class="pen1 brush2" points="1792,238 1788,219 1782,201 1775,184 1767,168 1758,152 1747,138 1736,124 1725,112 1712,101 1699,91 1686,83 1672,76 1658,71 1643,68 1629,66 1614,66 1591,70 1570,80 1551,94 1536,111 1523,133 1514,157 1508,184 1506,213 1504,175 1508,139 1518,105 1532,74 1550,48 1572,27 1597,13 1626,6 1642,6 1659,8 1675,12 1691,17 1707,25 1723,34 1738,45 1753,57 1767,70 1780,85 1792,101 1803,118 1812,136 1820,155 1827,175 1832,196 1837,236 1835,274 1827,311 1813,344 1795,373 1773,397 1747,414 1719,424 1740,413 1758,397 1773,378 1784,355 1792,329 1796,301 1796,270 1792,238"/>
-<polygon class="pen1 brush2" points="1644,158 1626,162 1608,166 1591,170 1575,175 1559,180 1544,185 1530,190 1517,195 1504,201 1493,206 1483,212 1474,218 1466,223 1460,229 1455,235 1451,240 1465,233 1480,226 1497,220 1516,213 1535,207 1555,202 1577,197 1599,192 1611,190 1624,188 1636,186 1648,184 1660,182 1671,181 1682,180 1693,179 1704,179 1714,178 1724,178 1733,178 1742,179 1751,179 1759,180 1767,181 1764,171 1760,162 1755,153 1750,144 1738,145 1726,146 1713,147 1700,149 1686,151 1672,153 1658,155 1644,158"/>
-<polygon class="pen1 brush2" points="38,912 39,923 41,934 45,946 51,957 57,968 66,979 76,990 87,1001 79,987 73,974 69,960 68,947 69,934 71,921 76,909 82,896 91,883 101,871 113,859 127,846 142,834 159,823 178,811 199,799 221,788 245,777 270,765 297,755 325,744 355,734 386,723 418,713 452,704 487,694 524,685 561,676 600,667 640,659 681,650 724,642 767,635 811,628 857,621 903,614 923,590 874,596 827,601 780,608 735,614 690,621 647,629 605,636 564,644 524,653 486,661 448,670 413,679 378,689 345,699 314,709 284,719 256,730 229,740 203,751 180,763 158,774 138,786 119,798 103,810 88,822 75,834 64,847 55,860 47,873 42,886 39,899 38,912"/>
-</g>
-</svg>

BIN
assets/img/theme/default.png


BIN
assets/img/theme/emoji.png


BIN
assets/img/theme/ninja.png


BIN
assets/img/weixin.png


BIN
assets/img/xmake-cup.jpeg


BIN
assets/img/xmake-cup2.jpeg


BIN
assets/img/xmake-cup3.png


BIN
assets/img/xmake-cup4.jpeg


BIN
assets/img/xmake-logo-card.png


BIN
assets/img/xmake-logo-card.psd


BIN
assets/img/xmake-logo-large.png


BIN
assets/img/xmake_course.png


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
assets/npm/docsify-plugin-carbon/index.min.js


BIN
assets/npm/docsify/6xK3dSBYKcSV-LCoeQqfX1RYOo3qOK7g.ttf


BIN
assets/npm/docsify/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwlxdr.ttf


BIN
assets/npm/docsify/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwlxdr.ttf


BIN
assets/npm/docsify/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_ROW9.ttf


Разница между файлами не показана из-за своего большого размера
+ 0 - 7
assets/npm/docsify/docsify-copy-code.min.js


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
assets/npm/docsify/docsify-copy-code.min.js.map


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
assets/npm/docsify/docsify.min.js


+ 0 - 1
assets/npm/docsify/docsify.min.js.map

@@ -1 +0,0 @@
-404: Not Found

+ 0 - 1
assets/npm/docsify/gitalk.min.js

@@ -1 +0,0 @@
-$docsify.plugins=[].concat(function(i){var e=Docsify.dom;i.mounted(function(i){var n=e.create("div");n.id="gitalk-container";var t=e.getNode("#main");n.style="width: "+t.clientWidth+"px; margin: 0 auto 20px;",e.appendTo(e.find(".content"),n)}),i.doneEach(function(i){for(var n=document.getElementById("gitalk-container");n.hasChildNodes();)n.removeChild(n.firstChild);gitalk.render("gitalk-container")})},$docsify.plugins);

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
assets/npm/docsify/search.min.js


+ 0 - 24
assets/npm/docsify/vue.font.css

@@ -1,24 +0,0 @@
-@font-face {
-  font-family: 'Roboto Mono';
-  font-style: normal;
-  font-weight: 400;
-  src: url(/assets/npm/docsify/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_ROW9.ttf) format('truetype');
-}
-@font-face {
-  font-family: 'Source Sans Pro';
-  font-style: normal;
-  font-weight: 300;
-  src: url(/assets/npm/docsify/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwlxdr.ttf) format('truetype');
-}
-@font-face {
-  font-family: 'Source Sans Pro';
-  font-style: normal;
-  font-weight: 400;
-  src: url(/assets/npm/docsify/6xK3dSBYKcSV-LCoeQqfX1RYOo3qOK7g.ttf) format('truetype');
-}
-@font-face {
-  font-family: 'Source Sans Pro';
-  font-style: normal;
-  font-weight: 600;
-  src: url(/assets/npm/docsify/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwlxdr.ttf) format('truetype');
-}

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
assets/npm/docsify/vue.min.css


+ 0 - 1
assets/npm/docsify/vue.min.css.map

@@ -1 +0,0 @@
-404: Not Found

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
assets/npm/gitalk/gitalk.min.css


+ 0 - 1
assets/npm/gitalk/gitalk.min.css.map

@@ -1 +0,0 @@
-404: Not Found

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
assets/npm/gitalk/gitalk.min.js


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
assets/npm/gitalk/gitalk.min.js.map


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
assets/npm/github-markdown/github-markdown.min.css


Разница между файлами не показана из-за своего большого размера
+ 0 - 4
assets/npm/gitter-sidecar/sidecar.js


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
assets/npm/gitter-sidecar/sidecar.js.map


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
assets/npm/prismjs/prism-bash.min.js


+ 0 - 1
assets/npm/prismjs/prism-c.min.js

@@ -1 +0,0 @@
-Prism.languages.c=Prism.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),Prism.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),Prism.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},Prism.languages.c.string],char:Prism.languages.c.char,comment:Prism.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:Prism.languages.c}}}}),Prism.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete Prism.languages.c.boolean;

+ 0 - 1
assets/npm/prismjs/prism-lua.min.js

@@ -1 +0,0 @@
-Prism.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/};

+ 0 - 15
assets/scripts/pscompletions.text

@@ -1,15 +0,0 @@
-# PowerShell parameter completion shim for xmake
-
-Register-ArgumentCompleter -Native -CommandName xmake -ScriptBlock {
-    param($commandName, $wordToComplete, $cursorPosition)
-    $complete = "$wordToComplete"
-    if (-not $commandName) {
-        $complete = $complete + " "
-    }
-    $oldenv = $env:XMAKE_SKIP_HISTORY
-    $env:XMAKE_SKIP_HISTORY = 1
-    xmake lua --root private.utils.complete "0" "nospace" "$complete" | ForEach-Object {
-        [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterValue', $_)
-    }
-    $env:XMAKE_SKIP_HISTORY = $oldenv
-}

+ 0 - 1
baidu_verify_Bls5XAaIE7.html

@@ -1 +0,0 @@
-Bls5XAaIE7

+ 0 - 233
build.lua

@@ -1,233 +0,0 @@
-function mtime(file)
-    return os.date("%Y-%m-%dT%H:%M:%S+08:00", os.mtime(file))
-end
-
-function header(url)
-    return format([[
-<!DOCTYPE html>
-<html lang="en">
-<head>
-  <meta charset="UTF-8">
-  <title>xmake</title>
-  <link rel="icon" href="/assets/img/favicon.ico">
-  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
-  <meta name="description" content="Description">
-  <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
-  <link href="/assets/npm/github-markdown/github-markdown.min.css" rel="stylesheet">
-  <style>
-	.markdown-body {
-		box-sizing: border-box;
-		min-width: 200px;
-		max-width: 980px;
-		margin: 0 auto;
-		padding: 45px;
-	}
-
-	@media (max-width: 767px) {
-		.markdown-body {
-			padding: 15px;
-		}
-	}
-  </style>
-</head>
-<body>
-<article class="markdown-body">
-<h4>This is a mirror page, please see the original page: </h4><a href="%s">%s</a>
-<div id="wwads-panel" class="wwads-cn wwads-vertical wwads-sticky" data-id="239" style="max-width:180px;bottom:20px;right:20px;width:200px;height:260px;background:#fff;position:fixed"></div>
-</br>
-    ]], url, url)
-end
-
-function tailer()
-    return [[
-</article>
-</body>
-</html>]]
-end
-
-function ads()
-    return [[
-<script type="text/javascript" charset="UTF-8" src="https://cdn.wwads.cn/js/makemoney.js" async></script>
-<script async type="text/javascript" src="//cdn.carbonads.com/carbon.js?serve=CE7I52QU&placement=xmakeio" id="_carbonads_js"></script>
-<style>
-#carbonads {
-  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu,
-  Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;
-}
-
-#carbonads {
-  display: flex;
-  max-width: 330px;
-  background-color: hsl(0, 0%, 98%);
-  box-shadow: 0 1px 4px 1px hsla(0, 0%, 0%, .1);
-}
-
-#carbonads a {
-  color: inherit;
-  text-decoration: none;
-}
-
-#carbonads a:hover {
-  color: inherit;
-}
-
-#carbonads span {
-  position: relative;
-  display: block;
-  overflow: hidden;
-}
-
-#carbonads .carbon-wrap {
-  display: flex;
-}
-
-.carbon-img {
-  display: block;
-  margin: 0;
-  line-height: 1;
-}
-
-.carbon-img img {
-  display: block;
-}
-
-.carbon-text {
-  font-size: 13px;
-  padding: 10px;
-  line-height: 1.5;
-  text-align: left;
-}
-
-.carbon-poweredby {
-  display: block;
-  padding: 8px 10px;
-  background: repeating-linear-gradient(-45deg, transparent, transparent 5px, hsla(0, 0%, 0%, .025) 5px, hsla(0, 0%, 0%, .025) 10px) hsla(203, 11%, 95%, .4);
-  text-align: center;
-  text-transform: uppercase;
-  letter-spacing: .5px;
-  font-weight: 600;
-  font-size: 9px;
-  line-height: 1;
-}
-</style>
-    ]]
-end
-
--- fix links
-function _fixlinks(htmldata)
-
-    -- <a href="/manual/builtin_modules?id=osmv">os.mv</a>
-    -- => <a href="/mirror/manual/builtin_modules.html#osmv">os.mv</a>
-    htmldata = htmldata:gsub("(href=\"(.-)\")", function(_, href)
-        if href:startswith("/") and not href:startswith("/#/") then
-            local splitinfo = href:split('?', {plain = true})
-            local url = splitinfo[1]
-            href = "/mirror" .. url .. ".html"
-            if splitinfo[2] then
-                local anchor = splitinfo[2]:gsub("id=", "")
-                href = href .. "#" .. anchor
-            end
-            print(" -> fix %s", href)
-        end
-        return "href=\"" .. href .. "\""
-    end)
-
-    -- <h4 id="os-rm">os.rm</h4>
-    -- => <h4 id="osrm">os.rm</h4>
-    htmldata = htmldata:gsub("(id=\"(.-)\")", function(_, id)
-        id = id:gsub("%-", "")
-        return "id=\"" .. id .. "\""
-    end)
-    return htmldata
-end
-
--- generate mirror files and sitemap.xml
--- we need install https://github.com/cwjohan/markdown-to-html first
--- npm install markdown-to-html -g
---
--- Or use showdown-cli https://github.com/showdownjs/showdown
---
-function main()
-    local siteroot = "https://xmake.io"
-    local mirrordir = "mirror"
-    local sitemap = io.open("sitemap.xml", 'w')
-    sitemap:print([[
-<?xml version="1.0" encoding="UTF-8"?>
-<urlset
-      xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
-      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-      xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
-            http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
-    ]])
-    sitemap:print([[
-<url>
-  <loc>%s</loc>
-  <lastmod>%s</lastmod>
-</url>
-]], siteroot, mtime("index.html"))
-    os.rm(mirrordir)
-    for _, markdown in ipairs(os.files("**.md")) do
-        local basename = path.basename(markdown)
-        if not basename:startswith("_") then
-
-            -- get the raw url
-            if basename == "README" then
-                basename = ""
-            end
-            local url = siteroot .. '/mirror'
-            local rawurl = siteroot .. '/#'
-            local dir = path.directory(markdown)
-            if dir ~= '.' then
-                rawurl = rawurl .. '/' .. dir
-                url = url .. '/' .. dir
-            end
-            rawurl = rawurl .. '/' .. basename
-            url = url .. '/' .. (basename == "" and "index.html" or (basename .. ".html"))
-
-            -- generate html file
-            local htmlfile = path.join(mirrordir, dir, basename == "" and "index.html" or (basename .. ".html"))
-            local htmldata = os.iorunv("markdown", {markdown})
-            local f = io.open(htmlfile, 'w')
-            if f then
-                f:write(header(rawurl))
-                f:write(ads())
-                htmldata = htmldata:gsub("&%a-;", function (w) 
-                    local maps = {["&lt;"] = "<", ["&gt;"] = ">", ["&quot;"] = "\""}
-                    return maps[w]
-                end)
-                f:write(_fixlinks(htmldata))
-                f:write(tailer())
-                f:close()
-            end
-
-            --[[
-            local tmpfile = os.tmpfile()
-            os.mkdir(path.directory(tmpfile))
-            os.execv("showdown", {"makehtml", "-i", markdown, "-o", tmpfile})
-            local f = io.open(htmlfile, 'w')
-            if f then
-                f:write(header(rawurl))
-                f:write(ads())
-                f:write(_fixlinks(io.readfile(tmpfile)))
-                f:write(tailer())
-                f:close()
-            end
-            os.rm(tmpfile)]]
-
-            print("build %s => %s, %s", markdown, htmlfile, mtime(htmlfile))
-            print("url %s -> %s", url, rawurl)
-
-            -- generate sitemap
-            sitemap:print([[
-<url>
-  <loc>%s</loc>
-  <lastmod>%s</lastmod>
-</url>
-]], url, mtime(htmlfile))
-        end
-    end
-    sitemap:print("</urlset>")
-    sitemap:close()
-end
-
-

+ 0 - 15
cn/index.html

@@ -1,15 +0,0 @@
-<!DOCTYPE html>
-<html lang="en-us">
-  
-  <head>
-  <meta charset="UTF-8">
-  <title>xmake</title>
-  <meta name="viewport" content="width=device-width, initial-scale=1">
-  <meta name="theme-color" content="#157878">
-  <meta name="description" content="A cross-platform build utility based on Lua">
-  <meta name="keywords" content="make,makefile,build,lua,cross-compile,linux" /> 
-  <meta http-equiv="refresh" content="0;url=/#/zh-cn/"> 
-
-  <body>
-  </body>
-</html>

+ 28 - 0
docs/.vitepress/config.mts

@@ -0,0 +1,28 @@
+import { defineConfig } from 'vitepress'
+
+// https://vitepress.dev/reference/site-config
+export default defineConfig({
+  title: "Xmake",
+  description: "A cross-platform build utility based on Lua",
+  themeConfig: {
+    // https://vitepress.dev/reference/default-theme-config
+    nav: [
+      { text: 'Home', link: '/' },
+      { text: 'Examples', link: '/markdown-examples' }
+    ],
+
+    sidebar: [
+      {
+        text: 'Examples',
+        items: [
+          { text: 'Markdown Examples', link: '/markdown-examples' },
+          { text: 'Runtime API Examples', link: '/api-examples' }
+        ]
+      }
+    ],
+
+    socialLinks: [
+      { icon: 'github', link: 'https://github.com/vuejs/vitepress' }
+    ]
+  }
+})

+ 49 - 0
docs/api-examples.md

@@ -0,0 +1,49 @@
+---
+outline: deep
+---
+
+# Runtime API Examples
+
+This page demonstrates usage of some of the runtime APIs provided by VitePress.
+
+The main `useData()` API can be used to access site, theme, and page data for the current page. It works in both `.md` and `.vue` files:
+
+```md
+<script setup>
+import { useData } from 'vitepress'
+
+const { theme, page, frontmatter } = useData()
+</script>
+
+## Results
+
+### Theme Data
+<pre>{{ theme }}</pre>
+
+### Page Data
+<pre>{{ page }}</pre>
+
+### Page Frontmatter
+<pre>{{ frontmatter }}</pre>
+```
+
+<script setup>
+import { useData } from 'vitepress'
+
+const { site, theme, page, frontmatter } = useData()
+</script>
+
+## Results
+
+### Theme Data
+<pre>{{ theme }}</pre>
+
+### Page Data
+<pre>{{ page }}</pre>
+
+### Page Frontmatter
+<pre>{{ frontmatter }}</pre>
+
+## More
+
+Check out the documentation for the [full list of runtime APIs](https://vitepress.dev/reference/runtime-api#usedata).

+ 25 - 0
docs/index.md

@@ -0,0 +1,25 @@
+---
+# https://vitepress.dev/reference/default-theme-home-page
+layout: home
+
+hero:
+  name: "Xmake"
+  text: "A cross-platform build utility based on Lua"
+  tagline: My great project tagline
+  actions:
+    - theme: brand
+      text: Markdown Examples
+      link: /markdown-examples
+    - theme: alt
+      text: API Examples
+      link: /api-examples
+
+features:
+  - title: Feature A
+    details: Lorem ipsum dolor sit amet, consectetur adipiscing elit
+  - title: Feature B
+    details: Lorem ipsum dolor sit amet, consectetur adipiscing elit
+  - title: Feature C
+    details: Lorem ipsum dolor sit amet, consectetur adipiscing elit
+---
+

+ 85 - 0
docs/markdown-examples.md

@@ -0,0 +1,85 @@
+# Markdown Extension Examples
+
+This page demonstrates some of the built-in markdown extensions provided by VitePress.
+
+## Syntax Highlighting
+
+VitePress provides Syntax Highlighting powered by [Shiki](https://github.com/shikijs/shiki), with additional features like line-highlighting:
+
+**Input**
+
+````md
+```js{4}
+export default {
+  data () {
+    return {
+      msg: 'Highlighted!'
+    }
+  }
+}
+```
+````
+
+**Output**
+
+```js{4}
+export default {
+  data () {
+    return {
+      msg: 'Highlighted!'
+    }
+  }
+}
+```
+
+## Custom Containers
+
+**Input**
+
+```md
+::: info
+This is an info box.
+:::
+
+::: tip
+This is a tip.
+:::
+
+::: warning
+This is a warning.
+:::
+
+::: danger
+This is a dangerous warning.
+:::
+
+::: details
+This is a details block.
+:::
+```
+
+**Output**
+
+::: info
+This is an info box.
+:::
+
+::: tip
+This is a tip.
+:::
+
+::: warning
+This is a warning.
+:::
+
+::: danger
+This is a dangerous warning.
+:::
+
+::: details
+This is a details block.
+:::
+
+## More
+
+Check out the documentation for the [full list of markdown extensions](https://vitepress.dev/guide/markdown).

+ 0 - 546
features/autogen.md

@@ -1,546 +0,0 @@
-# Autogeneration
-
-Xmake supports the autogeneration of project files, including it's own! While it won't work for every project (as is the nature of these things), it should work for basic and medium complexity projects. You do not need to write any "make-like" file (`xmake.lua`, `makefile`, `CMakeLists.txt`, etc.).
-
-The fool will scan all of the source files and generate an `xmake.lua` automatically based on your product structure. Xmake will try to detect a `main` function in the source files to distinguish between the source code for libraries and executable programs.
-
-If autogeneration succeeds, you should still look through the generated `xmake.lua` and make any changes you need, and make sure everything worked well.
-
-Currently, projects that use directories in multiple levels are *not* supported. Appologies.
-
-## Use cases
-
-1. Temporarily quickly compile and run some scattered test code
-2. A starting point to porting and compiling open source code
-3. Quickly create a new Xmake project based on existing code
-
-## How to use it
-
-Execute Xmake directly in the directory with the source code (no xmake.lua), and follow the prompts:
-
-```bash
-$ xmake
-note: xmake.lua not found, try generating it (pass -y or --confirm=y/n/d to skip confirm)?
-please input: n (y/n)
-y
-```
-
-In addition, when there are other build system identification files (such as `CMakeLists.txt`), the process of automatically generating an `xmake.lua` file will not be triggered. Instead, it will attemp to [automatically detect build system and compile](#Automatically detect build system and compile) the code. If you want to force trigger the process of automatically generating `xmake.lua` file, you can run:
-
-```bash
-$ xmake f -y
-```
-
-### Compile open source libraries
-
-Although this approach has some limitations, but it is already sufficient to generate for existing libraries.
-
-For example, if you download the source code for zlib-1.2.10 and want to compile it, you only need to enter the zlib source directory and run the following command:
-
-```bash
-$ cd zlib-1.2.10
-$ xmake
-note: xmake.lua not found, try generating it (pass -y or --confirm=y/n/d to skip confirm)?
-please input: n (y/n)
-y
-```
-
-It's done! the output results:
-
-```
-target(zlib-1.2): static
-    [+]: ./adler32.c
-    [+]: ./compress.c
-    [+]: ./crc32.c
-    [+]: ./deflate.c
-    [+]: ./gzclose.c
-    [+]: ./gzlib.c
-    [+]: ./gzread.c
-    [+]: ./gzwrite.c
-    [+]: ./infback.c
-    [+]: ./inffast.c
-    [+]: ./inflate.c
-    [+]: ./inftrees.c
-    [+]: ./trees.c
-    [+]: ./uncompr.c
-    [+]: ./zutil.c
-xmake.lua generated, scan ok!👌
-checking for the architecture ... x86_64
-checking for the Xcode SDK version for macosx ... 10.12
-checking for the target minimal version ... 10.12
-checking for the c compiler (cc) ... xcrun -sdk macosx clang
-checking for the c++ compiler (cxx) ... xcrun -sdk macosx clang
-checking for the objc compiler (mm) ... xcrun -sdk macosx clang
-checking for the objc++ compiler (mxx) ... xcrun -sdk macosx clang++
-checking for the swift compiler (sc) ... xcrun -sdk macosx swiftc
-checking for the assember (as) ... xcrun -sdk macosx clang
-checking for the linker (ld) ... xcrun -sdk macosx clang++
-checking for the static library archiver (ar) ... xcrun -sdk macosx ar
-checking for the static library extractor (ex) ... xcrun -sdk macosx ar
-checking for the shared library linker (sh) ... xcrun -sdk macosx clang++
-checking for the debugger (dd) ... xcrun -sdk macosx lldb
-checking for the golang compiler (go) ... go
-configure
-{
-    ex = "xcrun -sdk macosx ar"
-,   sh = "xcrun -sdk macosx clang++"
-,   host = "macosx"
-,   ar = "xcrun -sdk macosx ar"
-,   buildir = "build"
-,   as = "xcrun -sdk macosx clang"
-,   plat = "macosx"
-,   xcode_dir = "/Applications/Xcode.app"
-,   arch = "x86_64"
-,   mxx = "xcrun -sdk macosx clang++"
-,   go = "go"
-,   target_minver = "10.12"
-,   ccache = "ccache"
-,   mode = "release"
-,   clean = true
-,   cxx = "xcrun -sdk macosx clang"
-,   cc = "xcrun -sdk macosx clang"
-,   dd = "xcrun -sdk macosx lldb"
-,   kind = "static"
-,   ld = "xcrun -sdk macosx clang++"
-,   xcode_sdkver = "10.12"
-,   sc = "xcrun -sdk macosx swiftc"
-,   mm = "xcrun -sdk macosx clang"
-}
-configure ok!
-clean ok!
-[00%]: cache compiling.release ./adler32.c
-[06%]: cache compiling.release ./compress.c
-[13%]: cache compiling.release ./crc32.c
-[20%]: cache compiling.release ./deflate.c
-[26%]: cache compiling.release ./gzclose.c
-[33%]: cache compiling.release ./gzlib.c
-[40%]: cache compiling.release ./gzread.c
-[46%]: cache compiling.release ./gzwrite.c
-[53%]: cache compiling.release ./infback.c
-[60%]: cache compiling.release ./inffast.c
-[66%]: cache compiling.release ./inflate.c
-[73%]: cache compiling.release ./inftrees.c
-[80%]: cache compiling.release ./trees.c
-[86%]: cache compiling.release ./uncompr.c
-[93%]: cache compiling.release ./zutil.c
-[100%]: archiving.release libzlib-1.2.a
-build ok!👌
-```
-
-Xmake will scan the current directory to detect all source codes and it do not found main function. As such, detect that it is a static library, and thus it will build it as a static library (with an output/artifact of `libzlib-1.2.a`).
-
-We did not write any make-like files (Xmake.lua, ..) and did not use the makefile of zlib project. Isn't that neat? It is compiled directly and a `xmake.lua` file was generated which we can edit this xmake.lua to build more complicated project.
-
-The content of the generated xmake.lua:
-
-```lua
--- define target
-target("zlib-1.2")
-
-    -- set kind
-    set_kind("static")
-
-    -- add files
-    add_files("./adler32.c")
-    add_files("./compress.c")
-    add_files("./crc32.c")
-    add_files("./deflate.c")
-    add_files("./gzclose.c")
-    add_files("./gzlib.c")
-    add_files("./gzread.c")
-    add_files("./gzwrite.c")
-    add_files("./infback.c")
-    add_files("./inffast.c")
-    add_files("./inflate.c")
-    add_files("./inftrees.c")
-    add_files("./trees.c")
-    add_files("./uncompr.c")
-    add_files("./zutil.c")
-```
-
-As you can see, it's pretty human readable.
-
-### Compile and run testing code... fast!
-
-Let's say you want to write a simple program, with one source file (`main.c`), solely to print "Hello, world!" to stdout.
-
-```c
-/* main.c */
-
-#include <stdio.h>
-#include <stdlib.h>
-
-int main(int argc, char *argv[]) {
-    printf("Hello, world!");
-
-    return EXIT_SUCCESS;
-}
-```
-
-If we use GCC to compile and run it, need run two commands:
-
-```bash
-$ gcc ./main.c -o main
-$ ./main
-```
-
-If we use xmake to run it, only need to run:
-
-```bash
-$ xmake run
-```
-
-Or even:
-
-```bash
-$ xmake r
-```
-
-As we expect, we see...
-
-```
-Hello, world!
-```
-
-...printed to the console! Even if we have a lot of source files, you only need to run one command:
-
-```bash
-$ xmake run
-```
-
-How easy and convenient!
-
-### Multi-language support
-
-This feature of autogeneration of project files not only supports C/C++, also supports Objective-C and Swift, and it will support Go in future. For example, if you download the `fmdb` library, an iOS library which wraps SQLite:
-
-```
-# Files:
-.
-├── FMDB.h
-├── FMDatabase.h
-├── FMDatabase.m
-├── FMDatabaseAdditions.h
-├── FMDatabaseAdditions.m
-├── FMDatabasePool.h
-├── FMDatabasePool.m
-├── FMDatabaseQueue.h
-├── FMDatabaseQueue.m
-├── FMResultSet.h
-└── FMResultSet.m
-```
-
-You can see that there aren't any make-like files in the project directory. "Whatever will we do?" I think you know. We can use Xmake to build it directly as a iOS static library:
-
-```bash
-$ xmake f -p iphoneos; xmake
-```
-
-The output is:
-
-```
-xmake.lua not found, scanning files ..
-target(FMDB): static
-    [+]: ./FMDatabase.m
-    [+]: ./FMDatabaseAdditions.m
-    [+]: ./FMDatabasePool.m
-    [+]: ./FMDatabaseQueue.m
-    [+]: ./FMResultSet.m
-xmake.lua generated, scan ok!👌
-checking for the architecture ... armv7
-checking for the Xcode SDK version for iphoneos ... 10.1
-checking for the target minimal version ... 10.1
-checking for the c compiler (cc) ... xcrun -sdk iphoneos clang
-checking for the c++ compiler (cxx) ... xcrun -sdk iphoneos clang
-checking for the objc compiler (mm) ... xcrun -sdk iphoneos clang
-checking for the objc++ compiler (mxx) ... xcrun -sdk iphoneos clang++
-checking for the assember (as) ... gas-preprocessor.pl xcrun -sdk iphoneos clang
-checking for the linker (ld) ... xcrun -sdk iphoneos clang++
-checking for the static library archiver (ar) ... xcrun -sdk iphoneos ar
-checking for the static library extractor (ex) ... xcrun -sdk iphoneos ar
-checking for the shared library linker (sh) ... xcrun -sdk iphoneos clang++
-checking for the swift compiler (sc) ... xcrun -sdk iphoneos swiftc
-configure
-{
-    ex = "xcrun -sdk iphoneos ar"
-,   ccache = "ccache"
-,   host = "macosx"
-,   ar = "xcrun -sdk iphoneos ar"
-,   buildir = "build"
-,   as = "/usr/local/share/xmake/tools/utils/gas-preprocessor.pl xcrun -sdk iphoneos clang"
-,   arch = "armv7"
-,   mxx = "xcrun -sdk iphoneos clang++"
-,   cxx = "xcrun -sdk iphoneos clang"
-,   target_minver = "10.1"
-,   xcode_dir = "/Applications/Xcode.app"
-,   clean = true
-,   sh = "xcrun -sdk iphoneos clang++"
-,   cc = "xcrun -sdk iphoneos clang"
-,   ld = "xcrun -sdk iphoneos clang++"
-,   mode = "release"
-,   kind = "static"
-,   plat = "iphoneos"
-,   xcode_sdkver = "10.1"
-,   sc = "xcrun -sdk iphoneos swiftc"
-,   mm = "xcrun -sdk iphoneos clang"
-}
-configure ok!
-clean ok!
-[00%]: cache compiling.release ./FMDatabase.m
-[20%]: cache compiling.release ./FMDatabaseAdditions.m
-[40%]: cache compiling.release ./FMDatabasePool.m
-[60%]: cache compiling.release ./FMDatabaseQueue.m
-[80%]: cache compiling.release ./FMResultSet.m
-[100%]: archiving.release libFMDB.a
-build ok!👌
-```
-
-and of course we also get a `libFMDB.a` static library.
-
-### Compile multiple executables at the same time
-
-Let's say you downloaded the "sixth public release of the Independent JPEG Group's free JPEG software", and wanted to build it. You could do it yourself, or you could run:
-
-```bash
-xmake
-```
-
-The output results are:
-
-```
-xmake.lua not found, scanning files ..
-target(jpeg-6b): static
-    [+]: ./cdjpeg.c
-    [+]: ./example.c
-    [+]: ./jcapimin.c
-    [+]: ./jcapistd.c
-    [+]: ./jccoefct.c
-    [+]: ./jccolor.c
-    [+]: ./jcdctmgr.c
-    [+]: ./jchuff.c
-    [+]: ./jcinit.c
-    [+]: ./jcmainct.c
-    [+]: ./jcmarker.c
-    [+]: ./jcmaster.c
-    [+]: ./jcomapi.c
-    [+]: ./jcparam.c
-    [+]: ./jcphuff.c
-    [+]: ./jcprepct.c
-    [+]: ./jcsample.c
-    [+]: ./jctrans.c
-    [+]: ./jdapimin.c
-    [+]: ./jdapistd.c
-    [+]: ./jdatadst.c
-    [+]: ./jdatasrc.c
-    [+]: ./jdcoefct.c
-    [+]: ./jdcolor.c
-    [+]: ./jddctmgr.c
-    [+]: ./jdhuff.c
-    [+]: ./jdinput.c
-    [+]: ./jdmainct.c
-    [+]: ./jdmarker.c
-    [+]: ./jdmaster.c
-    [+]: ./jdmerge.c
-    [+]: ./jdphuff.c
-    [+]: ./jdpostct.c
-    [+]: ./jdsample.c
-    [+]: ./jdtrans.c
-    [+]: ./jerror.c
-    [+]: ./jfdctflt.c
-    [+]: ./jfdctfst.c
-    [+]: ./jfdctint.c
-    [+]: ./jidctflt.c
-    [+]: ./jidctfst.c
-    [+]: ./jidctint.c
-    [+]: ./jidctred.c
-    [+]: ./jmemansi.c
-    [+]: ./jmemmgr.c
-    [+]: ./jmemname.c
-    [+]: ./jmemnobs.c
-    [+]: ./jquant1.c
-    [+]: ./jquant2.c
-    [+]: ./jutils.c
-    [+]: ./rdbmp.c
-    [+]: ./rdcolmap.c
-    [+]: ./rdgif.c
-    [+]: ./rdppm.c
-    [+]: ./rdrle.c
-    [+]: ./rdswitch.c
-    [+]: ./rdtarga.c
-    [+]: ./transupp.c
-    [+]: ./wrbmp.c
-    [+]: ./wrgif.c
-    [+]: ./wrppm.c
-    [+]: ./wrrle.c
-    [+]: ./wrtarga.c
-target(ansi2knr): binary
-    [+]: ./ansi2knr.c
-target(cjpeg): binary
-    [+]: ./cjpeg.c
-target(ckconfig): binary
-    [+]: ./ckconfig.c
-target(djpeg): binary
-    [+]: ./djpeg.c
-target(jpegtran): binary
-    [+]: ./jpegtran.c
-target(rdjpgcom): binary
-    [+]: ./rdjpgcom.c
-target(wrjpgcom): binary
-    [+]: ./wrjpgcom.c
-xmake.lua generated, scan ok!👌
-checking for the architecture ... x86_64
-checking for the Xcode SDK version for macosx ... 10.12
-checking for the target minimal version ... 10.12
-checking for the c compiler (cc) ... xcrun -sdk macosx clang
-checking for the c++ compiler (cxx) ... xcrun -sdk macosx clang
-checking for the objc compiler (mm) ... xcrun -sdk macosx clang
-checking for the objc++ compiler (mxx) ... xcrun -sdk macosx clang++
-checking for the swift compiler (sc) ... xcrun -sdk macosx swiftc
-checking for the assember (as) ... xcrun -sdk macosx clang
-checking for the linker (ld) ... xcrun -sdk macosx clang++
-checking for the static library archiver (ar) ... xcrun -sdk macosx ar
-checking for the static library extractor (ex) ... xcrun -sdk macosx ar
-checking for the shared library linker (sh) ... xcrun -sdk macosx clang++
-checking for the debugger (dd) ... xcrun -sdk macosx lldb
-checking for the golang compiler (go) ... go
-configure
-{
-    ex = "xcrun -sdk macosx ar"
-,   sh = "xcrun -sdk macosx clang++"
-,   host = "macosx"
-,   ar = "xcrun -sdk macosx ar"
-,   buildir = "build"
-,   as = "xcrun -sdk macosx clang"
-,   plat = "macosx"
-,   xcode_dir = "/Applications/Xcode.app"
-,   arch = "x86_64"
-,   mxx = "xcrun -sdk macosx clang++"
-,   go = "go"
-,   target_minver = "10.12"
-,   ccache = "ccache"
-,   mode = "release"
-,   clean = true
-,   cxx = "xcrun -sdk macosx clang"
-,   cc = "xcrun -sdk macosx clang"
-,   dd = "xcrun -sdk macosx lldb"
-,   kind = "static"
-,   ld = "xcrun -sdk macosx clang++"
-,   xcode_sdkver = "10.12"
-,   sc = "xcrun -sdk macosx swiftc"
-,   mm = "xcrun -sdk macosx clang"
-}
-configure ok!
-clean ok!
-[00%]: cache compiling.release ./cdjpeg.c
-[00%]: cache compiling.release ./example.c
-[00%]: cache compiling.release ./jcapimin.c
-[00%]: cache compiling.release ./jcapistd.c
-[00%]: cache compiling.release ./jccoefct.c
-[00%]: cache compiling.release ./jccolor.c
-[01%]: cache compiling.release ./jcdctmgr.c
-[01%]: cache compiling.release ./jchuff.c
-[01%]: cache compiling.release ./jcinit.c
-[01%]: cache compiling.release ./jcmainct.c
-[01%]: cache compiling.release ./jcmarker.c
-[02%]: cache compiling.release ./jcmaster.c
-[02%]: cache compiling.release ./jcomapi.c
-[02%]: cache compiling.release ./jcparam.c
-[02%]: cache compiling.release ./jcphuff.c
-[02%]: cache compiling.release ./jcprepct.c
-[03%]: cache compiling.release ./jcsample.c
-[03%]: cache compiling.release ./jctrans.c
-[03%]: cache compiling.release ./jdapimin.c
-[03%]: cache compiling.release ./jdapistd.c
-[03%]: cache compiling.release ./jdatadst.c
-[04%]: cache compiling.release ./jdatasrc.c
-[04%]: cache compiling.release ./jdcoefct.c
-[04%]: cache compiling.release ./jdcolor.c
-[04%]: cache compiling.release ./jddctmgr.c
-[04%]: cache compiling.release ./jdhuff.c
-[05%]: cache compiling.release ./jdinput.c
-[05%]: cache compiling.release ./jdmainct.c
-[05%]: cache compiling.release ./jdmarker.c
-[05%]: cache compiling.release ./jdmaster.c
-[05%]: cache compiling.release ./jdmerge.c
-[06%]: cache compiling.release ./jdphuff.c
-[06%]: cache compiling.release ./jdpostct.c
-[06%]: cache compiling.release ./jdsample.c
-[06%]: cache compiling.release ./jdtrans.c
-[06%]: cache compiling.release ./jerror.c
-[07%]: cache compiling.release ./jfdctflt.c
-[07%]: cache compiling.release ./jfdctfst.c
-[07%]: cache compiling.release ./jfdctint.c
-[07%]: cache compiling.release ./jidctflt.c
-[07%]: cache compiling.release ./jidctfst.c
-[08%]: cache compiling.release ./jidctint.c
-[08%]: cache compiling.release ./jidctred.c
-[08%]: cache compiling.release ./jmemansi.c
-[08%]: cache compiling.release ./jmemmgr.c
-[08%]: cache compiling.release ./jmemname.c
-[09%]: cache compiling.release ./jmemnobs.c
-[09%]: cache compiling.release ./jquant1.c
-[09%]: cache compiling.release ./jquant2.c
-[09%]: cache compiling.release ./jutils.c
-[09%]: cache compiling.release ./rdbmp.c
-[10%]: cache compiling.release ./rdcolmap.c
-[10%]: cache compiling.release ./rdgif.c
-[10%]: cache compiling.release ./rdppm.c
-[10%]: cache compiling.release ./rdrle.c
-[10%]: cache compiling.release ./rdswitch.c
-[11%]: cache compiling.release ./rdtarga.c
-[11%]: cache compiling.release ./transupp.c
-[11%]: cache compiling.release ./wrbmp.c
-[11%]: cache compiling.release ./wrgif.c
-[11%]: cache compiling.release ./wrppm.c
-[12%]: cache compiling.release ./wrrle.c
-[12%]: cache compiling.release ./wrtarga.c
-[12%]: archiving.release libjpeg-6b.a
-[12%]: cache compiling.release ./wrjpgcom.c
-[25%]: linking.release wrjpgcom
-[25%]: cache compiling.release ./ansi2knr.c
-[37%]: linking.release ansi2knr
-[37%]: cache compiling.release ./jpegtran.c
-[50%]: linking.release jpegtran
-[50%]: cache compiling.release ./djpeg.c
-[62%]: linking.release djpeg
-[62%]: cache compiling.release ./ckconfig.c
-[75%]: linking.release ckconfig
-[75%]: cache compiling.release ./rdjpgcom.c
-[87%]: linking.release rdjpgcom
-[87%]: cache compiling.release ./cjpeg.c
-[100%]: linking.release cjpeg
-build ok!👌
-```
-
-In addition to a static library, we also compiled some other executable programs.
-
-```
-target(ansi2knr): binary
-    [+]: ./ansi2knr.c
-target(cjpeg): binary
-    [+]: ./cjpeg.c
-target(ckconfig): binary
-    [+]: ./ckconfig.c
-target(djpeg): binary
-    [+]: ./djpeg.c
-target(jpegtran): binary
-    [+]: ./jpegtran.c
-target(rdjpgcom): binary
-    [+]: ./rdjpgcom.c
-target(wrjpgcom): binary
-    [+]: ./wrjpgcom.c
-```
-
-Neat!
-
-### Manual configuration
-
-If we want to add some manual configuration options. we need add them before compiling. For example:
-
-```bash
-# Specify our options
-$ xmake f --cxflags="--cxx-flag" --ldflags="--link-flag" --includedirs="include/" --linkdirs="lib/"
-
-# Build!
-$ xmake
-```

+ 0 - 175
features/build_cache.md

@@ -1,175 +0,0 @@
-# Build caching
-
-Xmake supports various methods of caching in the build process, which can speed up your builds:
-
-![](/assets/img/speed_skating.svg)
-
-Your build might be as fast as the above speed skater!
-
-## Local compilation cache
-
-By default, Xmake will enable the local cache. The version before 2.6.5 uses the external ccache by default, and after 2.6.6, Xmake provides a built-in cross-platform local cache solution.
-
-Compared with third-party independent processes such as ccache, Xmake's internal state maintenance is easier to optimize, and it also avoids frequent independent process loading and time-consuming, and avoids additional communication with the daemon process. In addition, the built-in cache works better cross-platform, and it also supports MSVC on Windows well, while ccache only supports the GCC and Clang toolchains.
-
-If it's causing you problems, we can also disable the cache with the following command.
-
-```bash
-$ xmake f --ccache=n
-```
-
-Note: Regardless of whether the built-in local cache is used, the configuration name is `--ccache=`, which means the C/C++ build cache, not just the name of the ccache tool.
-
-If we want to continue to use other external caching tools, we can also configure it in the following way.
-
-```bash
-$ xmake f --ccache=n --cxx="ccache gcc" --cc="ccache gcc"
-$ xmake
-```
-
-## Remote compilation cache
-
-In addition to local caching, we also provide remote caching services, similar to Mozilla's sscache, which is usually not used if it is only for personal development. However, if a large-scale project is developed collaboratively by multiple people within an organization, distributed compilation and local caching alone are not enough. We also need to cache the compiled object files to a separate server for sharing.
-
-This way, even if other people compile it for the first time, they do not need to compile it every time, and instead can directly pull the cache from the remote to speed up the compilation. In addition, the remote cache service provided by Xmake is also supported by all platforms, not only GCC and Clang, but also MSVC.
-
-### Start the service
-
-We can specify the `--ccache` parameter to enable the remote compilation cache service. Of course, if this parameter is not specified, Xmake will enable all server-configured services by default.
-
-```bash
-$ xmake service --ccache
-<remote_cache_server>: listening 0.0.0.0:9092 ..
-```
-
-We can also start the service and echo detailed log information with the `-vD` flag.
-
-```bash
-$ xmake service --ccache -vD
-<remote_cache_server>: listening 0.0.0.0:9092 ..
-```
-
-### Start the service in Daemon mode
-
-To start, restart, or stop the cache service in daemon mode, you can issue the below commands:
-
-```bash
-$ xmake service --ccache --start
-$ xmake service --ccache --restart
-$ xmake service --ccache --stop
-```
-
-### Configure the server
-
-To configure the server, you must first generate the configuration file, or grab one off the internet (the first option is the easier). To do so, run the `xmake service` command, and it will automatically generate a default `server.conf` configuration file, stored in `~/.xmake/service/server.conf`.
-
-```bash
-$ xmake service
-generating the config file to /Users/ruki/.xmake/service/server.conf ..
-a token(590234653af52e91b9e438ed860f1a2b) is generated, we can use this token to connect service.
-generating the config file to /Users/ruki/.xmake/service/client.conf ..
-<remote_cache_server>: listening 0.0.0.0:9692 ..
-```
-
-Then, we edit it, fixing the server's listening port (optional).
-
-```bash
-{
-    distcc_build = {
-        listen = "0.0.0.0:9692",
-        workdir = "/Users/ruki/.xmake/service/server/remote_cache"
-    },
-    known_hosts = { },
-    logfile = "/Users/ruki/.xmake/service/server/logs.txt",
-    tokens = {
-        "590234653af52e91b9e438ed860f1a2b"
-    }
-}
-```
-
-### Configure the client
-
-The client configuration file is in `~/.xmake/service/client.conf`, where it can be specified where to connect to. We can configure multiple server addresses and corresponding tokens in the hosts list.
-
-```bash
-{
-    remote_cache = {
-            connect = "127.0.0.1:9692",
-            token = "590234653af52e91b9e438ed860f1a2b"
-        }
-    }
-}
-```
-
-#### Timeout configuration
-
-By default, clients connect, send and receive data with unlimited waiting without timeout, but if the network to access the server is unstable, then there is a chance that access may get stuck, and this can be solved by configuring a timeout. If a timeout exception occurs, it will automatically degrade to local cache and will not be stuck forever.
-
-We can configure, `send_timeout`, `recv_timeout` and `connect_timeout` to take effect for all client services if set at the root.
-
-```bash
-{
-    send_timeout = 5000,
-    recv_timeout = 5000,
-    connect_timeout = 5000
-}
-```
-
-We can also configure the timeout just for the current remote cache service, leaving the other services with the default timeout.
-
-```bash
-{
-    distcc_build = {
-        send_timeout = 5000,
-        recv_timeout = 5000,
-        connect_timeout = 5000,
-    }
-}
-```
-
-!> The server-side configuration also supports timeout configuration.
-
-### User authorization
-
-For user authorization, please refer to [Remote Compilation/User Authorization](/#/guide/other_features?id=user-authorization)
-
-### Connect to the server
-
-After configuring the authentication and server address, you can enter the following command to connect the current project to the configured server. We need to enter `--ccache` when connecting to specify that only the remote compilation cache service is connected.
-
-```bash
-$ cd projectdir
-$ xmake service --connect --ccache
-<client>: connect 127.0.0.1:9692 ..
-<client>: 127.0.0.1:9692 connected!
-```
-
-We can also connect to multiple services at the same time, such as distributed compilation and remote compilation cache services.
-
-```bash
-$ xmake service --connect --distcc --ccache
-```
-
-If there is no parameter, the default connection is the remote compilation service.
-
-#### Disconnect
-
-```bash
-$ xmake service --disconnect --ccache
-```
-
-#### Clean the server cache
-
-We can also use the following command to clear the cache on the remote server corresponding to the current project.
-
-```bash
-$ xmake service --clean --ccache
-```
-
-...and if we execute `xmake clean --all`, when the remote service is connected, all caches will be automatically cleaned up.
-
-#### Some internal optimizations
-
-1. Pull the snapshot of the remote cache and send it back to the local through bloom filter + lz4, which is used to quickly determine whether the cache exists and avoid frequently querying the server cache information
-2. With the local cache, you can avoid frequent requests to the remote server and pull the cache.
-3. Internal state maintenance, compared with independent tools such as sscache, avoids frequent independent process loading and time-consuming, and avoids additional communication with the daemon process

+ 0 - 322
features/distcc_build.md

@@ -1,322 +0,0 @@
-# Distributed Building
-
-Xmake provides a built-in distributed compilation service, usually it can cooperate with local compilation cache and remote compilation cache to achieve optimal compilation acceleration. It is fully cross-platform supported, we not only support GCC and Clang, but also Windows and MSVC as well.
-
-For cross-compilation, as long as the cross-toolchain supports it, we do not require the system environment of the server. Even if the server resources of linux, macOS and Windows are mixed, distributed compilation can be realized to its fullest potensial!
-
-### Start the service
-
-We can specify the `--distcc` parameter to enable the distributed compilation service. Of course, if this parameter is not specified, Xmake will enable all server-configured services by default.
-
-Here we assume that there are two machines as a distributed compilation server cluster, with the IP addresses `192.168.22.168` and `192.168.22.169`. On the two servers execute the following command:
-
-```bash
-$ xmake service --distcc
-<distcc_build_server>: listening 0.0.0.0:9093 ..
-```
-
-Or for a more verbose experience with more detailed log messages, run it with the `-vD` flag.
-
-```bash
-$ xmake service --distcc -vD
-<distcc_build_server>: listening 0.0.0.0:9093 ..
-```
-
-### Start the service in Daemon mode
-
-To start the service in daemon mode, and control it, run:
-
-```bash
-$ xmake service --distcc --start
-$ xmake service --distcc --restart
-$ xmake service --distcc --stop
-```
-
-### Configure the server
-
-We first, run the `xmake service` command, it will automatically generate a default `server.conf` configuration file, stored in `~/.xmake/service/server.conf`.
-
-```bash
-$ xmake service
-generating the config file to /Users/ruki/.xmake/service/server.conf ..
-an token(590234653af52e91b9e438ed860f1a2b) is generated, we can use this token to connect service.
-generating the config file to /Users/ruki/.xmake/service/client.conf ..
-<distcc_build_server>: listening 0.0.0.0:9693 ..
-```
-
-Then, we edit it, fixing the server's listening port (optional).
-
-```bash
-{
-    distcc_build = {
-        listen = "0.0.0.0:9693",
-        workdir = "/Users/ruki/.xmake/service/server/distcc_build"
-    },
-    known_hosts = { },
-    logfile = "/Users/ruki/.xmake/service/server/logs.txt",
-    tokens = {
-        "590234653af52e91b9e438ed860f1a2b"
-    }
-}
-```
-
-### Configure the client
-
-The client configuration file is in `~/.xmake/service/client.conf`, where we can configure the server address that the client needs to connect to. We can configure multiple server addresses and corresponding tokens in the hosts list.
-
-With distributed compilation, it is recommended to use the token authentication mode, because the password mode requires a password to be entered for each server connection, which can become very annoying very fast.
-
-```bash
-{
-    distcc_build = {
-        hosts = {
-            {
-                connect = "192.168.22.168:9693",
-                token = "590234653af52e91b9e438ed860f1a2b"
-            },
-            {
-                connect = "192.168.22.169:9693",
-                token = "590234653af52e91b9e438ed860f1a2b"
-            }
-        }
-        }
-    }
-}
-```
-
-#### Timeout configuration
-
-By default, clients connect, send and receive data with unlimited waiting without timeout, but if the network to access the server is unstable, then there is a chance that access may get stuck, and this can be solved by configuring a timeout. If a timeout exception occurs, it will automatically degrade to local compilation and will not be stuck forever.
-
-We can configure, `send_timeout`, `recv_timeout` and `connect_timeout` to take effect for all client services if set at the root.
-
-```bash
-{
-    send_timeout = 5000,
-    recv_timeout = 5000,
-    connect_timeout = 5000
-}
-```
-
-We can also configure the timeout just for the current distributed build service, leaving the other services with the default timeout.
-
-```bash
-{
-    distcc_build = {
-        send_timeout = 5000,
-        recv_timeout = 5000,
-        connect_timeout = 5000,
-    }
-}
-```
-
-The server-side configuration also supports timeout configuration.
-
-### User authorization
-
-For user authorization, please refer to [Remote Compilation/User Authorization](/#/guide/other_features?id=user-authorization).
-
-### Connect to the server
-
-After configuring the authentication and server address, you can enter the following command to connect the current project to the configured server.
-
-We need to enter `--distcc` when connecting to specify that only distributed services are connected.
-
-```bash
-$ cd projectdir
-$ xmake service --connect --distcc
-<client>: connect 127.0.0.1:9693 ..
-<client>: 127.0.0.1:9693 connected!
-```
-
-We can also connect to multiple services at the same time, such as distributed compilation and remote compilation cache services.
-
-```bash
-$ xmake service --connect --distcc --ccache
-```
-
-If there is no parameter, the default connection is the remote compilation service.
-
-### Distributed compilation project
-
-After connecting to the server, we can perform distributed compilation transparently (e.g. just like normal local compilation). For example:
-
-```bash
-$ xmake
-...
-[ 93%]: cache compiling.release src/demo/network/unix_echo_client.c ----> local job
-[ 93%]: cache compiling.release src/demo/network/ipv6.c
-[ 93%]: cache compiling.release src/demo/network/ping.c
-[ 93%]: distcc compiling.release src/demo/network/unix_echo_server.c. ----> distcc job
-[93%]: distcc compiling.release src/demo/network/http.c
-[ 93%]: distcc compiling.release src/demo/network/unixaddr.c
-[ 93%]: distcc compiling.release src/demo/network/ipv4.c
-[ 94%]: distcc compiling.release src/demo/network/ipaddr.c
-[94%]: distcc compiling.release src/demo/math/fixed.c
-[94%]: distcc compiling.release src/demo/libm/float.c
-[ 95%]: cache compiling.release src/demo/libm/double.c
-[ 95%]: cache compiling.release src/demo/other/test.cpp
-[ 98%]: archiving.release libtbox.a
-[99%]: linking.release demo
-[100%]: build ok!
-```
-
-Among them, the words with distcc are remote compilation tasks, and the others are local compilation tasks. By default, xmake also enables local compilation caching to cache distributed compilation results to avoid frequent requests to the server.
-
-In addition, we can also open the remote compilation cache and share the compilation cache with others to further accelerate the compilation of multi-person collaborative development.
-
-### Disconnect
-
-You can disconnect from a compilation server with:
-
-```bash
-$ xmake service --disconnect --distcc
-```
-
-### Specify the number of parallel compilation tasks
-
-Let's briefly introduce the number of parallel tasks currently calculated by default based on the number of host cpu cores:
-
-```lua
--- let n = number of CPUs
--- let deafult_njob = ⌈(3n) / 2⌉
-local default_njob = math.ceil(ncpu * 3 / 2)
-```
-
-Therefore, if distributed compilation is not enabled, the default maximum number of parallel compilation tasks is `default_njob`. If distributed compilation is enabled, the default number of parallel compilation tasks is:
-
-```lua
--- let n = default number of jobs
--- let c = server count
--- let d = server's default number of jobs
--- let maxjobs = (n + c)d
-local maxjobs = default_njob + server_count * server_default_njob
-```
-
-#### Modify the number of local parallel tasks
-
-We only need to pass `-jN` to specify the number of local parallel tasks (just like in Make), but it will not affect the number of parallel tasks on the server side.
-
-```bash
-$ xmake -jN
-```
-
-#### Modify the number of parallel tasks on the server
-
-If you want to modify the number of parallel tasks on the server, you need to modify the configuration file of the client.
-
-```bash
-{
-    distcc_build = {
-        hosts = {
-            {
-                connect = "127.0.0.1:9693",
-                token = "590234653af52e91b9e438ed860f1a2b",
-                njob = 8 <------- modify here
-            },
-            {
-                connect = "192.168.01:9693",
-                token = "590234653af52e91b9e438ed860f1a2b",
-                njob = 4
-            }
-        }
-    }
-}
-```
-
-For each server host, add the `njob = N` parameter configuration to specify the number of parallel jobs that this server can provide.
-
-### Distributed compilation of Android projects
-
-The distributed compilation service provided by Xmake is completely cross-platform and supports Windows, Linux, macOS, Android, iOS. It even supports cross compilation, so you can have a network of servers used for cross compilation that might be running macOS, Linux, or Windows. No lock in!
-
-If you want to compile an Android project, for example, you only need to add the `toolchains` toolchain configuration in the server configuration, and provide the path of the NDK.
-
-```bash
-{
-    distcc_build = {
-        listen = "0.0.0.0:9693",
-        toolchains = {
-            ndk = {
-                ndk = "~/files/android-ndk-r21e" <------------ here
-            }
-        },
-        workdir = "/Users/ruki/.xmake/service/server/distcc_build"
-    },
-    known_hosts = { },
-    logfile = "/Users/ruki/.xmake/service/server/logs.txt",
-    tokens = {
-        "590234653af52e91b9e438ed860f1a2b"
-    }
-}
-```
-
-Then, we can compile the Android project in a distributed way like normal local compilation, and even configure multiple Windows, macOS, Linux and other different server hosts, as the resources of the distributed compilation service, to compile it.
-
-Just download the NDK for the corresponding platform.
-
-```bash
-$ xmake f -p android --ndk=~/files/xxxx
-$ xmake
-```
-
-### Distributed compilation of iOS projects
-
-Compiling iOS projects is easier, because Xmake can usually automatically detect Xcode, so just switch the platform to iOS like you would normally do for local development.
-
-```bash
-$ xmake f -p iphoneos
-$ xmake
-```
-
-### Distributed cross compilation configuration
-
-If we want to distribute cross-compilation, we need to configure the toolchain SDK path on the server, for example:
-
-```bash
-{
-    distcc_build = {
-        listen = "0.0.0.0:9693",
-        toolchains = {
-            cross = {
-                sdkdir = "~/files/arm-linux-xxx" <------------ here
-            }
-        },
-        workdir = "/Users/ruki/.xmake/service/server/distcc_build"
-    },
-    known_hosts = { },
-    logfile = "/Users/ruki/.xmake/service/server/logs.txt",
-    tokens = {
-        "590234653af52e91b9e438ed860f1a2b"
-    }
-}
-```
-
-Among them, under toolchains, each item corresponds to a toolchain, here is configured as `cross = {}` cross toolchain, corresponding to `toolchain("cross")`. In the toolchain, we can configure `sdkdir`, `bindir`, `cross`, etc., corresponding to the interface configuration of `set_sdkdir`, `set_bindir` and `set_cross` in `toolchain("cross")`.
-
-If the cross toolchain is more standardized, we usually only need to configure `sdkdir`, and xmake can automatically detect it.
-
-On the client side, \compilation only needs to specify the SDK directory.
-
-```bash
-$ xmake f -p cross --sdk=/xxx/arm-linux-xxx
-$ xmake
-```
-
-### Clean the server cache
-
-The compilation of each project on the server side will generate some cache files, which are stored according to the project granularity. We can use the following command to clear the cache corresponding to each server for the current project.
-
-```bash
-$ xmake service --clean --distcc
-```
-
-### Some internal optimizations
-
-1. Cache server-side compilation results to avoid repeated compilation
-2. Local cache, remote cache optimization, avoid unnecessary server communication
-3. Server load balancing scheduling, rational allocation of server resources
-4. Small files are compiled directly locally after preprocessing, which is usually faster
-5. Real-time compression and transmission of large files, based on lz4 fast compression
-6. Internal state maintenance, compared to independent tools such as distcc, avoids frequent independent process loading and time-consuming, and avoids additional communication with the daemon process
-

Некоторые файлы не были показаны из-за большого количества измененных файлов