class_loaderΒΆ
- Official
- Hunterized
- Example
- Added by Krasimir Georgiev (pr-1899)
- Contribution partially as part of work at SeeByte Ltd.
By default BUILD_SHARED_LIBS=ON
used for class_loader
because if linking
against class_loader
statically, plugins would not be loaded correctly at
runtime, because both the plugin and the library loading it would use their own
copy of class_loader
.
hunter_add_package(class_loader)
find_package(catkin CONFIG REQUIRED COMPONENTS class_loader)
catkin_package()
add_executable(main main.cpp)
target_link_libraries(main ${catkin_LIBRARIES})