Notes |
|
(0032890)
|
Rolf Eike Beer
|
2013-04-17 10:03
|
|
You got the concept in the wrong order ;) It's preferable for _you_ to install a *Config.cmake file instead of CMake to ship a Find*.cmake module. This way whoever has your development package installed can use your tool, regardless of which CMake version (well, sort of) he is using. And with your config file you can make sure everything is included, e.g. if you need additional external libs in the next release or whatever. A shipped find module is by design always behind such changes. |
|
|
(0032892)
|
Tom Rondeau
|
2013-04-17 10:08
|
|
Yeah, that's what I thought you'd say. We just noticed that a lot of other projects have standard FindFoo.cmake files that you ship and thought that we could slip ours in as well.
Is there any structural difference between a FindGnuradio.cmake and a GnuradioConfig.cmake file? I couldn't find much info on this, in particular. Or is it just a different name so it can be found in the standard search paths? |
|
|
(0032896)
|
Rolf Eike Beer
|
2013-04-17 10:32
|
|
No, the config files are different as you don't have to search anything in there. You generate them using install(EXPORT...) and probably some additional magic. Please ask on the CMake user mailinglist for details.
I'll close this bug now as we will not take your Find* module as you can do better ;) |
|
|
(0032898)
|
Brad King
|
2013-04-17 10:36
|
|
|