<div dir="ltr"><div>Hmm, well if that's the case, how does one generate the HelloConfig.cmake file? </div><div><br></div><div>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 "Find" template for any such lib, i.e., a project needs to be able to locate a lib (static or dynamic) and headers, cross-platform.</div><div><br></div><div>thanks, Randy</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 6, 2018 at 4:09 PM, Alexander Neundorf <span dir="ltr"><<a href="mailto:neundorf@kde.org" target="_blank">neundorf@kde.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 2018 M08 2, Thu 10:01:39 CEST Randy Heiland wrote:<br>
> Hi,<br>
> <br>
> I'd like to figure out how to modify the simple "hello" demo (<br>
> <a href="https://cmake.org/examples/" rel="noreferrer" target="_blank">https://cmake.org/examples/</a>) so that the Hello project is a library with an<br>
> accompanying FindHello.cmake and then the Demo project uses that<br>
> information and "find_package" to discover/use it.<br>
> <br>
> Hopefully that makes sense. Basically, I'm looking for a simple tutorial on<br>
> how I can make my library easily accessible to a CMake project. <br>
<br>
</span>for that, you don't want a FindHello.cmake (which would typically be shipped <br>
either by cmake or by the consuming application), instead you want to generate <br>
and install a HelloConfig.cmake file.<br>
<br>
Alex<br>
<br>
</blockquote></div><br></div>