[CMake] Where is a good place to install CMake scripts that are to be executed by cmake -P ?
Alan W. Irwin
irwin at beluga.phys.uvic.ca
Mon Aug 5 21:55:59 EDT 2013
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>
but I am a bit concerned that location might be a bad choice because
it is completely unpopulated under Debian (at least for CMake
scriptnames that end in *.cmake), i.e.,
irwin at raven> ls /usr/share/*/*.cmake
ls: cannot access /usr/share/*/*.cmake: No such file or directory
Alan
__________________________
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________
Linux-powered Science
__________________________
More information about the CMake
mailing list