Forgot the list

---------- Forwarded message ----------
From: Eric Noulard <eric.noul...@gmail.com>
Date: 2010/7/22
Subject: Re: [CMake] CPack: Detecting if to build DEB/RPM packages
To: norulez <noru...@me.com>


2010/7/22 norulez <noru...@me.com>:
> This shouldn't work, because you could build deb packages on redhat systems 
> with cpack without any deb tools installed

Yes true.
You must know you have limitation like not automatically choosing the
appropriate "architecture" for the package.

DEB generator uses
dpkg --print-architecture
in order to select approprite arch.

if dpkg is not found then the default is i386, which may not be what you want
e.g. on an x86_64 system.

The scheme is better than nothing though.

--
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org



-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to