🔥 A cross-platform build utility based on Lua
xmake install
preprocessor.linemarkers
policy to disable linemarkers to speed up ccache/distccxmake run
to parallel running of targetspreprocessor.gcc.directives_only
policypreprocessor.linemarkers
策略去禁用 linemarkers 去加速 ccache/distccxmake run
支持并行运行目标程序preprocessor.gcc.directives_only
策略xmake f --policies=
config argument to modify project policiesbuild.ccache
policyxmake f --policies=
配置参数去修改默认策略build.ccache
策略,用于在工程中配置编译缓存--appledev=simulator
to improve apple simulator supportadd_requires
to support git commit as versionadd_filegroups
to support file group for vs/vsxmake/cmake generatoros.files
--appledev=simulator
去改进 Apple 模拟器目标编译支持add_requires
支持 git command 作为版本add_filegroups
接口为 vs/vsxmake/cmake generator 增加文件组支持xmake update --integrate
to integrate for shellxrepo install xxx.lua
xmake update --integrate
命令去整合 shellxrepo install xxx.lua
python.library
rule to build pybind modulesremove_files
, remove_headerfiles
and mark del_files
as deprecatedxmake g --proxy_pac=github_mirror.lua
python.library
规则去构建 pybind 模块,并且支持 soabiremove_files
, remove_headerfiles
并且标记 del_files
作为废弃接口xmake g --proxy_pac=github_mirror.lua
plugin.vsxmake.autoupdate
ruleXMAKE_THEME
envirnoment variable to switch theme-f/--force
to force to create project in a non-empty directoryplugin.vsxmake.autoupdate
规则XMAKE_THEME
环境变量去切换主题配置-f/--force
参数使得 xmake create
可以在费控目录被强制创建utils.glsl2spv
rules to compile .vert/.frag shader files to spirv file and binary c header fileset_runtimes("microlib")
xmake f --menu
not responding in vscode and support ConPTY terminal virtkeysutils.glsl2spv
规则去编译 .vert/.frag shader 文件生成 spirv 文件和二进制 C 头文件set_runtimes("microlib")
set_kind("headeronly")
for target to install files for headeronly libraryxmake l cli.amalgamate
xrepo env
-Gd
for ml.exe/x86set_kind("headeronly")
更好的处理 headeronly 库的安装xmake l cli.amalgamate
命令支持代码合并xrepo env
管理和切换指定的环境配置check_macros
set_symbols("debug")
to generate pdb file for clang on windowsc++latest
and clatest
for set_languages
save_scope
and restore_scope
to fix check_xxx
apischeck_macros
检测接口set_symbols("debug")
支持 clang/windows 生成 pdb 文件set_languages
新增 c++latest
和 clatest
配置值save_scope
和 restore_scope
去修复 check_xxx
相关接口