fork from https://github.com/RainerKuemmerle/g2o
for ios build
my command list
- vim CMakeLists.txt
modify from
OPTION (BUILD_SHARED_LIBS "Build Shared Libraries (preferred and required for the g2o plugin system)" ON)
to
OPTION (BUILD_SHARED_LIBS "Build Shared Libraries (preferred and required for the g2o plugin system)" OFF)
- mkdir build-static
- cd build-static
- cmake -GXcode ..
- open with xcode
- some xcode modify config(IOS8.4, arm64/armv7/armv7s, and so on)