[CMake] Where is a good place to install CMake scripts that are to be executed by cmake -P ?

Alexander Neundorf a.neundorf-work at gmx.net
Wed Aug 21 16:41:54 EDT 2013


On Tuesday 06 August 2013, Alan W. Irwin wrote:
> I have a project that installs a CMake script which will be executed
> by users using cmake -P <fullpath_for_cmake_scriptname>.
> 
> Where is a reasonable place to install <cmake_scriptname>?  Currently I
> am thinking of
> 
> <prefix>/share/<project_name>/<cmake_scriptname>


what kind of files are these ?
Should they be executed manually by users or from their buildsystems, after 
some package has been found ?

Alex


More information about the CMake mailing list