[CMake] Cross compile an external makefile project.

Jeff Shanab jshanab at smartwire.com
Mon Apr 22 12:18:09 EDT 2013


I have a project to port to the raspberry pi.

I managed to get boost to cross-compile with the externalproject_Add on windows and am trying to do something similar with curl.

Because curl uses make and not bjam, I switched over to a linux build agent but I am having difficulty.

Everything seems good at the beginning, it detects my compiler and the linux build but then before the un-tar stage it says changes have been made  that require restarting cmake and it then fails to detect the compiler and stops.

Cmake is 2.8.7 on Ubuntu build image.

Is there an example of combining cross-compiling with an externalProject_add. {There are a lot of options for a trial and error technique, I am getting tired of guessing :)}

BTW. Does it set and pass CC variables and prefixes that are in the cmake settings or do I have to manually pass them like I did with bjam.

Thanks.


   Jeff Shanab, Manager-Software Engineering
   D 630.633.4515 | C 630.453.7764 | F 630.633.4815 | jshanab at smartwire.com<mailto:jshanab at smartwire.com>
[MVSSig]






This message and any attachments contain confidential and proprietary information, and may contain privileged information, belonging to one or more affiliates of Windy City Wire Cable & Technology Products, LLC. No privilege is waived by this transmission. Unauthorized use, copying or disclosure of such information is prohibited and may be unlawful. If you receive this message in error, please delete it from your system, destroy any printouts or copies of it, and notify the sender immediately by e-mail or phone.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130422/920a2817/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 18265 bytes
Desc: image001.gif
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130422/920a2817/attachment-0001.gif>


More information about the CMake mailing list