Re: [CMake] simple find_package example

2018-08-07 Thread Johannes Zarl-Zierl
Am Dienstag, 7. August 2018, 14:48:26 CEST schrieb Randy Heiland: > Hmm, well if that's the case, how does one generate the HelloConfig.cmake > file? The official documentation is here: https://cmake.org/cmake/help/latest/manual/cmake-packages.7.html > Although, for my particular situation, my

Re: [CMake] simple find_package example

2018-08-07 Thread Randy Heiland
Hmm, well if that's the case, how does one generate the HelloConfig.cmake file? Although, for my particular situation, my question about wanting to generate a "Find" file still remains, I think. I have a library which is, potentially, useful to several projects. I assume there's some sort of

Re: [CMake] simple find_package example

2018-08-06 Thread Alexander Neundorf
On 2018 M08 2, Thu 10:01:39 CEST Randy Heiland wrote: > Hi, > > I'd like to figure out how to modify the simple "hello" demo ( > https://cmake.org/examples/) so that the Hello project is a library with an > accompanying FindHello.cmake and then the Demo project uses that > information and

[CMake] simple find_package example

2018-08-02 Thread Randy Heiland
Hi, I'd like to figure out how to modify the simple "hello" demo ( https://cmake.org/examples/) so that the Hello project is a library with an accompanying FindHello.cmake and then the Demo project uses that information and "find_package" to discover/use it. Hopefully that makes sense.