Add python wrapper

This commit is contained in:
John Zhao
2018-05-17 17:28:43 +08:00
parent 2ff0ed504d
commit 072fe4d397
5 changed files with 191 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ help:
@echo " make samples build samples"
@echo " make tools build tools"
@echo " make ros build ros wrapper"
@echo " make py build python wrapper"
@echo " make clean|cleanall clean generated or useless things"
.PHONY: help
@@ -158,6 +159,23 @@ cleanros:
.PHONY: cleanros
# python
py: python
python: install
@$(call echo,Make $@)
@$(call cmake_build,./wrappers/python/_build)
.PHONY: py python
cleanpy:
@$(call echo,Make $@)
@$(call rm,./wrappers/python/_build/)
@$(call rm,./wrappers/python/_output/)
.PHONY: cleanpy
# clean
clean:
@@ -175,6 +193,7 @@ clean:
ifeq ($(HOST_OS),Linux)
@$(MAKE) cleanros
endif
@$(MAKE) cleanpy
cleanlog:
@$(call rm_f,*INFO*)