xmake-io

xmake

xmake-io

A cross-platform build utility based on Lua, combining build backend, project generator, package manager, remote/distributed build, and cache in one tool.

v3.1.2
Published at
28d ago
12,302
Stars
381,847
Download
Synced at
10m ago

Latest release

v3.1.2Oct 16, 2026, 02:09 PM
Downloads slow? Switch the source anytime above

README

Project Overview

Xmake is a cross-platform build utility based on the Lua scripting language. It is very lightweight with no dependencies outside the standard library. It uses the xmake.lua file for project builds with a simple and readable syntax. Xmake can build source code directly or generate project files, and includes a built-in package management system.

Key Features

  • Lua-based build configuration with simple syntax
  • Built-in package management system
  • Remote/distributed build and cache support
  • Supports multiple platforms: Windows, macOS, Linux, Android, iOS, FreeBSD, and more
  • Supports multiple architectures: x86, x86_64, ARM, ARM64, RISC-V, MIPS, and more
  • Alternative to Make/Ninja, CMake/Meson, Vcpkg/Conan, distcc, ccache/sccache

Target Audience

  • C/C++ developers
  • Teams who need cross-platform builds and package management

Quick Start

# Install
curl -fsSL https://xmake.io/shget.text | bash

# Build project
xmake

# Run target
xmake run console

# Configure platform
xmake f -p [windows|linux|macosx|android|iphoneos] -a [x86|arm64] -m [debug|release]

Core Advantages

  • Lightweight with no external dependencies
  • Combines build, project generation, and package management
  • Broad cross-platform support
  • Simple and readable syntax

System Requirements

  • OS: Cross-platform (Windows, macOS, Linux, Android, iOS, FreeBSD, and more)

Release history

Sort