[CMake] ToolChain file scope
Kishore
kitts.mailinglists at gmail.com
Wed Jun 8 06:52:37 EDT 2011
On Tuesday 07 Jun 2011 7:40:33 PM dfurtney at cox.net wrote:
> I have been hammergin on a vxworks cross-compile toolchain file. It seems
> that not all properties that are set in the cross-compilation file
> propogate to the CMakeLists.txt file that is using it. An example is the
> CMAKE_AR property. Setting it in the cross-compilation file had no effect
> and the value during linking of a static library was "'. Once I moved it to
> the CMakeLists.txt file the setting was recognized. Setting of library
> prefix and postfix values seemed to behave the same way.
>
> These things seem like reasonable targets for the cross-compilation file so
> I am confused as to why they wouldn't work. Any help is appreciated.
I would be interested in this information too. Too often i get bitten by the
scope issues when working with "Generic" embedded systems. In addition, I
would also like the scope of the three platform/* modules to be documented as
well.
--
Cheers!
Kishore
More information about the CMake
mailing list