Add glog option
This commit is contained in:
11
Makefile
11
Makefile
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user