Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support building with boost asio #247

Merged
merged 4 commits into from
Jul 11, 2023
Merged

Conversation

achim-k
Copy link
Collaborator

@achim-k achim-k commented Jul 11, 2023

Public-Facing Changes

Support building with boost asio

Description

Avoids a hard dependency on standalone asio and provides users with more flexibility when using foxglove_bridge in a bigger project. Related: foxglove/ws-protocol#483

Successfully built and tested melodic & noetic with boost asio. I think it would make sense to add a test for this as well.

Copy link
Member

@jtbandes jtbandes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we test both of these in CI?

@@ -179,17 +187,18 @@ if(ROS_BUILD_TYPE STREQUAL "catkin")
find_package(GTest REQUIRED)
endif()
find_package(rostest REQUIRED)
find_package(Boost REQUIRED COMPONENTS system)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we do this conditionally based on the flags chosen?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could, but ROS1 depends on boost anyways, so it does not hurt to have it here

@achim-k achim-k merged commit c3236d5 into main Jul 11, 2023
11 checks passed
@achim-k achim-k deleted the achim/allow-using-boost-asio branch July 11, 2023 23:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants