Skip to content

CMake: Use plain add_library - #12003

Merged
Nir-Az merged 1 commit into
realsenseai:developmentfrom
autoantwort:less-code-2
Aug 6, 2023
Merged

CMake: Use plain add_library#12003
Nir-Az merged 1 commit into
realsenseai:developmentfrom
autoantwort:less-code-2

Conversation

@autoantwort

Copy link
Copy Markdown

Does the same with less code.

@Nir-Az

Nir-Az commented Jul 17, 2023

Copy link
Copy Markdown
Collaborator

@autoantwort Thanks for the PR.

I have got 2 requested.

  1. Can you please base the PR and target it to development branch (like mentioned here)
  2. I was missing some explanation about why is it the same, I found it in CMake documentation
If no type is given explicitly the type is STATIC or SHARED based on whether the current value of the variable [BUILD_SHARED_LIBS](https://cmake.org/cmake/help/v3.10/variable/BUILD_SHARED_LIBS.html#variable:BUILD_SHARED_LIBS) is ON

Can you please add this as a comment above the new line?

@autoantwort
autoantwort changed the base branch from master to development August 6, 2023 09:40
@autoantwort

Copy link
Copy Markdown
Author

Done :)

@Nir-Az
Nir-Az self-requested a review August 6, 2023 18:20

@Nir-Az Nir-Az left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

"Less is more"
CI failures doesn't look related.
Thanks for the PR

@Nir-Az
Nir-Az merged commit 3a04020 into realsenseai:development Aug 6, 2023
@autoantwort
autoantwort deleted the less-code-2 branch August 6, 2023 18:21
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.

2 participants