From 1587e4a8f2f04ae73ed770ee53b58d480b68f747 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 21 Jun 2019 22:32:41 +0800 Subject: init for docsify --- cn/index.html | 305 ------------------------------------------------- cn/pages/donation.html | 204 --------------------------------- 2 files changed, 509 deletions(-) delete mode 100644 cn/index.html delete mode 100644 cn/pages/donation.html (limited to 'cn') diff --git a/cn/index.html b/cn/index.html deleted file mode 100644 index fdeddb90..00000000 --- a/cn/index.html +++ /dev/null @@ -1,305 +0,0 @@ - - - - - - xmake - - - - - - - - - - - - - - - - - - - -
- -

安装

- -

使用curl

- -
bash <(curl -fsSL https://raw.githubusercontent.com/tboox/xmake/master/scripts/get.sh)
-
-
- -

使用wget

- -
bash <(wget https://raw.githubusercontent.com/tboox/xmake/master/scripts/get.sh -O -)
-
-
- -

使用powershell

- -
Invoke-Expression (Invoke-Webrequest 'https://raw.githubusercontent.com/tboox/xmake/master/scripts/get.ps1' -UseBasicParsing).Content
-
-
- -

简单的工程描述

- -

- -

包依赖描述

- -

- -

官方的xmake包管理仓库: xmake-repo

- -

构建工程

- -
$ xmake
-
-
- -

运行目标

- -
$ xmake run console
-
-
- -

调试程序

- -
$ xmake run -d console
-
-
- -

配置平台

- -
$ xmake f -p [windows|linux|macosx|android|iphoneos ..] -a [x86|arm64 ..] -m [debug|release]
-$ xmake
-
-
- -

图形化菜单配置

- -
$ xmake f --menu
-
-
- -

- -

包依赖管理

- -

- -

支持平台

- - - -

支持语言

- - - -

工程类型

- - - -

内置插件

- -

宏记录脚本和回放插件

- -
$ xmake m -b                        # 开始记录
-$ xmake f -p iphoneos -m debug
-$ xmake 
-$ xmake f -p android --ndk=~/files/android-ndk-r16b
-$ xmake
-$ xmake m -e                        # 结束记录
-$ xmake m .                         # 回放命令
-
-
- -

加载自定义lua脚本插件

- -
$ xmake l ./test.lua
-$ xmake l -c "print('hello xmake!')"
-$ xmake l lib.detect.find_tool gcc
-
-
- -

生成IDE工程文件插件(makefile, vs2002 - vs2017, …)

- -
$ xmake project -k vs2017 -m "debug,release"
-
-
- -

生成doxygen文档插件

- -
$ xmake doxygen [srcdir]
-
-
- -

更多插件

- -

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

- -

IDE和编辑器插件

- - - -

- - - -

- - - -

- - - -

更多例子

- -

Debug和Release模式:

- -
add_rules("mode.debug", "mode.release")
-
-target("console")
-    set_kind("binary")
-    add_files("src/*.c") 
-    if is_mode("debug") then
-        add_defines("DEBUG")
-    end
-
-
- -

下载和使用远程依赖包:

- -
add_requires("libuv master", "ffmpeg", "zlib 1.20.*")
-add_requires("tbox >1.6.1", {optional = true, debug = true})
-target("test")
-    set_kind("shared")
-    add_files("src/*.c")
-    add_packages("libuv", "ffmpeg", "tbox", "zlib")
-
-
- -

查找和使用本地已安装的包:

- -
target("test")
-    set_kind("shared")
-    add_files("src/*.c")
-    on_load(function (target)
-        import("lib.detect.find_package")
-        target:add(find_package("zlib"))
-        target:add(find_package("openssl"))
-    end)
-
-
- -

项目例子

- -

一些使用xmake的项目:

- - - -

演示视频

- -

- -

- -

联系方式

- - - - - - - - -
- - - diff --git a/cn/pages/donation.html b/cn/pages/donation.html deleted file mode 100644 index 5bb55369..00000000 --- a/cn/pages/donation.html +++ /dev/null @@ -1,204 +0,0 @@ - - - - - - xmake - - - - - - - - - - - - - - - - - - - -
- - - -

xmake项目属于个人开源项目,它的发展需要您的帮助,如果您愿意支持xmake项目的开发,欢迎为其捐赠,支持它的发展。

- -

支付宝

- -

alipay

- -

账号:waruqi@gmail.com

- -

微信

- -

weixin

- -

Paypal

- -

Paypal Me

- -

支持者

- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2019.06.19匿名微信¥10比cmake好用
2018.11.16孙果微信¥10xmake很好用,加油!
2018.10.17红红微信¥100 
2018.10.15xtvjxk支付宝¥10希望越来越好用
2018.08.07fasiondoggitee¥50感谢您的开源项目!
2018.06.27Kellygod支付宝¥30拥抱xmake
2018.05.17匿名微信¥10加油xmake
2018.04.29清春支付宝¥180 
2018.02.18氧烷支付宝¥16.66xmake,赞👍
2017.11.19sytru支付宝¥10感谢作者,让写c/c++有了写脚本的感觉。非常愉悦的使用体验,希望不要消失。
2017.11.16琪峻支付宝¥15感谢好用的xmake
2017.10.26Welthy支付宝¥5xmake很好用啊
2016.11.10lc-softoschina¥10 
- -

赞助者

- -

通过赞助支持此项目,您的logo和网站链接将显示在这里。[赞助此项目]

- -

- - - - - - - - -

- - - - - - -
- - - -- cgit v1.2.3