Skip to content
Snippets Groups Projects
Commit 72b84ead authored by Joaquim Casals Buñuel's avatar Joaquim Casals Buñuel
Browse files

Reorganize subscribers .so file (see core#306)

parent 39aed8a1
No related branches found
No related tags found
2 merge requests!5After cmake and const refactor,!3new release
...@@ -134,7 +134,8 @@ include_directories( ...@@ -134,7 +134,8 @@ include_directories(
# add_library(${PROJECT_NAME} # add_library(${PROJECT_NAME}
# src/${PROJECT_NAME}/wolf_ros.cpp # src/${PROJECT_NAME}/wolf_ros.cpp
# ) # )
add_library(subscriber_imu src/subscriber_imu.cpp) add_library(subscriber_${PROJECT_NAME}
src/subscriber_imu.cpp)
## Add cmake target dependencies of the library ## Add cmake target dependencies of the library
## as an example, code may need to be generated before libraries ## as an example, code may need to be generated before libraries
...@@ -158,11 +159,11 @@ add_library(subscriber_imu src/subscriber_imu.cpp) ...@@ -158,11 +159,11 @@ add_library(subscriber_imu src/subscriber_imu.cpp)
#add_dependencies(${PROJECT_NAME}_visualizer ${PROJECT_NAME}_gencfg) #add_dependencies(${PROJECT_NAME}_visualizer ${PROJECT_NAME}_gencfg)
## Specify libraries to link a library or executable target against ## Specify libraries to link a library or executable target against
target_link_libraries(subscriber_imu target_link_libraries(subscriber_${PROJECT_NAME}
${wolf_LIBRARIES} ${wolf_LIBRARIES}
${wolfimu_LIBRARIES} ${wolfimu_LIBRARIES}
${sensor_msgs_LIBRARIES} ${sensor_msgs_LIBRARIES}
) )
############# #############
## Install ## ## Install ##
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment