refactor(camodocal): remove ceres depend

This commit is contained in:
TinyOh
2019-01-24 17:20:34 +08:00
parent 0b71d05813
commit 54eae3e2d0
492 changed files with 29 additions and 304467 deletions

View File

@@ -93,18 +93,6 @@ submodules:
.PHONY: submodules
# 3rdparty
ceres:
@$(call echo,Make $@)
@$(call cmake_build,./3rdparty/ceres-solver-1.11.0/_build,.., \
-DCMAKE_INSTALL_PREFIX=$(MKFILE_DIR)/3rdparty/ceres \
-DGFLAGS_PREFER_EXPORTED_GFLAGS_CMAKE_CONFIGURATION=OFF \
-DMINIGLOG=ON)
@cd ./3rdparty/ceres-solver-1.11.0/_build; make install
.PHONY: ceres
# init
init:
@@ -117,9 +105,6 @@ init:
build:
@$(call echo,Make $@)
ifneq ($(CAM_MODELS),)
@$(MAKE) ceres
endif
ifeq ($(HOST_OS),Win)
@$(call cmake_build,./_build,..,-DCMAKE_INSTALL_PREFIX=$(MKFILE_DIR)/_install)
else
@@ -301,7 +286,6 @@ cleanlog:
@$(call rm_f,*FATAL*)
cleanall: clean cleandoc
@$(call rm,./3rdparty/ceres-solver-1.11.0/_build/)
@$(call rm,./test/gtest/_build/)
@$(FIND) . -type f -name ".DS_Store" -print0 | xargs -0 rm -f
@$(call rm,./$(PBCVT_DIR)/)