[CMake] Thoughts on Cross-compiling with CMake
Trevor Kellaway
tkellaway at asl-electronics.co.uk
Mon May 7 06:39:06 EDT 2007
Kishore,
> > You need to make the distinction between the different styles of
> build:
> >
> > 1) Command line makefile
> > 2) IDE invoked internal build
> > 3) IDE invoked external makefile
> >
> > VC supports all three of these usage patterns for its
> native compiler.
> > However, if you want to use a cross-compiler then only
> options 1 and 3
> > are available.
>
> I just checked with some people using VS for cross-compiling.
> Common practice here is method 3 mentioned above. A plugin
> has been developed for error parsing and code navigation.
> This method is good enough.
> Method 1 seems to be possible. Is method 3 possible with CMake.
I haven't tried, but if you create a wrapper Makefile where Visual
Studio expects its external makefile I can't see why it won't work.
- TrevK
More information about the CMake
mailing list