1 Star 0 Fork 0

zhangy/hana

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
hana.sublime-project 1.39 KB
一键复制 编辑 原始数据 按行查看 历史
{
"folders":
[
{
"follow_symlinks": true,
"path": "."
}
],
"build_systems":
[
{
"name": "[Hana] Build current file",
"selector": "source.c++",
"working_dir": "$project_path/build",
"cmd": ["ruby"
, "-r", "pathname"
, "-e", "project = Pathname.new('${project_path}')"
, "-e", "file = Pathname.new('${file}').relative_path_from(project)"
, "-e", "target = file.sub_ext('').to_s.gsub('/', '.')"
, "-e", "system('/usr/local/bin/cmake', '--build', '$project_path/build', '--target', target)"
],
"variants": [
{
"name": "Primary Quick Build",
"cmd": ["ruby"
, "-r", "pathname"
, "-e", "project = Pathname.new('${project_path}')"
, "-e", "file = Pathname.new('${file}').relative_path_from(project)"
, "-e", "target = file.sub_ext('').to_s.gsub('/', '.')"
, "-e", "system('/usr/local/bin/cmake', '--build', '$project_path/build', '--target', target)"
, "-e", "system('/usr/local/bin/ctest', '-V', '--output-on-failure', '-R', target)"
]
}
]
}
]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/zhang1021/hana.git
git@gitee.com:zhang1021/hana.git
zhang1021
hana
hana
master

搜索帮助