On Monday 07 July 2008, you wrote:
> Hi,
>
> I'll submit a patch as soon as I've managed to work around some remaining
> issues. After messing around with some registry stuff, here's where I'm
> currently standing. I had a hard time to find whether VS stores the
> information on all the different SDKs in the registry or in a file.
> Concerning Windows Mobile they are stored in a config file called
> ${VSHOME}\VC\vcpackages\WCE.VCPlatform.config. Now I'm using a special XML
> parser engine derived from cmXMLParser to parse it and to get a vector of
> structs containing all the information, including the used instruction set,
> the exact SDK name, etc. I also removed the need for the additional command
> line flags. All the toolchain-based stuff moved into the generator, because
> the only important flag to set is the "WINCE" flag to access the platform
> specific files. Everything else can also be parsed from the SDK
> definitions. Also the compilers/assemblers are set in the generator itself,
> because basically it is just a change of executables within VS (because
> they are part of VS anyway). 

Does this actually influence the makefile generators in any way or is there 
information which could/should also be used by them ?

> Now I end up having a generator with a set of
> SDKs and, unfortunately, only one possibility to set "this->PlatformName"
> to one of the SDKs. 

Could this be done by setting a special cmake variable in the toolchain file 
(which is read very early) and which could then be evaluated by the 
generator ?

Alex
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to