[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Where to place cmake files (Was: Help in cmake / itk issue needed)





2015-05-18 11:01 GMT+01:00 Andreas Tille <andreas@an3as.eu>:
On Mon, May 18, 2015 at 11:28:48AM +0200, Gert Wollny wrote:
> > I was actually thinking about
> >
> >    git://git.debian.org/git/debian-med/bamtools.git
> >
> > which I did not yet uploaded since I'm unsure about the "hand-made"
> > cmake file in debian/cmake itself, the choice of a subdirectory
> > debian/cmake/bamtools and the actual content of the cmake file.
>
> A look at the cmake source code indicates that both, "lib" and "share"
> are in the default search path, so I would guess, that
> "/usr/share/cmake" is okay as long as there are no arch specifics in the
> file (as it seems to the case with bamtools).

Thanks for the hint, uploaded that way
     Andreas.

--
http://fam-tille.de


--
To UNSUBSCRIBE, email to debian-med-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] 20150518100142.GB11330@an3as.eu" target="_blank">https://lists.debian.org/[🔎] 20150518100142.GB11330@an3as.eu


From my current experience with a couple of CMake-based projects, the consensus
seems to be to put the custom CMake modules and related configs under
/usr/lib/cmake/<ProjectName> or /usr/share/cmake/<ProjectName> on Linux. I have
seen the former path used more often than the latter.

I remembered asking about the right location of these CMake files a while back
somewhere in d/mentors or d/science and there was no particular stands on this.

Ghis

Reply to: