Add glog option

This commit is contained in:
John Zhao
2018-09-04 14:35:27 +08:00
parent 55165b8878
commit 30a9397602
10 changed files with 79 additions and 41 deletions

View File

@@ -30,9 +30,10 @@ help:
@echo " make apidoc make api doc"
@echo " make opendoc open api doc (html)"
@echo " make init init project"
@echo " make 3rdparty build 3rdparty: glog"
@echo " make build build project"
@echo " make test build test and run"
@echo " make install install project"
@echo " make test build test and run"
@echo " make samples build samples"
@echo " make tools build tools"
@echo " make ros build ros wrapper"
@@ -41,7 +42,7 @@ help:
.PHONY: help
all: test tools samples
all: test samples tools
.PHONY: all
@@ -75,7 +76,9 @@ third_party: submodules
@$(call echo,Make glog,33)
@$(call cmake_build,./third_party/glog/_build)
.PHONY: submodules third_party
3rdparty: third_party
.PHONY: submodules third_party 3rdparty
# init
@@ -87,7 +90,7 @@ init: submodules
# build
build: third_party
build: submodules
@$(call echo,Make $@)
ifeq ($(HOST_OS),Win)
@$(call cmake_build,./_build,..,-DCMAKE_INSTALL_PREFIX=$(MKFILE_DIR)/_install)