On 09/03/2014 10:53 AM, Bach, Pascal wrote: >> Let's use a name specific to WindowsCE like "CMAKE_VS_WINCE_SDK", > > I'm not sure this is really Windows CE specific. There is already > an internal variable CMAKE_VS_PLATFORM_NAME that is set to Win32, > Win64, ARM etc. This is also the variable that gets set to the SDK > name. Currently this variable is set based on the Generator used, > but there is also some other magic going on for example for Itanium.
The fact that the PlatformName corresponds to an SDK is specific to WinCE tools. Other platforms may not have such correspondence. This is why I want to use a WinCE-specific name at first. We can generalize the name before merging the changes if it makes sense when its role becomes clear. > Would it be desirable to be able to override this value independent > of the generator used? I'm not sure what this would mean because the value is for a specific field in VS project files. > Based on your explanation and my findings above, the > CMAKE_VS_PLATFORM_NAME variable should behave analogues to > CMAKE_VS_PLATFORM_TOOLSET but I can't come up with a good > name for a variable the user should set. Yes. What I'm saying is the fact that a user can select this at all might be WinCE-specific. Hence a WinCE-specific name. -Brad -- 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