g2o
Functions
/home/xuezhisd/CLionProjects/g2o/g2o/apps/linked_binaries/CMakeLists.txt File Reference

Functions

 add_definitions (-DG2O_DISABLE_DYNAMIC_LOADING_OF_LIBRARIES) ADD_EXECUTABLE(g2o_cli_application_linked../g2o_cli/g2o.cpp) INSTALL(TARGETS g2o_cli_application_linked RUNTIME DESTINATION $
 

Function Documentation

add_definitions ( DG2O_DISABLE_DYNAMIC_LOADING_OF_LIBRARIES)

Definition at line 2 of file CMakeLists.txt.

8  {EXE_POSTFIX})
9 
10 # linking solvers
11 TARGET_LINK_LIBRARIES(g2o_cli_application_linked solver_csparse solver_pcg)
12 IF(CHOLMOD_FOUND)
13  TARGET_LINK_LIBRARIES(g2o_cli_application_linked solver_cholmod)
14 ENDIF()
15 # linking types
16 TARGET_LINK_LIBRARIES(g2o_cli_application_linked types_slam2d types_slam3d types_sba types_sclam2d)
17 
18 INSTALL(TARGETS g2o_cli_application_linked
19  RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin