feat(3rdparty): add eigen and ceres

This commit is contained in:
John Zhao
2019-01-03 16:25:18 +08:00
parent c6fd9db827
commit 6773d8eb7a
747 changed files with 375754 additions and 1 deletions

View File

@@ -76,6 +76,18 @@ 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:
@@ -269,8 +281,8 @@ cleanlog:
@$(call rm_f,*FATAL*)
cleanall: clean cleandoc
@$(call rm,./3rdparty/ceres-solver-1.11.0/_build/)
@$(call rm,./test/gtest/_build/)
@$(call rm,./third_party/glog/_build/)
@$(FIND) . -type f -name ".DS_Store" -print0 | xargs -0 rm -f
@$(call rm,./$(PBCVT_DIR)/)
@$(call rm,./$(NPCV_DIR)/)