RainerKuemmerle / g2o

g2o: A General Framework for Graph Optimization
3.1k stars 1.11k forks source link

Gtest was installed when packaging #807

Closed cybaol closed 5 months ago

cybaol commented 5 months ago

I enable -DBUILD_UNITTESTS=ON. then I build it. But when I package it, gtest and gmock are installed along with g2o. Here is manifest list:

usr/
usr/bin/
usr/bin/g2o
usr/bin/g2o_anonymize_observations
usr/bin/g2o_simulator2d
usr/bin/g2o_simulator3d
usr/include/
usr/include/g2o/
usr/include/g2o/EXTERNAL/
usr/include/g2o/EXTERNAL/ceres/
usr/include/g2o/EXTERNAL/ceres/LICENSE
usr/include/g2o/EXTERNAL/ceres/array_selector.h
usr/include/g2o/EXTERNAL/ceres/autodiff.h
usr/include/g2o/EXTERNAL/ceres/disable_warnings.h
usr/include/g2o/EXTERNAL/ceres/eigen.h
usr/include/g2o/EXTERNAL/ceres/fixed_array.h
usr/include/g2o/EXTERNAL/ceres/integer_sequence_algorithm.h
usr/include/g2o/EXTERNAL/ceres/jet.h
usr/include/g2o/EXTERNAL/ceres/memory.h
usr/include/g2o/EXTERNAL/ceres/parameter_dims.h
usr/include/g2o/EXTERNAL/ceres/reenable_warnings.h
usr/include/g2o/EXTERNAL/ceres/types.h
usr/include/g2o/EXTERNAL/ceres/variadic_evaluate.h
usr/include/g2o/EXTERNAL/freeglut/
usr/include/g2o/EXTERNAL/freeglut/freeglut_minimal.h
usr/include/g2o/apps/
usr/include/g2o/apps/g2o_cli/
usr/include/g2o/apps/g2o_cli/dl_wrapper.h
usr/include/g2o/apps/g2o_cli/g2o_cli_api.h
usr/include/g2o/apps/g2o_cli/g2o_common.h
usr/include/g2o/apps/g2o_cli/output_helper.h
usr/include/g2o/apps/g2o_hierarchical/
usr/include/g2o/apps/g2o_hierarchical/backbone_tree_action.h
usr/include/g2o/apps/g2o_hierarchical/edge_creator.h
usr/include/g2o/apps/g2o_hierarchical/edge_labeler.h
usr/include/g2o/apps/g2o_hierarchical/edge_types_cost_function.h
usr/include/g2o/apps/g2o_hierarchical/g2o_hierarchical_api.h
usr/include/g2o/apps/g2o_hierarchical/simple_star_ops.h
usr/include/g2o/apps/g2o_hierarchical/star.h
usr/include/g2o/apps/g2o_simulator/
usr/include/g2o/apps/g2o_simulator/g2o_simulator_api.h
usr/include/g2o/apps/g2o_simulator/pointsensorparameters.h
usr/include/g2o/apps/g2o_simulator/sensor_line3d.h
usr/include/g2o/apps/g2o_simulator/sensor_odometry.h
usr/include/g2o/apps/g2o_simulator/sensor_odometry2d.h
usr/include/g2o/apps/g2o_simulator/sensor_odometry3d.h
usr/include/g2o/apps/g2o_simulator/sensor_pointxy.h
usr/include/g2o/apps/g2o_simulator/sensor_pointxy_bearing.h
usr/include/g2o/apps/g2o_simulator/sensor_pointxy_offset.h
usr/include/g2o/apps/g2o_simulator/sensor_pointxyz.h
usr/include/g2o/apps/g2o_simulator/sensor_pointxyz_depth.h
usr/include/g2o/apps/g2o_simulator/sensor_pointxyz_disparity.h
usr/include/g2o/apps/g2o_simulator/sensor_pose2d.h
usr/include/g2o/apps/g2o_simulator/sensor_pose3d.h
usr/include/g2o/apps/g2o_simulator/sensor_pose3d_offset.h
usr/include/g2o/apps/g2o_simulator/sensor_se3_prior.h
usr/include/g2o/apps/g2o_simulator/sensor_segment2d.h
usr/include/g2o/apps/g2o_simulator/sensor_segment2d_line.h
usr/include/g2o/apps/g2o_simulator/sensor_segment2d_pointline.h
usr/include/g2o/apps/g2o_simulator/simulator.h
usr/include/g2o/apps/g2o_simulator/simulator2d.h
usr/include/g2o/apps/g2o_simulator/simulator2d_base.h
usr/include/g2o/apps/g2o_simulator/simulator3d.h
usr/include/g2o/apps/g2o_simulator/simulator3d_base.h
usr/include/g2o/apps/g2o_simulator/simutils.h
usr/include/g2o/config.h
usr/include/g2o/core/
usr/include/g2o/core/auto_differentiation.h
usr/include/g2o/core/base_binary_edge.h
usr/include/g2o/core/base_dynamic_vertex.h
usr/include/g2o/core/base_edge.h
usr/include/g2o/core/base_fixed_sized_edge.h
usr/include/g2o/core/base_fixed_sized_edge.hpp
usr/include/g2o/core/base_multi_edge.h
usr/include/g2o/core/base_unary_edge.h
usr/include/g2o/core/base_variable_sized_edge.h
usr/include/g2o/core/base_variable_sized_edge.hpp
usr/include/g2o/core/base_vertex.h
usr/include/g2o/core/base_vertex.hpp
usr/include/g2o/core/batch_stats.h
usr/include/g2o/core/block_solver.h
usr/include/g2o/core/block_solver.hpp
usr/include/g2o/core/cache.h
usr/include/g2o/core/creators.h
usr/include/g2o/core/dynamic_aligned_buffer.hpp
usr/include/g2o/core/eigen_types.h
usr/include/g2o/core/estimate_propagator.h
usr/include/g2o/core/factory.h
usr/include/g2o/core/g2o_core_api.h
usr/include/g2o/core/hyper_dijkstra.h
usr/include/g2o/core/hyper_graph.h
usr/include/g2o/core/hyper_graph_action.h
usr/include/g2o/core/io_helper.h
usr/include/g2o/core/jacobian_workspace.h
usr/include/g2o/core/linear_solver.h
usr/include/g2o/core/marginal_covariance_cholesky.h
usr/include/g2o/core/matrix_operations.h
usr/include/g2o/core/matrix_structure.h
usr/include/g2o/core/openmp_mutex.h
usr/include/g2o/core/optimizable_graph.h
usr/include/g2o/core/optimization_algorithm.h
usr/include/g2o/core/optimization_algorithm_dogleg.h
usr/include/g2o/core/optimization_algorithm_factory.h
usr/include/g2o/core/optimization_algorithm_gauss_newton.h
usr/include/g2o/core/optimization_algorithm_levenberg.h
usr/include/g2o/core/optimization_algorithm_property.h
usr/include/g2o/core/optimization_algorithm_with_hessian.h
usr/include/g2o/core/ownership.h
usr/include/g2o/core/parameter.h
usr/include/g2o/core/parameter_container.h
usr/include/g2o/core/robust_kernel.h
usr/include/g2o/core/robust_kernel_factory.h
usr/include/g2o/core/robust_kernel_impl.h
usr/include/g2o/core/solver.h
usr/include/g2o/core/sparse_block_matrix.h
usr/include/g2o/core/sparse_block_matrix.hpp
usr/include/g2o/core/sparse_block_matrix_ccs.h
usr/include/g2o/core/sparse_block_matrix_diagonal.h
usr/include/g2o/core/sparse_optimizer.h
usr/include/g2o/core/sparse_optimizer_terminate_action.h
usr/include/g2o/solvers/
usr/include/g2o/solvers/cholmod/
usr/include/g2o/solvers/cholmod/cholmod_wrapper.h
usr/include/g2o/solvers/cholmod/linear_solver_cholmod.h
usr/include/g2o/solvers/csparse/
usr/include/g2o/solvers/csparse/csparse_extension.h
usr/include/g2o/solvers/csparse/csparse_helper.h
usr/include/g2o/solvers/csparse/csparse_wrapper.h
usr/include/g2o/solvers/csparse/g2o_csparse_api.h
usr/include/g2o/solvers/csparse/g2o_csparse_extension_api.h
usr/include/g2o/solvers/csparse/linear_solver_csparse.h
usr/include/g2o/solvers/dense/
usr/include/g2o/solvers/dense/linear_solver_dense.h
usr/include/g2o/solvers/eigen/
usr/include/g2o/solvers/eigen/linear_solver_eigen.h
usr/include/g2o/solvers/pcg/
usr/include/g2o/solvers/pcg/linear_solver_pcg.h
usr/include/g2o/solvers/pcg/linear_solver_pcg.hpp
usr/include/g2o/solvers/slam2d_linear/
usr/include/g2o/solvers/slam2d_linear/g2o_slam2d_linear_api.h
usr/include/g2o/solvers/slam2d_linear/solver_slam2d_linear.h
usr/include/g2o/solvers/structure_only/
usr/include/g2o/solvers/structure_only/structure_only_solver.h
usr/include/g2o/stuff/
usr/include/g2o/stuff/color_macros.h
usr/include/g2o/stuff/command_args.h
usr/include/g2o/stuff/filesys_tools.h
usr/include/g2o/stuff/g2o_stuff_api.h
usr/include/g2o/stuff/macros.h
usr/include/g2o/stuff/misc.h
usr/include/g2o/stuff/opengl_primitives.h
usr/include/g2o/stuff/opengl_wrapper.h
usr/include/g2o/stuff/os_specific.h
usr/include/g2o/stuff/property.h
usr/include/g2o/stuff/sampler.h
usr/include/g2o/stuff/sparse_helper.h
usr/include/g2o/stuff/string_tools.h
usr/include/g2o/stuff/tictoc.h
usr/include/g2o/stuff/timeutil.h
usr/include/g2o/stuff/tuple_tools.h
usr/include/g2o/stuff/unscented.h
usr/include/g2o/types/
usr/include/g2o/types/data/
usr/include/g2o/types/data/data_queue.h
usr/include/g2o/types/data/g2o_types_data_api.h
usr/include/g2o/types/data/laser_parameters.h
usr/include/g2o/types/data/raw_laser.h
usr/include/g2o/types/data/robot_data.h
usr/include/g2o/types/data/robot_laser.h
usr/include/g2o/types/data/types_data.h
usr/include/g2o/types/data/vertex_ellipse.h
usr/include/g2o/types/data/vertex_tag.h
usr/include/g2o/types/icp/
usr/include/g2o/types/icp/g2o_types_icp_api.h
usr/include/g2o/types/icp/types_icp.h
usr/include/g2o/types/sba/
usr/include/g2o/types/sba/edge_project_p2mc.h
usr/include/g2o/types/sba/edge_project_p2sc.h
usr/include/g2o/types/sba/edge_project_psi2uv.h
usr/include/g2o/types/sba/edge_project_stereo_xyz.h
usr/include/g2o/types/sba/edge_project_stereo_xyz_onlypose.h
usr/include/g2o/types/sba/edge_project_xyz.h
usr/include/g2o/types/sba/edge_project_xyz2uv.h
usr/include/g2o/types/sba/edge_project_xyz2uvu.h
usr/include/g2o/types/sba/edge_project_xyz_onlypose.h
usr/include/g2o/types/sba/edge_sba_cam.h
usr/include/g2o/types/sba/edge_sba_scale.h
usr/include/g2o/types/sba/edge_se3_expmap.h
usr/include/g2o/types/sba/g2o_types_sba_api.h
usr/include/g2o/types/sba/parameter_cameraparameters.h
usr/include/g2o/types/sba/sba_utils.h
usr/include/g2o/types/sba/sbacam.h
usr/include/g2o/types/sba/types_sba.h
usr/include/g2o/types/sba/types_six_dof_expmap.h
usr/include/g2o/types/sba/vertex_cam.h
usr/include/g2o/types/sba/vertex_intrinsics.h
usr/include/g2o/types/sba/vertex_se3_expmap.h
usr/include/g2o/types/sclam2d/
usr/include/g2o/types/sclam2d/edge_se2_odom_differential_calib.h
usr/include/g2o/types/sclam2d/edge_se2_sensor_calib.h
usr/include/g2o/types/sclam2d/g2o_types_sclam2d_api.h
usr/include/g2o/types/sclam2d/odometry_measurement.h
usr/include/g2o/types/sclam2d/types_sclam2d.h
usr/include/g2o/types/sclam2d/vertex_odom_differential_params.h
usr/include/g2o/types/sim3/
usr/include/g2o/types/sim3/sim3.h
usr/include/g2o/types/sim3/types_seven_dof_expmap.h
usr/include/g2o/types/slam2d/
usr/include/g2o/types/slam2d/edge_pointxy.h
usr/include/g2o/types/slam2d/edge_se2.h
usr/include/g2o/types/slam2d/edge_se2_lotsofxy.h
usr/include/g2o/types/slam2d/edge_se2_offset.h
usr/include/g2o/types/slam2d/edge_se2_pointxy.h
usr/include/g2o/types/slam2d/edge_se2_pointxy_bearing.h
usr/include/g2o/types/slam2d/edge_se2_pointxy_calib.h
usr/include/g2o/types/slam2d/edge_se2_pointxy_offset.h
usr/include/g2o/types/slam2d/edge_se2_prior.h
usr/include/g2o/types/slam2d/edge_se2_twopointsxy.h
usr/include/g2o/types/slam2d/edge_se2_xyprior.h
usr/include/g2o/types/slam2d/edge_xy_prior.h
usr/include/g2o/types/slam2d/g2o_types_slam2d_api.h
usr/include/g2o/types/slam2d/parameter_se2_offset.h
usr/include/g2o/types/slam2d/se2.h
usr/include/g2o/types/slam2d/types_slam2d.h
usr/include/g2o/types/slam2d/vertex_point_xy.h
usr/include/g2o/types/slam2d/vertex_se2.h
usr/include/g2o/types/slam2d_addons/
usr/include/g2o/types/slam2d_addons/edge_line2d.h
usr/include/g2o/types/slam2d_addons/edge_line2d_pointxy.h
usr/include/g2o/types/slam2d_addons/edge_se2_line2d.h
usr/include/g2o/types/slam2d_addons/edge_se2_segment2d.h
usr/include/g2o/types/slam2d_addons/edge_se2_segment2d_line.h
usr/include/g2o/types/slam2d_addons/edge_se2_segment2d_pointLine.h
usr/include/g2o/types/slam2d_addons/g2o_types_slam2d_addons_api.h
usr/include/g2o/types/slam2d_addons/line_2d.h
usr/include/g2o/types/slam2d_addons/types_slam2d_addons.h
usr/include/g2o/types/slam2d_addons/vertex_line2d.h
usr/include/g2o/types/slam2d_addons/vertex_segment2d.h
usr/include/g2o/types/slam3d/
usr/include/g2o/types/slam3d/dquat2mat.h
usr/include/g2o/types/slam3d/edge_pointxyz.h
usr/include/g2o/types/slam3d/edge_se3.h
usr/include/g2o/types/slam3d/edge_se3_lotsofxyz.h
usr/include/g2o/types/slam3d/edge_se3_offset.h
usr/include/g2o/types/slam3d/edge_se3_pointxyz.h
usr/include/g2o/types/slam3d/edge_se3_pointxyz_depth.h
usr/include/g2o/types/slam3d/edge_se3_pointxyz_disparity.h
usr/include/g2o/types/slam3d/edge_se3_prior.h
usr/include/g2o/types/slam3d/edge_se3_xyzprior.h
usr/include/g2o/types/slam3d/edge_xyz_prior.h
usr/include/g2o/types/slam3d/g2o_types_slam3d_api.h
usr/include/g2o/types/slam3d/isometry3d_gradients.h
usr/include/g2o/types/slam3d/isometry3d_mappings.h
usr/include/g2o/types/slam3d/parameter_camera.h
usr/include/g2o/types/slam3d/parameter_se3_offset.h
usr/include/g2o/types/slam3d/parameter_stereo_camera.h
usr/include/g2o/types/slam3d/se3_ops.h
usr/include/g2o/types/slam3d/se3_ops.hpp
usr/include/g2o/types/slam3d/se3quat.h
usr/include/g2o/types/slam3d/types_slam3d.h
usr/include/g2o/types/slam3d/vertex_pointxyz.h
usr/include/g2o/types/slam3d/vertex_se3.h
usr/include/g2o/types/slam3d_addons/
usr/include/g2o/types/slam3d_addons/edge_plane.h
usr/include/g2o/types/slam3d_addons/edge_se3_calib.h
usr/include/g2o/types/slam3d_addons/edge_se3_euler.h
usr/include/g2o/types/slam3d_addons/edge_se3_line.h
usr/include/g2o/types/slam3d_addons/edge_se3_plane_calib.h
usr/include/g2o/types/slam3d_addons/g2o_types_slam3d_addons_api.h
usr/include/g2o/types/slam3d_addons/line3d.h
usr/include/g2o/types/slam3d_addons/plane3d.h
usr/include/g2o/types/slam3d_addons/types_slam3d_addons.h
usr/include/g2o/types/slam3d_addons/vertex_line3d.h
usr/include/g2o/types/slam3d_addons/vertex_plane.h
usr/include/g2o/types/slam3d_addons/vertex_se3_euler.h
usr/include/gmock/
usr/include/gmock/gmock-actions.h
usr/include/gmock/gmock-cardinalities.h
usr/include/gmock/gmock-function-mocker.h
usr/include/gmock/gmock-matchers.h
usr/include/gmock/gmock-more-actions.h
usr/include/gmock/gmock-more-matchers.h
usr/include/gmock/gmock-nice-strict.h
usr/include/gmock/gmock-spec-builders.h
usr/include/gmock/gmock.h
usr/include/gmock/internal/
usr/include/gmock/internal/custom/
usr/include/gmock/internal/custom/README.md
usr/include/gmock/internal/custom/gmock-generated-actions.h
usr/include/gmock/internal/custom/gmock-matchers.h
usr/include/gmock/internal/custom/gmock-port.h
usr/include/gmock/internal/gmock-internal-utils.h
usr/include/gmock/internal/gmock-port.h
usr/include/gmock/internal/gmock-pp.h
usr/include/gtest/
usr/include/gtest/gtest-assertion-result.h
usr/include/gtest/gtest-death-test.h
usr/include/gtest/gtest-matchers.h
usr/include/gtest/gtest-message.h
usr/include/gtest/gtest-param-test.h
usr/include/gtest/gtest-printers.h
usr/include/gtest/gtest-spi.h
usr/include/gtest/gtest-test-part.h
usr/include/gtest/gtest-typed-test.h
usr/include/gtest/gtest.h
usr/include/gtest/gtest_pred_impl.h
usr/include/gtest/gtest_prod.h
usr/include/gtest/internal/
usr/include/gtest/internal/custom/
usr/include/gtest/internal/custom/README.md
usr/include/gtest/internal/custom/gtest-port.h
usr/include/gtest/internal/custom/gtest-printers.h
usr/include/gtest/internal/custom/gtest.h
usr/include/gtest/internal/gtest-death-test-internal.h
usr/include/gtest/internal/gtest-filepath.h
usr/include/gtest/internal/gtest-internal.h
usr/include/gtest/internal/gtest-param-util.h
usr/include/gtest/internal/gtest-port-arch.h
usr/include/gtest/internal/gtest-port.h
usr/include/gtest/internal/gtest-string.h
usr/include/gtest/internal/gtest-type-util.h
usr/lib/
usr/lib/cmake/
usr/lib/cmake/GTest/
usr/lib/cmake/GTest/GTestConfig.cmake
usr/lib/cmake/GTest/GTestConfigVersion.cmake
usr/lib/cmake/GTest/GTestTargets-release.cmake
usr/lib/cmake/GTest/GTestTargets.cmake
usr/lib/cmake/g2o/
usr/lib/cmake/g2o/g2oConfig.cmake
usr/lib/cmake/g2o/g2oConfigVersion.cmake
usr/lib/cmake/g2o/g2oTargets-release.cmake
usr/lib/cmake/g2o/g2oTargets.cmake
usr/lib/libg2o_cli.so
usr/lib/libg2o_core.so
usr/lib/libg2o_csparse_extension.so
usr/lib/libg2o_ext_freeglut_minimal.so
usr/lib/libg2o_hierarchical.so
usr/lib/libg2o_opengl_helper.so
usr/lib/libg2o_simulator.so
usr/lib/libg2o_solver_cholmod.so
usr/lib/libg2o_solver_csparse.so
usr/lib/libg2o_solver_dense.so
usr/lib/libg2o_solver_eigen.so
usr/lib/libg2o_solver_pcg.so
usr/lib/libg2o_solver_slam2d_linear.so
usr/lib/libg2o_solver_structure_only.so
usr/lib/libg2o_stuff.so
usr/lib/libg2o_types_data.so
usr/lib/libg2o_types_icp.so
usr/lib/libg2o_types_sba.so
usr/lib/libg2o_types_sclam2d.so
usr/lib/libg2o_types_sim3.so
usr/lib/libg2o_types_slam2d.so
usr/lib/libg2o_types_slam2d_addons.so
usr/lib/libg2o_types_slam3d.so
usr/lib/libg2o_types_slam3d_addons.so
usr/lib/libgmock.so
usr/lib/libgmock.so.1.14.0
usr/lib/libgmock_main.so
usr/lib/libgmock_main.so.1.14.0
usr/lib/libgtest.so
usr/lib/libgtest.so.1.14.0
usr/lib/libgtest_main.so
usr/lib/libgtest_main.so.1.14.0
usr/lib/pkgconfig/
usr/lib/pkgconfig/gmock.pc
usr/lib/pkgconfig/gmock_main.pc
usr/lib/pkgconfig/gtest.pc
usr/lib/pkgconfig/gtest_main.pc