$ xmake --group=test 1. 2. 命令来构建他们. $ xmake run -g test $ xmake run --group=test //来批量运行`测试`组. 1. 2. 3. 分组支持匹配模式 $ xmake build -g test_* $ xmake run -g test/foo_* $ xmake build -g bench* $ xmake run -g bench* 1. 2. 3. 4. 方便cmake add...
运行目标 $ xmake run console 调试程序 $ xmake run -d console 运行测试 $ xmaketest 配置平台 $ xmake f -p [windows|linux|macosx|android|iphoneos ..] -a [x86|arm64 ..] -m [debug|release] $ xmake 图形化菜单配置 $ xmake f --menu 跟ninja一样快的构建速度 测试工程:xmake-core 多任务并...
task.run("hello") end) 要传递参数,用set_menu或脚本传参. task.run("hello", {},"arg1","arg2")//{}用于`置菜单`方式 如何取两个参数呢? -- 定义任务task("hello") -- 入口有两个参数on_run(function(arg1, arg2) -- 显示你好print("hello xmake: %s %s!", arg1, arg2) end) 不能用...
Now, we only need to mark the test target programs that need to be executed asset_group("test"), and then we can run them in batches. $ xmake run -g test $ xmake run --group=test Support group pattern matching In addition, we can also support grouped pattern matching, which is very...
或者等https://github.com/xmake-mirror/build-artifacts/actions/runs/4955952415这个 ci 跑完,看看能否命中预编译包拉取 等跑完后执行下 xrepo update-repo xmake f -cvD hyt589 commentedon May 15, 2023 hyt589 或者等https://github.com/xmake-mirror/build-artifacts/actions/runs/4955952415这个 ci 跑完,...
编译带opencv的项目出错。已经 xmake f -c 过几次,没有帮助。 我想请教一下作者这有什么可能的原因?十分感谢! xmake.lua如下 add_rules("mode.debug","mode.release")add_requires("opencv")target("my_ba")set_kind("binary")add_files("src/*.cpp")add_packages("opencv") ...
r, run Run the project target. i, install Package and install the target binary files. c, clean Remove all binary and temporary files. create Create a new project. q, require Install and update required packages. g, global Configure the global options for xmake. u, uninstall Uninstall the...
xmake g:全局设置 ./xmake.lua:项目文件配置 xmake f:命令行配置 ./.xmake/linux/x86_64/xmake.conf:命令行临时配置保存的位置 命令解析 xmake 基本命令包括:创建项目(create)、构建(build/b)、打包(package/p)、清理(clean/c)、组件依赖(require/q)、运行(run/r)、安装(install/i)、卸载(uninstall/u...
添加set_runscript接口,支持自定义运行脚本扩展 添加import接口,使得在xmake.lua中可以导入一些扩展模块,例如:os,path,utils等等,使得脚本更灵活 添加android平台arm64-v8a支持Bugs 修复修复set_installscript接口的一些bug 修复在windows x86_64下,安装失败的问题 修复相对路径的一些bug...
lanjackg2003 waruqi commentedon Dec 27, 2022 waruqi lanjackg2003 commentedon Dec 27, 2022 lanjackg2003 是的,我有参考GCC使用花括符进行包括 但是没有作用,以下是我的代码 --make the nf_includedirs flagfunctionnf_includedirs(self,dirs)if#dirs==0thenreturn""endlocalpaths="("forkey,valueinpairs...