[CMake] VxWorks Cross Compilation Strategy

Alexander Neundorf a.neundorf-work at gmx.net
Sat Jun 4 02:01:52 EDT 2011


On Saturday, June 04, 2011 01:28:51 AM Dan Furtney wrote:
> I need to perform cross compile builds for three different types of VxWorks
> compilers. I was able to build a simple program using the strategy
> provided on the wiki. This, however, does not let me target the a specific
> linker and scripts I need at link time.
> 
> Is development of a VxWorks.cmake profile the correct approach? 

Yes.

> If so, is
> there a preferred template for doing this? I have been looking at the eCos
> “platform” profile (Modules\Platform\eCos.cmake) and see some syntax I am
> not familiar with (i.e.  < and > in set commands).

Yes, I think this should be a good start.
The <...> variables are special. But I think you can guess what they mean :-)

If you have something and need help don't hesitate.
 
Alex


More information about the CMake mailing list