>> 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 -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers