Downloads:
26
Downloads of v 2.9.9:
26
Last Update:
07 Jun 2025
Package Maintainer(s):
Software Author(s):
- xmake.io and tboox.org
Tags:
xmake
- 1
- 2
- 3
2.9.9 | Updated: 07 Jun 2025
Downloads:
26
Downloads of v 2.9.9:
26
Maintainer(s):
Software Author(s):
- xmake.io and tboox.org
xmake 2.9.9
Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by xmake.io and tboox.org. The inclusion of xmake.io and tboox.org trademark(s), if any, upon this webpage is solely to identify xmake.io and tboox.org goods or services and not for commercial purposes.
- 1
- 2
- 3
Some Checks Have Failed or Are Not Yet Complete
Not All Tests Have Passed
Deployment Method: Individual Install, Upgrade, & Uninstall
To install xmake, run the following command from the command line or from PowerShell:
To upgrade xmake, run the following command from the command line or from PowerShell:
To uninstall xmake, run the following command from the command line or from PowerShell:
Deployment Method:
This applies to both open source and commercial editions of Chocolatey.
1. Enter Your Internal Repository Url
(this should look similar to https://community.chocolatey.org/api/v2/)
2. Setup Your Environment
1. Ensure you are set for organizational deployment
Please see the organizational deployment guide
2. Get the package into your environment
Option 1: Cached Package (Unreliable, Requires Internet - Same As Community)-
Open Source or Commercial:
- Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
- You can also just download the package and push it to a repository Download
-
Open Source
-
Download the package:
Download - Follow manual internalization instructions
-
-
Package Internalizer (C4B)
-
Run: (additional options)
choco download xmake --internalize --source=https://community.chocolatey.org/api/v2/
-
For package and dependencies run:
choco push --source="'INTERNAL REPO URL'"
- Automate package internalization
-
Run: (additional options)
3. Copy Your Script
choco upgrade xmake -y --source="'INTERNAL REPO URL'" [other options]
See options you can pass to upgrade.
See best practices for scripting.
Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.
If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:
choco upgrade xmake -y --source="'INTERNAL REPO URL'"
$exitCode = $LASTEXITCODE
Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
Exit 0
}
Exit $exitCode
- name: Install xmake
win_chocolatey:
name: xmake
version: '2.9.9'
source: INTERNAL REPO URL
state: present
See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.
chocolatey_package 'xmake' do
action :install
source 'INTERNAL REPO URL'
version '2.9.9'
end
See docs at https://docs.chef.io/resource_chocolatey_package.html.
cChocoPackageInstaller xmake
{
Name = "xmake"
Version = "2.9.9"
Source = "INTERNAL REPO URL"
}
Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.
package { 'xmake':
ensure => '2.9.9',
provider => 'chocolatey',
source => 'INTERNAL REPO URL',
}
Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.
4. If applicable - Chocolatey configuration/installation
See infrastructure management matrix for Chocolatey configuration elements and examples.
Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...
This package was approved by moderator flcdrg on 16 Jul 2025.
xmake - A cross-platform build utility based on Lua
Modern C/C++ build tool: Simple, Fast, Powerful dependency package integration
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, GitHub or Gitee. You are also welcome to join our community.
$ErrorActionPreference = 'Stop'
$packageArgs = @{
packageName = $env:ChocolateyPackageName
softwareName = 'xmake*'
fileType = 'exe'
silentArgs = "/S"
validExitCodes= @(0, 3010, 1605, 1614, 1641)
}
[array]$key = Get-UninstallRegistryKey -SoftwareName $packageArgs['softwareName']
if ($key.Count -eq 1) {
$key | ForEach-Object {
$packageArgs['file'] = "$($_.UninstallString)"
Uninstall-ChocolateyPackage @packageArgs
}
} elseif ($key.Count -eq 0) {
Write-Warning "$packageName has already been uninstalled by other means."
} elseif ($key.Count -gt 1) {
Write-Warning "$($key.Count) matches found!"
Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
Write-Warning "Please alert package maintainer the following keys were matched:"
$key | ForEach-Object {Write-Warning "- $($_.DisplayName)"}
}
Log in or click on link to see number of positives.
- xmake.2.9.9.nupkg (daddb04075cf) - ## / 65
- xmake-v2.9.9.win64.exe (934beb6995d8) - ## / 72
- xmake-v2.9.9.win32.exe (93da7a5deb26) - ## / 45
In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).
Chocolatey Pro provides runtime protection from possible malware.
Copyright (c) 2015-present xmake.io and tboox.org
New features
- #6137: IDE integration
- #6138: Use libxmake to build binary with xmake lua apis
- #6154: Add kotlin language and kotlin-native compiler and packages support
- #6279: Add msvc midl support
Changes
- #6182: Support msstl modules for clang
- #6281: Support Verilator target build to shared library
- #6270: Improve conan generator
- #6243: Improve llvm toolchain to support for cross platform
- Support for CMake 4.0
Bugs fixed
- #6292: Fix namespace issue
新特性
- #6137: IDE 整合
- #6138: 使用 libxmake/xmake APIs 去构建二进制
- #6154: 添加 kotlin native 构建支持和包依赖集成支持
- #6279: 添加 msvc midl 支持
改进
- #6182: 改进 clang/clang-cl 支持 msstl 模块
- #6281: 支持 Verilator 动态库
- #6270: 改进 conan 生成器
- #6243: 改进 llvm 工具链对交叉编译的支持
- 三方包安装支持 CMake 4.0
Bugs 修复
- #6292: 修复 namespace 问题
What's Changed
- package.tools.cmake: Set CMAKE_SYSTEM_PROCESSOR when cross-compiling by @SirLynix in https://github.com/xmake-io/xmake/pull/6145
- Rename output makefile -> Makefile. by @per1cycle in https://github.com/xmake-io/xmake/pull/6146
- Improve targetname input checks by @Shiffted in https://github.com/xmake-io/xmake/pull/6142
- feat: improve GN tool to support extra arguments by @poirierlouis in https://github.com/xmake-io/xmake/pull/6149
- Add kotlin language and kotlin-native compiler support by @waruqi in https://github.com/xmake-io/xmake/pull/6153
- Remove msystem include on msys2 by @star-hengxing in https://github.com/xmake-io/xmake/pull/6151
- Fix clang-cl toolchain for msvc-wine by @star-hengxing in https://github.com/xmake-io/xmake/pull/6164
- Fix clang-cl toolchain with lto by @star-hengxing in https://github.com/xmake-io/xmake/pull/6167
- feat(utils.archive): Add zstd support for utils.archive by @24bit-xjkp in https://github.com/xmake-io/xmake/pull/6168
- Add kotlin native package support by @waruqi in https://github.com/xmake-io/xmake/pull/6170
- Pass more options from
package:find_tool
tolib.detect.find_tool
by @Doekin in https://github.com/xmake-io/xmake/pull/6172 - Improve clang toolcahin for building package with lto by @star-hengxing in https://github.com/xmake-io/xmake/pull/6177
- Improve to select vs toolset by @waruqi in https://github.com/xmake-io/xmake/pull/6179
- fix wine/cl output encoding #6191 by @waruqi in https://github.com/xmake-io/xmake/pull/6192
- switch to windows 2025 by @waruqi in https://github.com/xmake-io/xmake/pull/6194
- Support msstl modules for clang by @star-hengxing in https://github.com/xmake-io/xmake/pull/6182
- meson: Force to use vs env on Windows by @SirLynix in https://github.com/xmake-io/xmake/pull/6219
- fix(raddbg): make rad debugger open as detached by @Gaweringo in https://github.com/xmake-io/xmake/pull/6220
- meson: Add cmake search env by @SirLynix in https://github.com/xmake-io/xmake/pull/6222
- devel: enable verbose for git clone by @Sunrisepeak in https://github.com/xmake-io/xmake/pull/6225
- improve find_program by @waruqi in https://github.com/xmake-io/xmake/pull/6229
- package(cmake): fix incorrect flag handling caused by substring matching by @Doekin in https://github.com/xmake-io/xmake/pull/6236
- toolchain(cross): use target-specific
objcopy
by @Doekin in https://github.com/xmake-io/xmake/pull/6240 - toolchain(llvm): preliminary support for
cross
platform by @Doekin in https://github.com/xmake-io/xmake/pull/6243 - fix compile_commands with nvcc by @xq114 in https://github.com/xmake-io/xmake/pull/6251
- (C++ modules) disable std module on some tests by @Arthapz in https://github.com/xmake-io/xmake/pull/6249
- [fix] xmake install skips SO with version like libfreetype.so.6.20.2 by @19317362 in https://github.com/xmake-io/xmake/pull/6257
- srcenv.profile: additional detection of xmake binary in
core/build
by @Doekin in https://github.com/xmake-io/xmake/pull/6265 - improve conan generator by @waruqi in https://github.com/xmake-io/xmake/pull/6270
- fix unknown package tips by @Shiffted in https://github.com/xmake-io/xmake/pull/6277
- Fix git clone failure by @Elite-stay in https://github.com/xmake-io/xmake/pull/6288
- [toolchains(armclang)] fix target and cpu flags for MDK by @jnshuiji in https://github.com/xmake-io/xmake/pull/6286
- Add msvc midl support by @star-hengxing in https://github.com/xmake-io/xmake/pull/6279
- feat(verilator): Support Verilator target build to shared library by @TimeKeepper in https://github.com/xmake-io/xmake/pull/6281
- fix namespace #6292 by @waruqi in https://github.com/xmake-io/xmake/pull/6293
New Contributors
- @per1cycle made their first contribution in https://github.com/xmake-io/xmake/pull/6146
- @poirierlouis made their first contribution in https://github.com/xmake-io/xmake/pull/6149
- @Sunrisepeak made their first contribution in https://github.com/xmake-io/xmake/pull/6225
- @jnshuiji made their first contribution in https://github.com/xmake-io/xmake/pull/6286
- @TimeKeepper made their first contribution in https://github.com/xmake-io/xmake/pull/6281
Full Changelog: https://github.com/xmake-io/xmake/compare/v2.9.8...v2.9.9
This package has no dependencies.
Ground Rules:
- This discussion is only about xmake and the xmake package. If you have feedback for Chocolatey, please contact the Google Group.
- This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
- The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
- Tell us what you love about the package or xmake, or tell us what needs improvement.
- Share your experiences with the package, or extra configuration or gotchas that you've found.
- If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.