[CMake] A neat package out of a library

Mika.Rajala at patria.fi Mika.Rajala at patria.fi
Mon Jan 25 02:16:12 EST 2010


Hi

I'm trying to generate a NSIS installer for a development library.

The installer would need to do the following, install the headers and
libraries to a directory, copy the Find**.cmake to the correct location
where it can be found with cmake, set a registry key value to indicate
where it was installed so that the Find**.cmake could find the library.

Is there some tutorial or document about how to generate something as such
somewhere?

The first step is currently working, the files are installed, apart from
Find**.cmake.

My current problem is that I don't know how to write registry entries from
the installer. Or how to find where the Find*.cmake should be installed.

I wonder if there is something fundamentally wrong with my aproach.

-mika



More information about the CMake mailing list