[CMake] CPack and RPM packages

Eric Noulard eric.noulard at gmail.com
Sun Mar 6 05:52:20 EST 2011


2011/3/5 Laszlo Papp <djszapi at archlinux.us>:
> On Sat, Mar 5, 2011 at 5:32 PM, Eric Noulard <eric.noulard at gmail.com> wrote:
>> 2011/3/5 Laszlo Papp <djszapi at archlinux.us>:
>>> Well, first I cannot build :)
>>
>> I thought you were already using CPack for Deb package?
>>
>> If you never used a cross-compiling setup with CMake then
>> read this first:
>> http://www.cmake.org/Wiki/CMake_Cross_Compiling
>
> Meanwhile it can solves the problem, I think there should a developer
> awareless solution. Can you solve it in a smarter way in the future,
> please ?

Unfortunately I won't have time to work on tis now.
Moreover I don't have very much experience in cross-compiling env.
so it would take me some to it reasonable.

I let other CMake developers comment on that but I think
"proper" cross-compiling setup with CMake goes far further than
giving the compiler some -march argument.
It may work for very simple CMakeLists.txt but would probably break
as soon as you use some CMake features (find modules, try_compile etc...)

That said may be providing the proper CMake toolchain file(s) may be more
the work of Meego environment provider than CMake itself.

I am not refusing to help but I do not have time to handle that now.
If you want you can file a bug report
http://public.kitware.com/Bug/bug_report_page.php
explaining that you want to do "cross-packaging" with cpack,
I'll put the report in the backlog and come back to the issue when
more spare time re-appear.


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


More information about the CMake mailing list