[CMake] Packaging Best Practices for Linux

Alexander Neundorf a.neundorf-work at gmx.net
Sun May 20 07:46:49 EDT 2012


On Thursday 17 May 2012, Craig Scott wrote:
> > That was VERY informative. This is what I was afraid of. With Windows and
> > OS
> 
> X even though there are 3 or 4 versions if you build for the earliest one
> (XP or 10.5) the binary has a really good chance of still running on the
> latest (Win7 or Lion). With Linux and so many distributions I don't have
> time to create that many different virtual machines to compile on each and
> every one. I am a single developer. I think I am going to go the source
> route and make sure that my software just compiles with the standard
> packages from each of the distros (Qt 4, HDF5 1.8, Boost and Qwt). The
> only issue might be Qwt as I still use Version 5 and I think there is a
> newer version out that I doubt I am compatible with. All else fails I have
> my own repo for Qwt that is public for anyone to pull from.
> 
> >    I very much want to support Linux in the best way possible. I was
> >    hoping
> 
> for some thing easier but I guess this is just the way it is.
> 
> 
> Don't give up just yet! There are other options which might meet your
> needs. No-one appears yet to have mentioned the LSB (Linux Standards Base)
> and it is designed to solve problems just like yours. Admittedly, it will
> take a little bit of (one-time) work, but as someone who has done this
> with production code at a previous employer, we found it was well worth
> it. After getting things working, we only had to distribute a single
> package to cover all linux distributions (yes, even Debian-based ones such
> as Ubuntu).

Can you put this information, how to build a LSB-compatible application using 
cmake, somewhere in the cmake wiki ?
http://www.cmake.org/Wiki/CMake

I guess this is a problem many cmake users have (maybe without knowing).

Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120520/d4b3fa59/attachment.htm>


More information about the CMake mailing list