安装

使用curl

$ bash <(curl -fsSL http://xmake.io/get.sh)

使用wget

$ bash <(wget http://xmake.io/get.sh -O -)

使用powershell

$ Invoke-Expression (Invoke-Webrequest 'http://xmake.io/get.ps1' -UseBasicParsing).Content

简单的工程描述

target("console")
    set_kind("binary")
    add_files("src/*.c") 

构建工程

$ xmake

运行目标

$ xmake run console

调试程序

$ xmake run -d console

支持特性

支持平台

支持语言

内置插件

更多插件

请到插件仓库进行下载安装: xmake-plugins.

使用演示

usage_demo

联系方式