[cmake-developers] [PATCH] WINCE, VS: Allow selecting an SDK for Windows CE on Visual Studio

Bach, Pascal pascal.bach at siemens.com
Fri Sep 5 09:16:53 EDT 2014


>> Right, it gets called inside try_compile projects too.  Actually
>> the SDK information will have to be propagated into those too.
>> That means it needs to go in files like CMakeSystem.cmake or
>> CMakeCCompiler.cmake that are configured in the build tree,
>> or be explicitly propagated by cmMakefile::TryCompile like the
>> GeneratorToolset is.

> > With the current implementation I sent this seems to work and the SDK
> ends up in
> > The generated vxproj files for try compile.
> 
> I don't see anything in the patch that could do that.
> 
> CMakeDetermineCompilerId generates a test .vcxproj file that
> gets the value from CMAKE_VS_PLATFORM_NAME.  That one is in
> the CompilerId directory.  Is that the one you checked?
> It is not from a try_compile.
> 

I'm not clear what you mean.
As far as I understand the solution files that do try compile are generated using the same generator that generates the final solution file. So if I change it I it also gets into try compile. Maybe I'm missing something.

Pascal



More information about the cmake-developers mailing list