refactor(camodocal): remove ceres depend
This commit is contained in:
16
Makefile
16
Makefile
@@ -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)/)
|
||||
|
||||
Reference in New Issue
Block a user