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

RSDK-9707: Make API a private dependency of SDK #355

Merged
merged 5 commits into from
Jan 15, 2025

Conversation

lia-viam
Copy link
Contributor

No description provided.

@lia-viam lia-viam requested a review from a team as a code owner January 14, 2025 15:36
@lia-viam lia-viam requested review from njooma and stuqdog and removed request for a team January 14, 2025 15:36
@@ -15,7 +15,7 @@ add_library(viam-cpp-sdk::viamsdk ALIAS viamsdk)
# `BASE_DIRS` below, because otherwise we will pull in the static
# versions of the proto files even if we are generating dynamically.
target_include_directories(viamsdk
PUBLIC
PRIVATE
Copy link
Member

Choose a reason for hiding this comment

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

🎉

Copy link
Member

@acmorrow acmorrow left a comment

Choose a reason for hiding this comment

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

LGTM! This is great that this finally happened.

@@ -39,10 +39,17 @@ target_sources(viamsdk_test
test_utils.cpp
)

target_include_directories(viamsdk_test
Copy link
Member

Choose a reason for hiding this comment

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

Is it a goal to eventually make the tests not know about viamapi either, or, considered harmless?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think doable but considered harmless!

Copy link
Member

@stuqdog stuqdog left a comment

Choose a reason for hiding this comment

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

🚀

@lia-viam lia-viam merged commit 0064820 into viamrobotics:main Jan 15, 2025
13 checks passed
@lia-viam lia-viam deleted the api-private-main branch January 15, 2025 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants