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

Add FetchContent example(s) #95

Open
kroppt opened this issue Sep 10, 2023 · 0 comments
Open

Add FetchContent example(s) #95

kroppt opened this issue Sep 10, 2023 · 0 comments

Comments

@kroppt
Copy link

kroppt commented Sep 10, 2023

I've been using FetchContent a lot recently, and it works pretty well. It would be good to provide an example of how it works for those learning. Also, it should include some of the content from the Integrating with find_package section of the manual.

There are a few cases that could be covered:

  • Dependency has no dependencies
  • Override dependency's find_package calls
  • Defer to find_package calls when available
  • Order multiple dependencies correctly
  • Set CMake options for a dependency, e.g. enabling specific components
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

No branches or pull requests

1 participant