代码拉取完成,页面将自动刷新
同步操作将从 Tim/imu_tk 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
project(imu_tk)
cmake_minimum_required (VERSION 2.8)
cmake_policy(SET CMP0015 NEW)
if ("${CMAKE_BUILD_TYPE}" STREQUAL "")
set(CMAKE_BUILD_TYPE "Release")
endif()
if(NOT DEFINED BUILD_IMU_TK_EXAMPLES)
set(BUILD_IMU_TK_EXAMPLES "ON")
endif(NOT DEFINED BUILD_IMU_TK_EXAMPLES)
find_package(Boost REQUIRED)
find_package(Eigen3 REQUIRED)
find_package(Ceres REQUIRED)
include_directories(./include
/usr/include
${Boost_INCLUDE_DIRS}
${EIGEN_INCLUDE_DIR}
${CERES_INCLUDE_DIRS})
#Vis3D
find_package(Qt4 COMPONENTS QtCore QtGui QtOpenGL REQUIRED )
find_package(OpenGL REQUIRED)
find_package(GLUT REQUIRED)
include_directories( ${OPENGL_INCLUDE_DIRS}
${GLUT_INCLUDE_DIRS}
${CMAKE_CURRENT_BINARY_DIR} )
set(IMU_TK_VIS_EXTRA_SOURCES
./src/vis_extra/gl_camera.cpp
./src/vis_extra/opengl_3d_scene.cpp )
set(IMU_TK_VIS_EXTRA_HEADERS
./include/imu_tk/vis_extra/opengl_3d_scene.h )
qt4_wrap_cpp(IMU_TK_VIS_EXTRA_HEADERS_MOC ${IMU_TK_VIS_EXTRA_HEADERS})
include(${QT_USE_FILE})
add_definitions(${QT_DEFINITIONS})
aux_source_directory( ./src IMU_TK_CORE_SRC )
set( IMU_TK_SRC ${IMU_TK_CORE_SRC} ${IMU_TK_VIS_EXTRA_HEADERS_MOC} ${IMU_TK_VIS_EXTRA_SOURCES} )
add_library(imu_tk ${IMU_TK_SRC})
set_target_properties(imu_tk PROPERTIES ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/lib)
set (IMU_TK_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/include CACHE STRING "imu_tk include directories")
set (IMU_TK_LIB_DIR ${CMAKE_CURRENT_SOURCE_DIR}/lib CACHE STRING "imu_tk libraries directories")
set (IMU_TK_LIBS imu_tk ${CERES_LIBRARIES} ${QT_LIBRARIES} ${OPENGL_LIBRARIES} ${GLUT_LIBRARY}
CACHE STRING "imu_tk libraries")
message( "${IMU_TK_LIBS}" )
if( BUILD_IMU_TK_EXAMPLES )
add_executable(test_imu_calib apps/test_imu_calib.cpp)
target_link_libraries( test_imu_calib ${IMU_TK_LIBS})
set_target_properties( test_imu_calib PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/bin)
add_executable(test_integration apps/test_integration.cpp)
target_link_libraries( test_integration ${IMU_TK_LIBS})
set_target_properties( test_integration PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/bin)
endif( BUILD_IMU_TK_EXAMPLES )
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。