Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

Use FeatureSummary for cmake configuration #1

Closed
lbeltrame opened this issue Mar 15, 2020 · 3 comments
Closed

Use FeatureSummary for cmake configuration #1

lbeltrame opened this issue Mar 15, 2020 · 3 comments

Comments

@lbeltrame
Copy link

FeatureSummary is a neat module in CMake (https://cmake.org/cmake/help/latest/module/FeatureSummary.html) which is very useful to check for required and optional dependencies and have the configuration step output at the end what's present and what's missing.

It's very useful for packagers because it gives a nice list of everything as opposed to failing for every find_package calls.

@g-fb
Copy link
Owner

g-fb commented Mar 18, 2020

Done 3976f16

@lbeltrame
Copy link
Author

Thanks. However, it needs an adjustment to work properly. You will need:

find_package(Foobar)
set_package_properties(Foobar TYPE REQUIRED) 

for each package.

@g-fb
Copy link
Owner

g-fb commented Mar 19, 2020

Added find_package and set_package_properties for each dependency 2743c06

@g-fb g-fb closed this as completed Mar 22, 2020
ShrirajHegde pushed a commit to ShrirajHegde/haruna that referenced this issue Jul 9, 2021
Change config folder name to haruna
closes g-fb#1
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants