You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
http://wiki.ros.org/gtest describes a cmake macro called catkin_add_gtest_build_flags() but it doesn't appear to be present in catkin.
I have a couple of libraries that include shared test functions that use gtest (see ros/ros_comm#1357), and these are currently under-linked on OSX. I'm able to fix them by linking directly against ${GTEST_LIBRARIES} but it seems like it would be better to use the catkin_add_gtest_build_flags() macro for this.
The text was updated successfully, but these errors were encountered:
Currently there are only function to create binaries with gtest, e.g. catkin_add_executable_with_gtest. Similar function for libraries could be introduced if that is a common pattern.
http://wiki.ros.org/gtest describes a cmake macro called
catkin_add_gtest_build_flags()
but it doesn't appear to be present in catkin.I have a couple of libraries that include shared test functions that use gtest (see ros/ros_comm#1357), and these are currently under-linked on OSX. I'm able to fix them by linking directly against
${GTEST_LIBRARIES}
but it seems like it would be better to use thecatkin_add_gtest_build_flags()
macro for this.The text was updated successfully, but these errors were encountered: