代码拉取完成,页面将自动刷新
##
# This Makefile is used to drive building of CMake build targets
##
MAKEFLAGS += -s
# additional flags for cmake, e.g. install path -DCMAKE_INSTALL_PREFIX=$(HOME)/.local
CMAKEFLAGS +=
all: release
ci: debug release test
help:
@echo " debug: Run a debug build"
@echo " release: Run a release build"
@echo " install: Install release build"
@echo " uninstall: Uninstall release build"
@echo " package: Package release build"
@echo " lint: Lint check all source-code"
@echo " test: Build and run tests"
@echo " clean: Clean all build output"
@echo "rebuild_cache: Rebuild all CMake caches"
rebuild_cache: build/Debug build/Release
@$(MAKE) -C build/Debug rebuild_cache
@$(MAKE) -C build/Release rebuild_cache
debug: build/Debug
@echo "[DEBUG]"
@$(MAKE) -C build/Debug
release: build/Release
@echo "[RELEASE]"
@$(MAKE) -C build/Release
install: build/Release
@echo "[INSTALL] Release"
@$(MAKE) -C build/Release install
uninstall: build/Release
@echo "[UNINSTALL] Release"
@$(MAKE) -C build/Release uninstall
package: build/Release
@echo "[PACKAGE] Release"
@$(MAKE) -C build/Release package
test: debug
@echo "[TEST] Debug"
@$(MAKE) -C build/Debug test
build/Debug:
@mkdir -p $@
@cd $@ && cmake -DCMAKE_BUILD_TYPE=Debug $(CMAKEFLAGS) ../../
build/Release:
@mkdir -p $@
@cd $@ && cmake -DCMAKE_BUILD_TYPE=Release $(CMAKEFLAGS) ../../
clean:
@echo "[CLEAN]"
@rm -Rf build
.PHONY: clean
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。