1 Star 0 Fork 1

刘朋/rrt

forked from dadatuYHD/rrt 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
makefile 1.09 KB
一键复制 编辑 原始数据 按行查看 历史
all:
mkdir -p build
cd build && cmake .. -DCMAKE_INSTALL_PREFIX:PATH="" -GNinja && ninja
install: all
cd build && ninja install
run: all
build/rrt-viewer
debug: all
gdb build/rrt-viewer
tests: test-cpp
build/test-cpp
test-cpp:
mkdir -p build
cd build && cmake --target test-cpp .. -GNinja && ninja test-cpp
clean:
rm -rf build
STYLIZE_DIFFBASE ?= master
STYLE_EXCLUDE_DIRS=build third_party
# automatically format code according to our style config defined in .clang-format
pretty:
@stylize --diffbase=$(STYLIZE_DIFFBASE) --clang_style=file --yapf_style=.style.yapf --exclude_dirs $(STYLE_EXCLUDE_DIRS)
# check if everything in our codebase is in accordance with the style config defined in .clang-format
# a nonzero exit code indicates that there's a formatting error somewhere
checkstyle:
@printf "Run this command to reformat code if needed:\n\ngit apply <(curl $${LINK_PREFIX:-file://}clean.patch)\n\n"
@stylize --diffbase=$(STYLIZE_DIFFBASE) --clang_style=file --yapf_style=.style.yapf --exclude_dirs $(STYLE_EXCLUDE_DIRS) --check --output_patch_file="$${CIRCLE_ARTIFACTS:-.}/clean.patch"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/benzg500/rrt.git
[email protected]:benzg500/rrt.git
benzg500
rrt
rrt
master

搜索帮助